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,391

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
49 projects • 397 followers
Prototype Hacker, Hackathon Goer, World Traveler, Ecological balancer, integrationist, technologist, futurist.
Contact
Shin Ae Hong
5 projects • 37 followers
Global Startup Incubation Specialist @Innoway
Contact

Comments

Please log in or sign up to comment.