통신 > Simple AVR digital scope

TODAY142 TOTAL2,227,472
사이트 이용안내
Login▼/회원가입
최신글보기 질문게시판 기술자료 동영상강좌

아두이노 센서 ATMEGA128 PWM LED 초음파 AVR 블루투스 LCD UART 모터 적외선


BASIC4MCU | 통신 | USB | Simple AVR digital scope

페이지 정보

작성자 키트 작성일2017-09-01 11:20 조회1,723회 댓글0건

본문

 Ceska verze 

Simple AVR digital scope

    Introduction: 
This is probably the simplest possible digital oscilloscope. It allows both the single measurement and real-time measurement and external and internal triggering. This scope is suitable for measuring everything from very slow phenomena (period to 8 days) after the frequency in the tens of kHz. The oscilloscope is equipped with a PAL TV output (composite video). To view, use any TV with Composite video input (CRT, LCD, ...). 
    Schematic: 
On Fig. 1 you can see the schematic of this simple scope. The basis of the digital oscilloscope is integrated circuit IO1 - Atmel AVR microcontroller ATmega88, ATmega88A, ATmega88P or ATmega88PA. Program is free to download below. The picture below is also shows the setting of the configuration bits. IO1 circuit is clocked at its maximum frequency of 20 MHz, obtained from an external oscillator with a crystal or ceramic resonator. The measurement utilizes the internal analog-to-digital converter (ADC). The measured signal enters the ADC0 input (pin 23). As input for external trigger PCINT18 (pin 4) is used. Keyboard consisting of 5 buttons is connected to the ports PC1...5 The circuit uses an internal voltage reference, so the AREF pin is connected only to a blocking capacitor C4. PAL output signal is generated using a simple 2-bit digital-to-analog (DA) converter made up of R1, R2 and R3 connected to PD5 and PD6. The converter generates four voltage levels, corresponding to the level of synchronization, black, gray and white. In case of wrong signal level can be adjusted R3 or R1 and R2. However, it is necessary to maintain approximately the relation R1 = 2x R2. Video frame rate is 50Hz and line frequency is 15.625 kHz. White level corresponds to the voltage around 1V. Capacitor C3 should be placed as close to pins 7 and 8 and C5 closest to pins 20 and 22 The circuit is powered from a supply of 5V +/- 10%. 
    Parameters: 
The time base is in the range of 50us - 6h / div chosen in steps. Measurement time is up to 8 days. Total 960 samples are scanned. Screen resolution with frame and OSD: 242 x 264, resolution of measurement window: 240 x 256, measuring area resolution: 960 x 256 (measuring area can be scrolled). Sensitivity is 0.2 V / div. The divider can obtain additional levels of vertical sensitivity. 
    Control: 
Use the up and down buttons to set the time base in steps from 50us/div to 6h/div. Use the left and right to scroll the measuring area. At the bottom of the screen theres the OSD display. It contains a slider showing the actual scroll position. Next to it there is displayed the current time base. Pressing TL1 starts single measurement. Ongoing measurement is indicated by an arrow on the OSD. After the one-time measurement arrow disappears. If you connect the external trigger input, the circuit waits for the leading edge of the external trigger input after pressing TL1. While waiting the symbol "E" (external trigger) appears on the OSD. Rising edge starts the measurement. Hold down TL1 longer than 1 second to start measuring in real time. This is indicated by a triangle (Play symbol) on the OSD. In real-time mode, the trace on the screen is constantly refreshed. Real-time mode can be stopped by briefly pressing TL1. During the measurement, the slider also shows the measurement position indicator (When the short time base set, it may not be visible, as well as an arrow indicating an one-time measurement). Long press of the up, down, left and right allows quick transfer between different time bases and fast scrolling. 

The program for free download:
Source code in assembler (ASM) 
Compiled HEX file (4 606 Bytes) 

I can send you the programmed microcontroller. For more info click here.

3660040649_deEP3WSZ_avr_osc.png
Fig. 1 - Schematic of the siplmest scope with AVR ATmega88(P)(A). 

3660040649_msTP5rDG_avr_osc_b.png
Configuration bits settings. 

3660040649_6YJFnugz_avr_osc01.jpg
AVR scope tested in the breadboard. 

3660040649_hROw5SJY_avr_osc02.jpg
AVR scope connected to a small CRT tv. The signal from a remote control, 2ms / div. 

3660040649_pZLDhVnC_avr_osc03.jpg
Slow measurement, signal made by a pot, 1s / div 

3660040649_LsjIhBkR_avr_osc04.jpg
AVR scope connected to an LCD tv, time base 6h / div, single shot - waiting for external trigger. 

3660040649_zxVNI0AP_avr_osc05.jpg
Real time display, 5ms / div, showing 50Hz sine wave. 

ADD VIDEO HERE !!! 
Video 

 

Added: 11. 11. 2012 
home




Welcome to my website danyk

   NEWS:

-Website moved to from "danyk.wz.cz" to "danyk.cz". Please fix your links - the redirect from old domain probably won't work forever. Thank you.
-English version of this website is still under construction. Some articles are available in Czech only. They are in italic
JUST STARTED: Find your IP address
JUST STARTED: Reverse phone number lookup - find who calls you
JUST STARTED: Online unit conversion
JUST STARTED: Online cloth & shoe size conversion
JUST STARTED: A bit of mathematical insanity

    ELECTRONIC SCHEMATICS AND INSTRUCTIONS:

   high voltage danger High voltage:

3 phase arcs with 9 MOTs 
Multi-mini High Voltage Transformer 
Jacob's Ladder with 4 MOTs 
6 MOTs two phase HV supply 
HV supply with Integrated driver ignition coil 
Adjustable stabilized switching high voltage supply 7-55kV 
3-phase high voltage supply with 6 MOTs 
Single MOT resonance arcs 
The simplest power supply for Tesla coil with one MOT 
Tesla Coil power supply with two MOTs (4200 Vac 0.7 A) 
Two MOTs high voltage power supply (4200 Vac 0.9 A) 
Stun gun (taser) 
120kV Multiplier 
80kV supply with TV transformer and multiplier 
Mains voltage arcs 
Kirlian photography 
Plasma in a jar (fusor) 
Marx generator 240 000 V 
Jacob's ladder with 12kV 300W supply 
40kV DC high voltage supply 
Simple 60kV DC high voltage supply 
Mains operated 20kV switched power supply 
High frequency high voltage supply 
Homemade plasma globe (ball) 
Homemade plasma globe (ball) with EMI shield 
Miniature high frequency high voltage supply

   TC - tesla coil:

Spark gap Tesla coil (SGTC): 
Mini SGTC - Miniature spark gap Tesla coil
SGTC I. - Small Tesla coil 
SGTC II. - Small Tesla coil II
SGTC III. - Middle Tesla coil 
SGTC IV. - Bigger Tesla coil 
SGTC V. - My biggest Tesla coil 
Solid state Tesla coil (SSTC, ISSTC): 
SSTC I. - Solid State Tesla Coil 
SSTC II. - Solid State Tesla Coil with ion motor 
SSTC III. - Transistor tesla coil with 50Hz/100Hz/DC operation and ion pendulum (propeller) 
SSTC IV. with IGBT 

ISSTC I. - Single switch SSTC with interrupter 
ISSTC II. - SSTC with interrupter 
ISSTC III. - Simple low supply voltage ISSTC 
Vacuum tube Tesla coil (VTTC): 
Plasma flame - high current VTTC 
Audio VTTC - Audio modulated vacuum tube tesla coil 
VTTC I. - Big vacuum tube tesla coil with GU81 
VTTC II. with RE025XA (4CX250B, SRL460) 

   IGBT - high power supplies:

Switched 4kV 2000W supply with IGBT
Switched 40kV 1500W High voltage supply with IGBT and 2 LOPT's
IGBT halfbridge 20-200kHz with overload protection 
High voltage Tesla coil supply with IGBT 
Push-pull inverter with BUP213 IGBT 

   Switch mode power supplies (SMPS):

Simplest switching power supply ever with TNY263 - TNY268 
3.4V 2.5A supply with optocoupler
14.5V (8 - 18V) 0.4A supply with optocoupler 
12V 5A switched power supply 
12V and 90V switched power supply with UC3842 
Simple non-regulated supply 2x 35V 350W for audio amplifier 
Switched power supply 2x 35V 350W 
Welding inverter up to 100A 
Electronic halogen transformer 
Switched current power supply for 1W - 5W LED diode 
High power adjustable switching power supply (SMPS) 3-60V 40A 
Single transistor switching supply without optocoupler 
Very high current power supply (spot welder or car engine starting supply) 

   Voltage converters:

12V / 325V 150W DC/DC converter 
Universal DC / DC converter 
12V / 15-21V car inverter for notebook 
Multiphase synchronnous buck (step-down) converter 
12V / 230V 50Hz square wave inverter with 555 
12V / 230V 50Hz square wave inverter with IR2153 
12V / 230V 50Hz modified sine wave inverter 
Switching (transformerless) 12V / 230V 150W modified sine wave inverter 
Single cell (1.2 or 1.5V) LED inverter (Joule thief) 
12V fluorescent tube inverter 4 - 65W with high efficiency 
Electronic ballast for fluorescent tubes 8 - 144W 
CCFL inverter 

   Induction heating:

Induction heating I. 
Induction heating II.
Induction heating III. with IGBTs 

   Lasers:

Laser diodes from CD-RW drives can cut and burn! 
Laser diode from CD-RW igniting matches
Powerful laser diodes from DVD-RW drive
1W 808nm infrared laser diodes 
1W 445nm blue diode laser 
Helium-neon (HeNe) lasers 

   Transmitters:

1W 7MHz (40m) AM Transmitter 
5W 7MHz (40m) AM Transmitter 
5W 14MHz (20m) AM Transmitter 
1.5W 88-108Mhz FM Transmitter 
88-108 MHz FM covert listening device (bug) 
Single transistor Miniature FM transmitter with VCO 
Simple television transmitter 

   Radio receivers:

Simple vacuum tube audion 
Simple transistor audion 

   Amplifiers:

Vacuum tube preamplifier
Stereo vacuum tube audio amplifier 
Stereo vacuum tube amplifier 2x 5W 
Vacuum tube amplifier in class A
Simple audio amplifier 2x 100W RMS 

   Videotechnic:

Vacuum tube monitor with 8LO29M CRT 
Vacuum tube monitor with 13LO3I CRT and sound 

   Insect and animals:

Ultrasonic insect and rodent repellent 
Powerful ultrasonic repeller of insects, rodents and martens with periodicly changing frequency 
Electric insect zapper (killer) 
Electric insect zapper (killer) II. 
Electric fence 

   DJ's:

LED strobe light (stroboscope) 
Stroboscope 
Stroboscope with oscillator 
Simplified stroboscope with oscillator 
Stroboscope with optoisolated external input 
Various sound generators and sirens 
Simple audio mixer 

   PC accessories:

PC remote controlling with any remote controller 
IrDA infraport for PC with TFDU4100 (motherboard connected)
Simple joystick / gamepad for PC 

   Illegal (never try this at home):

Telephone wire tapping 

   For household:

Infrared ON-OFF remote control 
Remote control ove

댓글 0

조회수 1,723

등록된 댓글이 없습니다.

통신HOME > 통신 > USB 목록

게시물 검색

2022년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2021년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2020년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2019년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2018년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
Privacy Policy
MCU BASIC ⓒ 2020
모바일버전으로보기