Image shown with ESP-01s module (sold separately) fitted.
This relay module is designed for the ESP-01s ESP8266 module. It features a 6 pin IDC socket designed to connect the ESP module without the need for any soldering. The relay can then be directly controlled via the ESPs GPIO0 pin. The relay is capable of switching up to 250V AC or up to a 5A load. Screw terminals provide convenient connection of module power (5V) and also to the relays NC, COM, & NO contacts. Also fitted to the module is a reset switch and an LED which indicates the state of the relay.
NOTE: This module is compatible with the ESP-01s. It is not compatible with the older ESP-01 version.
For a suitable ESP module please see item HCMODU0242 here:
[LINK TBA]
Features:
- Yellow socket: for ESP8266 ESP-01s
- Relay pin: GPIO0
- Active level: High level
- Operating voltage: 4.5-5.5V
- Operating Current (excludes ESP module): 70mA relay energised / 2mA relay de-energised
- Max Switching Voltage: 250VAC / 30VDC
- Max Switching Current: 5A
- Onboard relay LED indicator
- Reset button
- Great for DIY Smart socket Project
Example Arduino relay 'blink' sketch:
- #define RLY_PIN 0
- void setup()
- {
- pinMode(RLY_PIN, OUTPUT);
- }
- void loop()
- {
- digitalWrite(RLY_PIN, HIGH);
- delay(1000);
- digitalWrite(RLY_PIN, LOW);
- delay(1000);
- }
Diagrams, libraries, and example code are provided as an additional free service by Hobby Components and are not sold as part of this product. We do no provide any guarantees or warranties as to their accuracy or fitness for purpose.
Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.