Рет қаралды 246,852
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: github.com/SensorsIot/Definit...
Video about Phototransistors & -diodes: • Photodiode vs Phototra...
IR code databases: irdb.tk/ , github.com/probonopd/irdb
IR Receivers: s.click.aliexpress.com/e/3vnAUB6
IR Sensor: bit.ly/2BdXEEJ
IR LED & Photodiodes: bit.ly/2BcRd4G
IR LED & Photodiodes: s.click.aliexpress.com/e/rNnmIyZ
Reflective IR sensors: s.click.aliexpress.com/e/iYNBaUn
ESP32: bit.ly/2sOMR3E
Arduino UNO Clone: bit.ly/2tJE9Af
Interesting ESP8266 IR/MQTT project: github.com/enc-X/mqtt-ir-tran...
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
If you want to support the channel and buy from Banggood use this link to start your shopping: bit.ly/2jAQEf4 (no additional charges for you)
Official Wemos Store: s.click.aliexpress.com/e/jUzBiIq
profile.php?...
/ spiessa
www.instructables.com/member/...
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: www.paypal.me/AndreasSpiess