المدة الزمنية 18:20

171 Arduino Guide to Infrared (IR) Communication also for ESP32 and ESP8266

بواسطة Andreas Spiess
221 195 مشاهدة
0
5.8 K
تم نشره في 2017/11/26

Everybody talks about Bluetooth and Wi-Fi. But one heavily used technology is often forgotten: Infrared. Today we will remember this technology and bring it into the today's world of microcontrollers like ESP32 and ESP8266 and to technologies like MQTT and node-red. And as usual, we will dig a little into the basics. Today - We will use infrared rays to detect objects - And find a way to make the detector immune against interference from daylight - We will use standard photodiodes as well as IR receivers to detect IR signals and see the difference - Then we will use IR instead of LoRa or Wi-Fi to transport information over the air - We will enable an Arduino UNO to receive, learn, and send IR codes - We will port the IR library to the ESP32 and implement MQTT - Finally, we will build a device which can control our home appliances like TVs or Lights - This device should be able to receive signals from an IR remote controller and transfer them via MQTT to Node-Red Links: Sketches: https://github.com/SensorsIot/Definitive-Guide-to-IR Video about Phototransistors & -diodes: /watch/ME4jnrJgANDgj IR code databases: http://irdb.tk/ , https://github.com/probonopd/irdb IR Receivers: http://s.click.aliexpress.com/e/3vnAUB6 IR Sensor: http://bit.ly/2BdXEEJ IR LED & Photodiodes: http://bit.ly/2BcRd4G IR LED & Photodiodes: http://s.click.aliexpress.com/e/rNnmIyZ Reflective IR sensors: http://s.click.aliexpress.com/e/iYNBaUn ESP32: http://bit.ly/2sOMR3E Arduino UNO Clone: http://bit.ly/2tJE9Af Interesting ESP8266 IR/MQTT project: https://github.com/enc-X/mqtt-ir-transceiver Supporting Material and Blog Page: http://www.sensorsiot.org Github: https://www.github.com/sensorsiot If you want to support the channel and buy from Banggood use this link to start your shopping: https://bit.ly/2jAQEf4 (no additional charges for you) Official Wemos Store: http://s.click.aliexpress.com/e/jUzBiIq https://www.facebook.com/profile.php?id=100013947273409 https://twitter.com/spiessa https://www.instructables.com/member/Andreas% 20Spiess/ Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my main job If you want to buy me a coffee: https://www.paypal.me/AndreasSpiess

الفئة

عرض المزيد

تعليقات - 529