Tutorial: MH Sensor Series/KY-033/TCRT5000 + LCM1602 IIC V1 | UATS A&S #13
HTML-код
- Опубликовано: 13 июл 2024
- In this tutorial, it is shown how to use an IR distance sensor with an Arduino Uno. The todays sensor comes in many names: MH Sensor Series, KY-033 (variant with 3 pins), TCRT5000, etc.
Written tutorial: www.mschoeffler.com/2017/11/2...
Remark: Some variants of the module type, such as the KY-033, have only three pins. Typically, the A0 pin is missing. Moreover, the D0 pin is often labeled as S. If you own such a variant, this tutorial is still of use to you. Just ignore the part related to the A0 pin.
-- Arduino Uno
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
-- Jumper wires (female/male)
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
-- Breadboard
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
-- IR distance sensor
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
-- LCM1602 IIC V1 (LCD Module)
- Aliexpress: 1smart.click/search/st/ali/ms...
- Amazon: 1smart.click/search/st/azn/ms...
- ebay.com: 1smart.click/search/st/eby/ms...
Video Chapters:
0:00 Tutorial Introduction
0:25 Wiring IR Distance Sensor
2:00 Wiring LCD Module
3:21 Programming
4:59 Example demonstration
Credits:
Songs: Killing Time
Artist: Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
creativecommons.org/licenses/... Наука
pour lcd avec 16 pin j'ai pas une lcd i2c si possible
Can we use buzzer or led instead of display
Yes of course. Simply replace the LCD code by some code that enables/disables and LED.
Thank you