GithubHelp home page GithubHelp logo

ultrasound's Introduction

ultrasound

ultrasound's People

Contributors

linpoyu avatar

Stargazers

 avatar

Watchers

 avatar Dymnz avatar

ultrasound's Issues

Arduino due(Programming port V.S. Native USB port)

Programming port(function call)

  1. Sample rate is unstable
  2. Baud Rate is 115200

4

Programming port(while loop)

  1. Sample rate is unstable
  2. Baud rate is 115200

3

Native USB port(function call)

  1. Sample rate is stable
  2. BaudRate is over 115200

default

Native USB port(while loop)

  1. Sample rate is stable
  2. BaudRate is over 115200

2

Antenna

上次meeting老師說要在低頻一點,要可穿進人的身體,但沒有說要在什麼範圍,於是我有上網找到資料,是關於多少頻率才能穿進人的身體,大概幾百MHz就能穿過軟骨的部分。

About antenna(發送頻率越低,長度會增加(λ/2))

Low-frequency antenna(100MHz~999MHz)

  • Length is too long(指向性天線會因頻率越低,而長度和體積都滿大的)

  • There are few antennas on online store website

High-frequency antenna(1GHz~15GHz)

  • Volume is small(體積面積會較小)

  • There are a lot of antennas on online store website

因上述的理由,所以決定要買GHz的天線。
PS:老師有推薦的天線網站可以購買天線嗎? 老師要是有任何問題,再回覆給我,謝謝
林柏佑同學

ADC read interval

6 microseconds swing ±1 (on arduino)

readinterveltest

2 microseconds swing ±1(on matlab)
send 10000 data to PC by arduino
2 microseconds : 80%
1 microseconds : 19%
3 microseconds : 1%
adc intervel on matlab

I use SampleRateTest2 to know how many sample rate(208989、208990)

#include <stdint.h>

const int MaxSampleCount = 3000;
char buffer[100];

void setup() {
SerialUSB.begin(0);
while(!SerialUSB);
}

void loop() {
SamplingRateTest2(); // Test samples per second (while loop)
}

void SamplingRateTest2()
{
int sampleCount = 0;
int sensorValue;
int startTime = millis();

while(millis() - startTime < 1000)
{
sensorValue = analogRead(A0);
sampleCount++;
}
sprintf(buffer, "%d\r\n", sampleCount);
SerialUSB.print(buffer);
}

default

plot FFT

untitled

plot FFT (log frequency)

untitled1

arduino ADC sidelobe(Programming port)

Arduino adc sin wave(1kHz)
arduino adc sin wave 1khz

Signal after FFT(1kHz sine wave)
arduino adc sidelobe frequency domain

Periodogram using fft(1kHz sine wave)(log scale)
default

default

Arduino adc sin wave(40kHz)
untitled

untitled

Periodogram using fft(40kHz sine wave)(log scale)
untitled

untitled

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.