# oscilloscope-arduino-processing **Repository Path**: rigarch/oscilloscope-arduino-processing ## Basic Information - **Project Name**: oscilloscope-arduino-processing - **Description**: Oscilloscope 4 channels using Arduino and Processing - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-18 - **Last Updated**: 2022-01-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Oscilloscope using Arduino and Processing ### Description Sampling oscilloscope with 4 channels (voltages from 0 to 5V), with frequencies up to 3kHz. It has a PWM signal generator and a square wave output. It can also automatically identify the resistor or capacitor value using 3 scales for better approximation. The Garagino microcontroller was used, but it is fully compatible with the Arduino (www.arduino.cc). I used the programming language "Processing" (www.processing.org) to create the program on the computer. See a [demo] (https://www.youtube.com/watch?v=aw_kyDAiNak) on youtube. ### Oscilloscope Capabilities - Monitor up to 4 voltage channels (0 to 5V). - Can display frequencies up to 3kHz. - Stabilizes the wave on the screen using a simple trigger. - Identify the frequency of the wave using the best criterion (square or sinusoidal). - Scales: volts / division and time / division adjusted individually for each channel. - Tool to measure voltage and time in each channel. - Combined display of channels in XYZ. - PWM signal generator. - Measure resistor or capacitor values on 3 scales (automatically) ### For those who do not need to read values of Resistors and Capacitors (without electronic components) You can have the oscilloscope functions, the PWM signal, and the Square Wave generator using only the programs (unchanged) and the Arduino. ![Only Arduino and programs](./images/oscilloscope-pwm-squareWave-en.png ) ### The Oscilloscope [![Imagem do Osciloscopio](./images/0%20-%20osciloscopio.bmp)](https://www.youtube.com/watch?v=aw_kyDAiNak) ![Imagem do Osciloscopio](./images/rog-000005065.jpg) ### The circuit using Arduino ![Imagem do Osciloscopio](./images/oscilloscope-en.png ) ### The circuit using Garagino ![Imagem do Osciloscopio](./images/4%20-%20garaginoscopio_bb.jpg ) ### The resistor and capacitor reading circuit ![Imagem do Osciloscopio](./images/6%20-%20ler%20resistor%20e%20capacitor.jpg) ### The 74HC4052 CI (analog multiplexer) ![Imagem do Osciloscopio](./images/5%20-%20multiplex%20analogico%20hcf4052be%20-%20cd4052.jpg) ### The Processing program ![Imagem do Osciloscopio](./images/7%20-%20programa%20processing.jpg) ### Improvements for the future - Measuring voltages 110/220 Vac - Increase frequency capacity using more powerful microcontrollers. - Use bluetooth connection to connect oscilloscope to mobile phone (Android) ### Finishing I really enjoyed developing oscilloscope programs and hardware. I believe it has great potential for a more professional product.