Tell us about yourself!
Hello Ahmed,SW1a and SW2b on the schematic are 2 poles of the same physical switch, switched simultaneously (one to attenuate the signal, and the other to let the arduino know that the signal is attenuated, so it can adjust the scale).This project will not generate wave forms. You could use low voltage AC or audio for a demonstration. If you want to control frequency, shape and amplitude, you'll need (to build) an oscillator.Good luck!Bram
Hi Maryclair, What type of arduino did you use? If you have a voltmeter, try measuring between Aref and GND pin and between A0 and GND, to check if the voltage dividers and switches are set up correctly.
Hello Ahmed,Thanks! The UNO uses the serial port for communication over USB. This means less bandwidth than the micro, which uses native USB. It will work, but you probably won't get near 50k samples/sec.To display the output you can use the processing app (the download link is in the instructable).Best regards,Bram
Hi,You should open it in Processing 2 (scopep2.pde) or Processing 3 (scopep3.pde). You can download processing for free at processing.org. Good luck.Best regards,Bram
Hello,(Sorry for the late reply, It's been a while since I checked here.) It might have to do with power supply noise. Have you tried disconnecting your laptop and running it of the battery? Kind regards,Bram
You're right, one sample is 10 bits, plus two bits for the switches, but it is sent as 2 bytes for simplicity (and because it doesn't matter on an arduino micro, where the ADC rate is the limiting factor).
Someone on this thread claims his UNO goes up to 2Mbps. Perhaps the 115200baud is a limitation of arduino IDE's serial monitor?
Hello Nsoclo,50,000 samples/sec * 16 bits/sample = 800,000 bits per second.Regards,Bram