Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Txuas lub Circuit Court raws li qhia hauv daim duab
- Kauj ruam 2: Coding System
- Kauj Ruam 3: Coding Qhov Kev Kawm Kawg
- Kauj ruam 4: Xeem
Video: Arduino IR Sensor thiab Chaw Taws Teeb Nrog LCD: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Peb yog pab pawg ntawm UQD10801 (Robocon1) cov tub ntxhais kawm los ntawm Universiti Tun Hussein Onn Malaysia (UTHM)
Hauv qhov kev qhia no, koj yuav kawm paub yuav ua li cas tso saib cov nyees khawm ntawm IR chaw taws teeb rau cov kua siv lead ua kua (LCD) siv Arduino Uno R3. Qhov kev qhia no yuav raug simulated siv tinkercad. Koj tuaj yeem xa mus rau YouTube cov vis dis aus no ua piv txwv.
Khoom siv
1. Arduino Uno R3
2. Txuas cov xov hlau
3. Ua kua Crystal Display (LCD)
4. Potentiometer
5. IR sensor
6. IR chaw taws teeb
7. Cov qhob cij
8. Resistor (1kohm rau 10kohm)
Kauj ruam 1: Txuas lub Circuit Court raws li qhia hauv daim duab
Txuas cov xov hlau siv lub khob cij kom ntseeg tau tias ua kom muaj kev sib txig sib luag. Rau LCD, tus pin 2, 3, 4, 5, 11 thiab 12 yuav siv. Lub luag haujlwm ntawm lub zog ntsuas hluav taws xob yog tswj hwm qhov ci ntawm LCD. Koj tuaj yeem siv cov xov hlau sib txawv raws li qhia hauv daim duab kom taug qab cov pins ntawm Arduino. IR sensor yuav txuas nrog tus pin 7 ntawm Arduino.
Kauj ruam 2: Coding System
2 lub tsev qiv ntawv tau siv uas yog LiquidCrystal.h thiab IRremote.h. Thawj ntu ntawm kev sau npe yog txhawm rau nrhiav cov cai los ntawm txhua lub pob ntawm cov chaw taws teeb. Ua piv txwv, hauv tinkercad.com, cov cai uas tau xa los ntawm OFF/ON khawm yog "16580863". Qhov no txawv rau txhua lub khawm. Txhawm rau nrhiav qhov no, koj yuav tsum tsim kho qhov program kom pom txhua tus lej rau txhua khawm. Ib qho piv txwv tus lej tuaj yeem rub tawm hauv qab no raws li kev siv. Koj yuav tsum sau phau ntawv sau tseg txhua tus lej rau txhua lub pob los ntawm tus saib xyuas. Ua ke thiab xa cov cai rau Arduino thiab khiav cov kab ke. Kuaj rau txhua lub pob ntawm IR chaw taws teeb thiab sau cov lej rau txhua lub khawm rau yav tom ntej siv.
Kauj Ruam 3: Coding Qhov Kev Kawm Kawg
Thaum koj ua tiav kaw cov lej rau IR chaw taws teeb, koj tuaj yeem npaj mus rau txoj haujlwm kawg. Qhov no yuav suav nrog lub tsev qiv ntawv LiquidCrystal.h. Tus qauv piv txwv tuaj yeem rub tawm hauv qab no rau kev siv. Siv qhov "hloov" rooj plaub hauv qhov kev pab cuam toggle ntawm cov nyees khawm. Rau txhua rooj plaub hloov pauv, siv lcd.print los tso saib cov ntawv rau txhua lub khawm ntawm LCD ntxiv 0.5 vib nas this ncua thiab so; kom tawm ntawm qhov rov ua dua. Thaum koj ua tiav kev sau npe, ua ke thiab xa nws mus rau Arduino.
Kauj ruam 4: Xeem
Kauj ruam kawg yog ntsuas qhov program los ntawm kev qhib Arduino thiab sim los ntawm nias lub pob ntawm IR chaw taws teeb. Yog tias koj tsis tuaj yeem pom cov ntawv ntawm LCD, sim kho lub pob qhov rooj potentiometer. Muaj kev lom zem!
Pom zoo:
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: 7 Cov Kauj Ruam (nrog Duab)
Chaw Ua Si Chaw Taws Teeb Chaw Tswj Hluav Taws Xob Wireless 3D Luam Tsheb: Leej twg tsis nyiam twv txiaj? Sib tw thiab Sib ntaus hauv Ntiaj Teb Virtual ntawm Chaw Ua Si thiab Xbox !! Yog li, coj qhov kev lom zem rau lub neej tiag tiag Kuv tau ua Cov Lus Qhia no uas kuv yuav qhia koj li cas koj tuaj yeem siv ib qho Chaw Ua Si Chaw Taws Teeb Chaw Taws Teeb (Wired
DIY LED Teeb - Niaj Hnub Teeb Meem Teeb Nrog Cov Chaw Taws Teeb: 8 Kauj Ruam (nrog Duab)
DIY LED Teeb - Niaj Hnub Teeb Mood Teeb Nrog Chaw Taws Teeb: Hauv kab lus no kuv yuav mus hla cov txheej txheem Kuv tau siv los tsim qhov no zoo heev pyramid zoo li tus LED Mood Teeb.Kuv siv maple rau cov qauv tseem ceeb thiab qee qhov mahogany txhav ntxiv rau lub zog. Rau lub teeb Kuv siv RGB LED teeb uas tuaj nyob hauv 16 ko taw
Ordinary Cov Khoom Siv Hluav Taws Xob Hloov pauv mus rau Plaub-channel RC Qho Chaw Taws Teeb Chaw Taws Teeb: 4 Cov Kauj Ruam
Ordinary Cov Khoom Siv Hluav Taws Xob hloov pauv mus rau plaub-channel RC Toy Remote Control: 将 将 通用 遥控 器 转换 转换 玩具 玩具 模型 使用 的 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62 62方法 方法 非常。 只需 准备 一些 瓦楞纸 瓦楞纸 板 板 , , , 然后 然后
Cov Neeg Hlau Tswj Chaw Taws Teeb Siv Arduino thiab TV Chaw Taws Teeb: 11 Kauj Ruam
Kev Tswj Tus Neeg Siv Hluav Taws Xob Siv Arduino thiab TV Chaw Taws Teeb: Lub tsheb tswj chaw taws teeb no tuaj yeem txav mus los siv ib qho kev siv tej thaj chaw deb xws li TV, AC thiab lwm yam. los ntawm kev siv IR tus txais, uas yog lub ntsuas phoo pheej yig heev nyob rau hauv
Olympus Evolt E510 Cov Hluav Taws Xob Hluav Taws Xob Tshaj Tawm (Version 2 Nrog Pib Ua Haujlwm ntawm Chaw Taws Teeb): 6 Cov Kauj Ruam (nrog Duab)
Olympus Evolt E510 Cov Hluav Taws Xob Hluav Taws Xob Tso Tawm (Version 2 Nrog Pib Ua Haujlwm ntawm Cov Chaw Taws Teeb): Nag hmo Kuv tau tsim lub khawm yooj yim ib qho chaw taws teeb rau kuv Olympus E510. Cov koob yees duab feem ntau muaj lub khawm kaw (qhov uas koj thawb kom thaij duab) uas muaj ob hom. Yog tias khawm maj mam nyuaj siab, lub koob yees duab yuav pib tsom thiab ntsuas lub teeb