Reply to topic  [ 1 post ] 
WeMos V2 Relay Shield (HCWEMO0005) 
Author Message
Site Admin

Joined: Sun Aug 05, 2012 4:02 pm
Posts: 633
Post WeMos V2 Relay Shield (HCWEMO0005)
Image





This relay shield is designed to be used with the WeMos mini & mini Pro ESP8266 based development boards (see item HCWEMO0002). Adding this shield to your WeMos mini development board provides it with the ability to switch high voltage, or high power devices from a single digital pin. Included with the shield is a set of header pins which can be optionally fitted (soldering required) to allow for the shield to be easily inserted and removed from the D1 mini.

Although this module is intended for use with the Wemos development boards it can of course also be used as a standalone relay module requiring a single 5V supply and one digital pin (5V & 3.3V compatible) to control it.



Image



Features:

NO: 5A(250VAC/30VDC), 10A(125VAC), MAX:1250VA/150W
NC: 3A(250VAC/30VDC), MAX:750VA/90W



Example Arduino Sketch:

Code:
/* WeMos relay example - HobbyComponents.com */
 
#include <ESP8266WiFi.h>
 
#define PIN D1 // Relay shield is controlled by digital pin D1
 
void setup()
 
{
  pinMode(PIN, OUTPUT); // Set the pin to an output
}
 
void loop()
{
  digitalWrite(PIN, HIGH); // Energise the relay
  delay(1000); // Wait for another second
 
  digitalWrite(PIN, LOW); // De-energise the relay
  delay(1000); // Wait for a second
}





Image


Schematic:
Attachment:
WeMos_Relay_Shield_HCWEMO0005_Schematic.pdf





Libraries, example code, and diagrams 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.


You do not have the required permissions to view the files attached to this post.


Tue Nov 22, 2016 11:17 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD