Wiring

All possible peripheral devices are shown in the picture. However, at least one of the supported distance sensors must be connected. The rest is optional.

A nodemcu was used in the picture. But it also works with other ESP8266 compatible boards like the Wemos D1 mini.

The ToF sensors are also connected to D1/D2 as an alternative to the ultrasonic sensor. Possible relay for switchable output must be connected to D4.

en_US