EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / how to control room lights via pc and microcontroller

how to control room lights via pc and microcontroller

|

Projects › Projects › how to control room lights via pc and microcontroller

  • This topic has 1 reply, 2 voices, and was last updated 14 years, 6 months ago by dagakshay.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 7, 2011 at 10:22 am #906
    Aina
    Participant

    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

    May 8, 2011 at 3:20 am #6109
    dagakshay
    Participant

    link for serial interfacing

    http://www.engineersgarage.com/embedded/avr-microcontroller-projects/serial-communication-atmega16-usart

     

    atmega8 relay interfacing ckt

    wysiwyg_imageupload:1028:

    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.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Help please! BLDC driver circuit using the IR2136s and the STP80NF06 MOSFETS November 8, 2025
  • need two ICs November 8, 2025
  • MLT-8530 Buzzer on ESP32: Why Is the Sound Output Lower Than Expected? November 8, 2025
  • Scope Clock CRT Z-Axis - Grid bias positive? November 8, 2025
  • Measuring controller current output with a meter November 8, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise