Cov txheej txheem:
- Kauj Ruam 1: Cov Txheej Txheem Qhia
- Kauj Ruam 2: Nws Ua Haujlwm Li Cas?
- Kauj ruam 3: Microcontroller Firmware Programming
- Kauj Ruam 4: Ultrasonic Distance Sensor Circuit Circuit Assembly
Video: AVR Microcontroller. Ultrasonic nrug Sensor. HC-SR04 ntawm LCD NOKIA 5110: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Nyob zoo sawv daws!
Hauv ntu no kuv ua cov cuab yeej siv hluav taws xob yooj yim txhawm rau ntsuas qhov nrug thiab cov ntsuas no tau muab tso rau ntawm LCD NOKIA 5110. Cov ntsuas tau muab tso ua daim duab thiab cov lej. Cov cuab yeej siv raws li lub microcontroller AVR ATMEGA328P. Cov cuab yeej tau nruab nrog lub ntsuas hluav taws xob ultrasonic nrug HC-SR04.
Kauj Ruam 1: Cov Txheej Txheem Qhia
Cov khoom siv yooj yim ntawm lub cuab yeej:
- Microcontroller AVR «ATMEGA328P»
- Monochrome Graphic LCD «NOKIA 5110»
- Ultrasonic nrug sensor «HC-SR04»
Microcontroller AVR «ATMEGA328P»
Koom nrog cov yam ntxwv:
- 16-ntsis Timer/Counter cuam tshuam
- Kev cuam tshuam sab nrauv
- Tswv/qhev SPI serial interface
Monochrome Graphic LCD «NOKIA 5110»
Kev qhia tshwj xeeb:
- 48 x 84 Dot LCD Zaub
- Serial Bus Interface nrog qhov siab tshaj plaws ceev 4 Mbits/s
- Internal Controller/Driver «PCD8544»
- LED Back-Light
- Khiav ntawm Voltage 2.7V-5V, siv hluav taws xob tsawg, nws haum rau kev siv roj teeb
- Kub ntau ntawm -25˚C txog +70˚C
- Txhawb Kev Teeb Meem CMOS
Ultrasonic nrug sensor «HC-SR04»
Nta thiab specs:
- Lub Hwj Huam: +5V DC
- Quiescent tam sim no: <2mA, ua haujlwm tam sim no: 15mA
- Kev ncua deb: 2cm - 400cm / 1 " - 13 ft, kev daws teeb meem: 0.3cm
- Ntsuas lub kaum sab xis: 30 degree
- Ua kom cov tswv yim mem tes dav: 10uS
- Loj: 45mm x 20mm x 15mm
Kauj Ruam 2: Nws Ua Haujlwm Li Cas?
Lub ntsuas hluav taws xob ultrasonic ua haujlwm ntawm lub hauv paus ntsiab lus ntawm SONAR thiab RADAR system uas yog siv los txiav txim siab qhov nrug mus rau ib qho khoom.
Lub tshuab ntsuas hluav taws xob ultrasonic tsim lub suab nrov (ultrasound) nthwv dej. Thaum qhov ultrasound no tsoo cov khoom, nws cuam tshuam raws li ncha uas tau hnov los ntawm tus txais raws li qhia hauv daim duab hauv qab no.
Los ntawm kev ntsuas lub sijhawm xav tau rau lub ncha mus cuag tus txais, peb tuaj yeem suav qhov deb.
Nov yog lub hauv paus ntsiab lus ua haujlwm ntawm Ultrasonic module ntsuas qhov nrug.
Hauv ultrasonic module HCSR04, peb yuav tsum muab lub plawv dhia, yog li nws yuav tsim hluav taws xob ntau zaus 40 kHz.
Tom qab tsim hluav taws xob piv txwv li 8 mem tes ntawm 40 kHz, nws ua rau tus ncha pin siab. Echo tus pin tseem nyob siab kom txog thaum nws tsis tau txais lub suab ncha rov qab. Yog li qhov dav ntawm tus ncho tus pin yuav yog lub sijhawm rau lub suab mus rau qhov khoom thiab rov qab los. Thaum peb tau txais lub sijhawm peb tuaj yeem suav nrug, raws li peb paub lub suab nrawm.
HC -SR04 tuaj yeem ntsuas txog li ntawm 2 cm - 400 cm
Tam sim no yuav xam li cas: nrug deb = Ceev x Sijhawm
Qhov nrawm ntawm lub suab tsis yog 343 m/s
Tag Nrho Ze = 343 x Lub Sijhawm Siab (Echo) 2
Tag nrho qhov nrug tau muab faib ua 2 vim tias teeb liab txav los ntawm HC-SR04 mus rau qhov khoom thiab rov qab mus rau tus qauv HC-SR04
Kauj ruam 3: Microcontroller Firmware Programming
Rub tawm С-code program ntawm firmware microcontroller nrog cov lus pom.
Tom qab ntawv suav nws rau HEX cov ntaub ntawv thiab xa mus rau lub cim xeeb nyem ntawm microcontroller.
Flashing Firmware rau Microcontroller:
Kev xa cov ntaub ntawv HEX rau hauv microcontroller flash nco. Saib cov vis dis aus nrog cov lus piav qhia ntxaws txog lub microcontroller flash memory burning: Microcontroller flash memory burning…
Kauj Ruam 4: Ultrasonic Distance Sensor Circuit Circuit Assembly
Txuas cov khoom siv raws li daim duab qhia chaw.
Plug lub zog thiab nws ua haujlwm!
Pom zoo:
Ntsuas Qhov nrug Nrog Ultrasonic Sensor HC-SRF04 (Tseeb 2020): 3 Cov Kauj Ruam
Ntsuas Qhov nrug Nrog Ultrasonic Sensor HC-SRF04 (Tseeb 2020): Tus ntsuas ultrasonic (nrug) yog dab tsi? Ib qho ultrasound (Sonar) nrog cov nthwv dej siab uas tib neeg tsis hnov. Txawm li cas los xij, peb tuaj yeem pom pom muaj cov nthwv dej ultrasonic nyob txhua qhov chaw. Hauv cov tsiaj xws li puav, ntses taub ntswg ntev … siv ultrasonic nthwv dej kom
Ua kom muaj kev sib nrug deb ntawm lub dav hlau tooj liab thiab Cov Cim Cim: 3 Kauj Ruam
Ua kom pom kev deb ntawm lub dav hlau tooj liab thiab Cov Cim Cim: Kuv yog tus nyiam ua haujlwm thiab kuv tsim Cov Ntawv Luam Circuit Court (PCB) rau kuv cov blog thiab Youtube Videos. Kuv xaj kuv li PCB online los ntawm LionCircuits. Nws yog lub tuam txhab Indian thiab lawv muaj lub tshuab siv tshuab rau kev tsim khoom. Nws cia li tshuaj xyuas koj Ger
DIY nrug nrug Nrog OLED Zaub: 4 Kauj Ruam
DIY Distance Meter Nrog OLED Zaub: Hauv qhov kev qhia no peb yuav tsim lub ntsuas nrug deb uas yuav tso cov txiaj ntsig ntawm OLED zaub. Txog qhov haujlwm no koj tuaj yeem xaiv siv ardiuno lossis ESP8266 module thiab kuv yuav muab cov cai rau ob qho tib si. Yog tias koj siv ESP826
Kev ntsuas kub thiab teeb pom kev zoo nrog rau ntawm LCD NOKIA 5110: 4 Cov Kauj Ruam
Kev ntsuas kub thiab lub teeb ntsuas nrog rau ntawm LCD NOKIA 5110: Nyob zoo txhua tus! Hauv ntu no peb ua cov cuab yeej siv hluav taws xob yooj yim los saib xyuas qhov kub thiab txias. Kev ntsuas ntawm cov ntsuas no tau muab tso rau ntawm LCD NOKIA 5110. Cov cuab yeej siv raws li lub microcontroller AVR ATMEGA328P. Kev saib xyuas
AVR Microcontroller Fuse Cov Khoom Kho. Tsim thiab Tshaj Tawm hauv Flash Nco ntawm Microcontroller LED Blinking Program: 5 Kauj Ruam
AVR Microcontroller Fuse Cov Khoom Kho. Tsim thiab Tshaj Tawm hauv Flash Nco ntawm Microcontroller LED Blinking Program: Hauv qhov no peb yuav tsim cov phiaj xwm yooj yim hauv C code thiab hlawv nws mus rau hauv lub cim xeeb ntawm microcontroller. Peb yuav sau peb tus kheej txoj haujlwm thiab suav sau cov ntawv hex, siv Atmel Studio ua kev txhim kho kev sib koom ua ke. Peb yuav teeb tsa fuse ob