Project showcase
Automatic Gesture Controlled Table Lamp for Study

Automatic Gesture Controlled Table Lamp for Study © GPL3+

Arduino automatic multiple light control system. Room light on, table lamp off. Room light off, table lamp on via gesture.

  • 596 views
  • 0 comments
  • 5 respects

Components and supplies

Apps and online services

About this project

Watch it in action

An Arduino and PIR motion sensor-based automatic multiple light control system. Room light on, table lamp off. Room light off, table lamp on. Perfect device for study. Control things by just waving at them!

I've built a PIR motion sensor based automated light / appliances project which can be found here. This project is a bigger version with relay to control 220V lights.

Features

  • Table lamp ON main light OFF
  • Table lamp OFF main light ON

Parts You'll Need

  • Arduino Pro Mini (or any board)
  • 2-channel relay module
  • Buzzer
  • PIR motion sensor
  • 220V to 5V converter
  • Wires
  • Hot glue

The Circuit Diagram

Making the Project

I've built a PIR motion sensor based automated light / appliances project which can be found here. This project is a bigger version with relay to control 220V lights.

Just added the lights switch wires to relays and powered the Arduino and relay module using a 220 to 5V converter - for that I've used a mobile charger which gives 5V in output.

Then I put the entire circuit into a plastic box. Note that I've made some tiny holes on the lid because the relay's get warm and it is needed to get some air.

Make sure to secure all the exposed wires and to cover them with glue gun for extra security.

Code

Uploading code to Arduino Pro Mini (5V 16 mHz)

The Arduino Pro Mini doesn't have USB programming option. So you may Upload code using a USB to TTL converter. Or you may use an Arduino Uno. We all have an uno right?

So let's upload code using an Arduino Uno.

  • Remove The ATmega IC from Uno (using a screwdriver, but be careful not to harm the IC)
  • Connect Arduino Pro Mini ------ Uno as following
  • Tx to Tx
  • Rx to Rx
  • Vcc to 5V
  • Gnd to Gnd
  • Rst to Reset

Then start arduino.ide and go to tools>board> select Arduino Pro or Pro Mini

Note: You can just upload code to Arduino Pro (5V 16 mHz) mini using Uno not the 3.3v one. Check before you buy one.

Download the code from the GitHub link and upload to Arduino. That's it.

Then power it up and enjoy. Thank you.

If you find difficulties working with PIR sensors, then click here for my PIR solution post.

previous project

Code

Automatic gesture controlled Table Lamp - Main light control system for study.Code
Code

Schematics

Automatic gesture controlled Table Lamp - Main light control system for study.Circuit
Circuit diagram
Circuit gojyykvros

Comments

Similar projects you might like

Gesture / Motion Controlled Automatic Appliances

Project tutorial by ashraf_minhaj

  • 1,577 views
  • 0 comments
  • 10 respects

Hand Gesture Controlled Robot

Project tutorial by Mayoogh Girish

  • 57,991 views
  • 78 comments
  • 71 respects

Gesture Controlled Robotic Arm Using Kinect & Arduino

Project showcase by Avinash Baranitharan and Karthikeyan

  • 8,553 views
  • 0 comments
  • 28 respects

Gesture Controlled Trainable Arduino Robot Arm via Bluetooth

Project tutorial by KureBas Robotics

  • 12,579 views
  • 43 comments
  • 108 respects

Integrated Solar ChargeController, Inverter, PowerBank, Lamp

Project tutorial by Shahariar

  • 8,621 views
  • 25 comments
  • 36 respects

LED Controlled by 3D Gesture Sensor

Project tutorial by HomeMadeGarbage

  • 6,200 views
  • 0 comments
  • 20 respects
Add projectSign up / Login