Showing posts with label wireless home automation. Show all posts
Showing posts with label wireless home automation. Show all posts

Wednesday, 7 February 2018

Interfacing HC-05 with Atmega8

In this post, we will interface bluetooth module (HC-05) with atmega8. Atmega8 is a 28-pin IC and it has three ports viz., PORTB, PORTC and PORTD and it has total 23 gpio pins. It has internal rc oscillator, that is user selectable from  1, 2, 4 or 8 MHz.

We are using 8 Mhz internal rc oscillator.

Compiler Used: GCC

Connection is as follows:

Atmega8                                     BT module
RX            ============>     TX
TX            ============>     RX
GND         ============>     GND
VCC         ============>     VCC

We are using uart at baud rate 9600. Make sure that BT module and atmega8 both have same baud rate.

Saturday, 12 March 2016

IR remote based home automation using arduino

IR remote based home automation using arduino:

With new advancement in technology, we are going towards automation. In this post we will learn how to control your home appliances using IR remote. Since bluetooth and wifi are expensive as compared to IR remote.

List of components:

1. Arduino Uno
2. TSOP 1738/1838
3.  6 V/7 A relay * 2
4. ULN 2003

Block diagram of IR remote based home automation
You can download the code from the following link:
https://drive.google.com/file/d/0B4Px6Drl6Zz_Um9ZbC1Ra09ONkU/view?usp=sharing

The code is self-explanatory.

Check out the video:





Stay tuned for more projects !!

Sunday, 19 July 2015

How to use DTMF module

The picture says it all. If you have any doubt regarding this, let me know. Feel free to comment here.

You can connect PWDN pins to ground from microcontroller or through hard wiring. Choice is yours, I suggest the method of hard wiring. In this, I had opted for hard wiring.
First check it manually. Connect +5V piin to 5 volt and GND pin to ground. Now connect 3.5mm audio jack (male) to Input. If it is not working try another mobile phone.

DTMF MODULE in action.