TTL Arduino yog dab tsi?
TTL Arduino yog dab tsi?

Video: TTL Arduino yog dab tsi?

Video: TTL Arduino yog dab tsi?
Video: Programming the new ATtiny from Arduino using UPDI [Beginner Tutorial] 2024, Tej zaum
Anonim

Hom kev sib txuas lus serial no qee zaum hu ua TTL serial (transistor-transistor logic). Serial kev sib txuas lus ntawm a TTL theem yuav ib txwm nyob nruab nrab ntawm qhov txwv ntawm 0V thiab Vcc, uas feem ntau yog 5V lossis 3.3V. Alogic siab ('1') yog sawv cev los ntawm Vcc, thaum lub logic qis ('0') yog 0V.

Ib yam li ntawd, nws tau nug, qhov chaw nres nkoj TTL yog dab tsi?

A TTL Teeb liab yog ib hom kev kho vajtse interface qauv raws li cov khoom hluav taws xob ntawm TTL (Transistor-Transistor Logic). Rau ib TTL input qhov no txhais tau hais tias txhua yam hauv qab no 0.8 volts yog "zero" thiab txhua yam saum toj no 2.4 volts yog "ib qho," thiab hais tias nws nthuav tawm qhov load tsawg dua 1.6ma rau lub voj voog tsav tsheb.

Dab tsi yog qhov txawv ntawm TTL thiab rs232? Cov TTL interface twb tsawg polarity txawv yog tias lub teeb liab poob tsuas yog 2 volts. Txawm tias cov TSI RS232 txheem txhais TSI RS232 los ua ib tug tseeb TSI RS232 interface, thiab TTL yeej tsis ua raws li cov TSI RS232 standard, nyob rau hauv kev xyaum feem ntau ntawm cov TSI RS232 serial ports peb txuas scanners rau yog TTL chaw nres nkoj.

Cov lus nug tseem yog, TTL UART yog dab tsi?

UART = Universal AsynchronousReceiver/Transmitter. Nws yog lub hauv paus nti (los yog virtual muaj nuj nqi hauv microcontroller) uas encodes cov ntaub ntawv cov khoom serially rau hauv astandard hom ntawv nrog ib tug pib me ntsis, nres me ntsis (s), ceev, thiab lwm yam. TTLUART yuav tso zis (thiab input) nkaus xwb TTL theem, qhov tseem ceeb 0 ntsis = 0V thiab 1 ntsis = 5V.

Dab tsi yog kev siv serial pib 9600 hauv Arduino?

Raws li lub npe qhia, xwm txheej . pib ( 9600 ) yog ib lo lus txib uas koj muab rau koj Arduino rau pib serial kev sib txuas lus. Kuv massuming koj yog ib tug beginner. Txawm li cas los xij, raws li koj tuaj yeem pom ntawm IDE, muaj ib qho xwm txheej saib xyuas. Nws outputs cov ntaub ntawv uas koj configure nws mus tso zis.

Pom zoo: