“It is like a mini atom bomb, In a piece of single code you will get a lot of features and I fully respect the effort of the owner.
I made 2 different oscilloscope and these are featured on this platform. And now I came up with an idea of dual channel oscilloscope. This one has main microcontroller as Arduino and 1.3” OLED display. This time I also have battery operating options and onboard charging circuit also. You can make this on breadboard first and then go with my PCB layouts given below.
This is not only the scope, also have some extra features of DDS_PWM (function generator with 8 different waveforms), Pulse generator and frequency counter. I find this project on a Japanese webpage, but all the explanation is here for you guys.
The max real time sampling rates are 17.2ksps with 2 channels and 307ksps with a channel. The max equivalent time sampling rates is 16Msps with single channel.
- Single-channel -30Khz bandwidth
- Onscreen- Volt/Div and Time/Div
- Duty cycle monitoring
- Small 1.3 inch I2C
- AC/DC measurements option
- Mode changing, Hold state features
- Dual channel Switching mode
- Pulse generator option
- DDS_PWM waveform generator
- Frequency counter
- Low battery consumption
- Portable and pocket-sized
This project is only for educational purposes and shows the capabilities of a 16Mhz 8-bit microcontroller board. This MCU Can support frequencies below 50KHz, so it can’t be applicable for commercial and professional uses. That way, the project can also be entitled POOR MAN OSCILLOSCOPE for me. Also I found this helpful in project related to audio frequency below.
1.3 -inch OLED display with I2C function comes with two different models, SSD1306 and SH1106, to change the code as per requirements. We have to uncomment which version of LCD we are using in this project. And the screen is able to represent the nature of the wave with duty cycle and frequency in two channels.
- Arduino Nano
- 1M resistors
- 10k resistors
- 1.3 inch OLED display
- 100nF capacitors
- 4 tactile buttons
- 5v power supply”