STEP 1: Circuit Diagram
Components
ATmega16
MAX232
0.1uf Capacitor —– 4pcs
DB9 Connector
7805 for 5v power supply
STEP 2: Programme Code
(Compile using Codevision AVR & Burn in Atmega16 )
STEP 3: Here We have used ADC5 of ATmega16 so connect the signal input in ATmega16 PIN no 35.
STEP 4: INTERFACE WITH PC USING MATLAB
RUN This code powering up the circuit ur home made CRO is read. (Make sure all grounds are common otherwise it will not work)
For more detail: AVR Based CRO using Atmega16 microcontroller