Sunday, March 20, 2016

Two Desk Lamps controlled by Chronos Watch

How to set up appliances that can be controlled by a watch with Arduino:
by J.B. Wylzan



The Red and Green LEDS represent house appliances
or your Car ignition system

Hardware:
2 Relay Module
2 Leds (your appliances)
2 resistors
connecting wires
breadboard
Arduino R3 UNO board



Block Diagram:

NOTE: The RGB Led represents house appliances





ARDUINO SKETCH:

/* ===============================================================
      Project: Relay controlled by a watch
      Author: J. B. Wylzan with some help from Texas Instrument
      Website: http://www.ihackrobot.blogspot.com
      Abstract: Control any appliances via a chronos watch.
================================================================== */

HINT: The codes can be found on some of our projects here. However, Codes 
were intentionally NOT POSTED due to the electrical risk that you might 
encounter.

However, I will give you the PROCEDURE how to make it:
1. Initialize your Led1(red) and Led2(green)
2. Activate your serial communication
3. Do an if-Else statement on your Loop()
4. If 1 red Led is turned ON
5. If 2 green Led is turned ON
6. Else if 3 both leds are turned OFF
7. Upload program
8. Open Serial Monitor
9. Type 1,2, or 3 to turn On and Off the Leds
10. Activate your Chronos Control Center (project 30).



DANGER:
Make sure to ask for professional advice when you are using any
appliances rated 220V or 120V. Unplug any electrical supplies
when working on your projects. Wrong handling of such may cause 
electric shock, fire or worst death. BEWARE!


Controlling your bedroom desk lights
using a chronos watch




Disclaimer:  We shall not be liable for any loss or damage of whatever nature - direct, indirect, consequential, or otherwise - which may arise as a result of your use of any information on this website. However, if you are interested in using any of the projects for personal or educational purposes, please inform the author by email. 

Public Domain Notice: Copyright (c) 2000. All rights reserved. This article is part of a book entitled iHackRobot. Copies are welcome to be shared or distributed publicly as long proper citations are observed. Please cite as follows: Biotronics: The Silver Species, Joey Lawsin, 1988, USA.

================================================================== 
The Homotronics® and Homodruinos® logos are registered trademarks.
Copyright Biotronics© Inc. iHackRobot®. All Rights Reserved.
Patent Pending. 2000 © ®

L.A.W.S.I.N. Educational Production
 ================================================================== 





No comments:

Post a Comment