Няма описание

Fabian Peter Hammerle 2ad012956b readme: mention rgco's "Multichannel Arduino Oscilloscope" as potential alternative преди 3 години
.gitattributes b90943a0ff added photos of arduino setup преди 3 години
.gitignore f1aff33cd1 remove unused version.h преди 3 години
20201223T220611.jpg b90943a0ff added photos of arduino setup преди 3 години
20201223T220636.jpg b90943a0ff added photos of arduino setup преди 3 години
Makefile 1fdd81f5b4 arduino: report analog reading of pin A0 once per second as unsigned 16bit int via serial port преди 3 години
README.md 2ad012956b readme: mention rgco's "Multichannel Arduino Oscilloscope" as potential alternative преди 3 години
arduino-sketch.ino 001d4ea4b0 increase sample rate from 500 to 1000 Hz (measured 988 Hz) преди 3 години
display.py~ c62de7ddb6 replace python display script with gnuradio flowchart; increase sample rate to 400Hz преди 3 години
epy_block_0.py d8d70656a0 flowchart: added voltage divider преди 3 години
scope.grc 001d4ea4b0 increase sample rate from 500 to 1000 Hz (measured 988 Hz) преди 3 години

README.md

alternatives:

rgco: Multichannel Arduino Oscilloscope

The 16MHz Arduino clock is too fast for the ADC to operate properly, therefore it needs to be prescaled. Prescale factors of 1 (no prescale) to 128 can be selected. By default, the Arduino IDE sets the prescale to 128, resulting in an ADC-clock period of 128/16MHz=8 microseconds, and thus a sampling period of 13*8=104 microseconds. Many tests have shown reducing the prescale to 16 results in only a slight loss of precision, while even faster clocks result in garbage.

The Arduino ADC can be operated in single acquisition or free running mode. The standard analogRead() function does a single acquisition and returns the value when the ADC is ready. […], it is also possible to use a loop and poll for the ADIF flag which indicates that the ADC reading is complete, […]

pcscope (source)

By default, the ADC configuration of the Arduino gives samples every 116µs. So here the ADC is configured with additional lines of code to get samples faster than 85µs by setting the prescaler to 16. With this, you get ADC conversion every 20µs, […]