- This topic has 1 reply, 2 voices, and was last updated 13 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Hi,
I am computer science student and i want to control the room lights via sms sent from remote mobile through gsm modem AT commands sent to pc and is further forwarded to microcontroller. I want to use ATMEGA8 microcontroller that will switch lights on and off using one relay, but i have no idea how to interface relay and pc with microcontroller via serial port. Can any one send me the circuit diagram. Any kind of help will be appreciated.
Thanks for help in advance.
Regards,
Aina
link for serial interfacing
atmega8 relay interfacing ckt
when you send output as logic low at PC0 the LED will not glow. when you send a logic high the relay switch and the LED will glow. apply same logic for you case instead of LED you can connect bulb/ fan/ tubelight, etc.