Peter MaShin Ae Hong
Published © GPL3+

WIZnet S2E Deadbolts

Unlocking the deadbolt via Ethernet using WIZ750SR S2E, your WiFi network is now the key to your lock.

IntermediateFull instructions provided10 hours5,383

Things used in this project

Story

Read more

Schematics

Arduino UNO to WIZ750SR

Arduino UNO to WIZ750SR

Code

Arduino S2E receiver code

Arduino
Arduino S2E receiver code
#include <SoftwareSerial.h>
const int relayPin =  6;      // the number of the Relay
SoftwareSerial mySerial(0, 1); // RX, TX
void setup() {
 // initialize the LED pin as an output:
 pinMode(relayPin, OUTPUT);
 Serial.begin(9600);     // opens serial port, sets data rate to 9600 bps
 while (!Serial) {
   ; // wait for serial port to connect. Needed for native USB port only
 }
 //S2E is using 115200 from previous steps
 mySerial.begin(115200);
}
void loop() {
 if (mySerial.available()) {
   if(mySerial.read() == 49)
   {
     digitalWrite(relayPin, HIGH);
     Serial.println("on");
     delay(5000);
     digitalWrite(relayPin, LOW);
     Serial.println("off");
   }
 }
 delay(100);
}

S2E Deadbolt Repo

Entire repo for Android and Arduino code for S2E Deadbolt

Ricky Kwon's installation guide

Ricky Kwon's installation guide

Credits

Peter Ma

Peter Ma

49 projects • 393 followers
Prototype Hacker, Hackathon Goer, World Traveler, Ecological balancer, integrationist, technologist, futurist.
Shin Ae Hong

Shin Ae Hong

5 projects • 35 followers
Global Startup Incubation Specialist @Innoway

Comments