I needed something that would act as a detector on a double slip, which is a comparatively short length of track and ended up looking at light dependent resistors (LDRs), also known as photoresistors, or photocell resistors.
The ESP32 LDR tutorial referenced in the video esp32io.com/tutorials/esp32-l...
The LDR class and sample sketch used in the video github.com/Vintage80sModelRai...
I've created a repo for all of my current live node sketches across the Arduinos, ESP32s and Galileos. All of them are written in the Arduino IDE.
github.com/Vintage80sModelRai...
The LDRs I bought (no affiliate links) www.ebay.co.uk/itm/404362187416
#modelrailways #modeltrains
Негізгі бет Using Light-sensitive Resistors (LDRs) for detecting occupancy of short blocks on a model railway
Пікірлер: 28