Entropy Reduction
Personal log of yet another digital native.
Project maintained by
andre-abadi
Hosted on GitHub Pages — Theme by
mattgraham
Purpose
Run an ESP-01S-Relay board with a D1 Mini
References
ESP-01 and ESP-01S: How program and use the Pins and Leds
Which gpio are pull-up on Wemos D1 mini ?
What’s the difference? – ‘Active High’ and ‘Active Low’ Relay Boards
ESP-01S Relay v1.0 Schematic.pdf
Actions
Powered the relay with its usual 5V
Wired D2 from the mini to GPIO0 on the socket board of the relay
Used the below code: ```yaml switch:
platform: gpio name: “Garage Door Relay” restore_mode: ALWAYS_OFF pin: D1 ```
This did not toggle the relay
Enabled internal pullup resistor from readings of Active High references ```yaml switch:
platform: gpio name: “Garage Door Relay” restore_mode: ALWAYS_OFF pin: number: D1 mode: INPUT_PULLUP ```
Tried D2, no change, hence it does not appear to be related to the pinout of the mini
Reflections