Two Microcontrollers Speaking, All It Wants is an LED


There are some initiatives that appear at first sight to be straightforward, however anybody who tries them finds a complete heap of surprising issues and turns to the off-the-shelf system. PCB antennas for instance, or information hyperlinks utilizing LEDs, whether or not IR or seen. The latter doesn’t faze [Luca Soltoggio] although, as a result of he has two ESP32s talking to each other using visible light. Best of all, each use a single LED as each transmitter and receiver.

The software program is named SecurePair, and is an Arduino library for exchanging keys and speaking with encryption. The LEDs are the cool {hardware} hack nevertheless it’s designed to work with ESPNow or LoRa too, certainly a typical use case would see mild for pairing and wi-fi for the trade of encrypted information.. In case you have been questioning, it depends on the property of an LED that it’s additionally a photodiode of types. Best of all, whereas the examples have two ESP32s, it’s not restricted to that quantity and lots of extra can be part of the dialog if wanted.

Check out the video under to see it in motion — if you happen to’re inquisitive about LEDs as sensors, we’ve been there too.



Source link