Introduction: ENERGY SAVER PROJECT USING MICROCONTROLLER - ATMEGA8A

About: I am a 16-year-old student from India. I love everything about Arduino and robotics. I have experience in solving day to day problems with the help of my coding skills and knowledge in electronics(mainly Ardui…

LINKS TO THE PROJECT: https://www.youtube.com/watch?v=KFCSOy9yTtE , https://www.youtube.com/watch?v=nzaA0oub7FQ AND https://www.youtube.com/watch?v=I2SA4aJbiYo

Overview

This ‘Energy Saver’ device will give you a lot of power / energy saving though a bit at a time. At present the device is connected with home fountain and it will be activated / de-activate based on the presence of some person in its vicinity (nearby). The range and duration for activation / de-activation can be programmed/ adjusted. This device may be used on various other home appliance also and for that imagination ‘Sky is the limit’. Some examples are ‘Bathroom Lights’, ‘Staircase Lights’, ‘Passage Lights’, ‘Exhaust fans’ installed in some basement or other confined places etc.

The main reason and inspiration I received for making this device / project is from the fact that the devices like fountains etc remained ‘turned on’ even after we move from the room, where they are running and this will not only waste energy in the form of power but also shorten the life of motors and other mechanism installed in that appliances / gadgets etc.

How it does the things

This device is using ‘ATMEGA 8A’ and PIR Motion Sensor for detecting human presence in the room or the area for which it is installed and activates/ ‘turn on’ the appliances (fountain in the present case) when some one comes in the proximity of the device / fountain say 7 feet and ‘turns it off’ when the person leaves the area. This way the device will save spillage of energy / electricity and also saves the life of the motor / lights installed in the fountain. This device will save little bit energy each time and in long run it will save a lot of energy.

This device is prepared using ‘arduino board’by burning the bootloader on ATMEGA8A chip(making a bridge for transferring the code of arduino into the Atmega8A chip). I have already uploaded instructable using aduino board separately (https://www.instructables.com/id/ENERGY-SAVER-PROJECTARDUINO-BASED ). I have made this project using a microcontroller because it will be more power conservative as its own power consumption is far less that arduino based device(because arduino itself needs power to function, where as the Microcontroller- ATmega8A’s power consumption is lesser i.e. 3 to 11 mA against 42mA of Arduino board.

To function the device properly, it may be placed in the proper place where no obstruction is between it and the open space of the room.

Step 1: Tools and Materials

Collecting the material (not much)

1. Amega8A chip

2. PIR Motion Sensor

3. Single Channel Relay

4. Arduino board for burning thew bootlader

Tools

· Screw driver for setting proximity range of the sensor and connecting relay.

Materials

· Jumper wire.

· Bread board for bootloading

· 2 pair wire and 2 Pins- (2 Male and 1 Female).

· 5v power source for atmega8A chip.

· 240v power for fountain.

· Female header pin

· Crystal of 16mhz

· 22pF Capacitor(x2)

Usb cable like in the circuit

Connector also

PCB BOARD

Optional

LED

Some photos are from other sources

Step 2: Design and Connections

Connect atmega to the components

ATMEGA8A PIN 4 --> PIR SENSOR OUT PIN

ATMEGA8A PIN 16 --> RELAY IN PIN

ATMEGA8A GND --> RELAY GND

ATMEGA8A GND --> PIR SENSOR GND

ATMEGA8A VCC PIN --> RELAY VCC PIN

ATMEGA8A AVCC PIN --> PIR SENSOR VCC PIN

ATMEGA8A AVCC PIN --> ATMEGA8A VCC PIN

ATMEGA8A GND PIN --> ATMEGA8A GND PIN

Step 3: Final Project Asembled

MADE BY : PRIYANSHU J UCHAT

Microcontroller Contest

Participated in the
Microcontroller Contest