Relay Board Arrived

USB->Serial four channel relay board arrived on Friday and got a chance to start playing with it over the weekend.

Currently one relay is used to locking/unlocking the front door and the second for switching power to the amp which runs the Kitchen speakers. Deck amp and an extraction fan to cool the rack will most likely fill the last two.

Relays all off
All relays on
Relays wired up in the cupboard

Unit is nice and easy to control simply a case of sending the ASCII character for the command you want to the serial port.

Table of commands

I’m using Home Control assistant running on a Windows 7 virtual machine which allows control of Insteon, X10, serial and IP devices. Below is the interface on the PC.

Home control assistant running on the Windows 7 VM

For opening the door it runs this small script/program which unlocks the door then waits 5 seconds before locking the door allowing you time to open it.

Visual program for opening the door
Command for sending data to the serial port

And here is the interface on Android.

View of the Front Yard on the Android app
View of the Kitchen on the Android app

Other end connected to the electric strike lock. Apply 12v and the tongue moves freely.

Electric Strike lock wired up.

Can read more on the install of the lock here.

RFID parts still are yet to arrive which is the final step for the lock.

 

Leave a Reply

Your email address will not be published. Required fields are marked *