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 / main supply voltage display using atmega

main supply voltage display using atmega

|

Microcontroller › AVR › main supply voltage display using atmega

  • This topic has 3 replies, 3 voices, and was last updated 10 years, 9 months ago by AJISH ALFRED.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 15, 2014 at 12:47 pm #3262
    gavi prakash
    Participant

    HI

     In my project i have to display how much voltage is comming from main supply (i.e., 230v r 220) whatever it may be…can you please suggest me how can i read main supply.please give me some idea??

     

    thanks in advance

    September 16, 2014 at 4:08 am #12188
    AJISH ALFRED
    Participant

    One method is to step down and rectify the ac mains to around 5V  dc and read it using the adc of the microcontroller.

    September 16, 2014 at 5:57 pm #12197
    Ashutosh Bhatt
    Participant

    use voltage divider resistor network. use resistors with 2W ratings.

    calculate resistance values as to get the range of 0 – 230 into 0-5 V.

    sense the voltage using internal or external ADC. multiply it with reverse of voltage divider ratio and thats it 

    September 17, 2014 at 4:29 am #12200
    AJISH ALFRED
    Participant

    A.M Bhatt’s reply sounds good and easy to make, but I would suggest not to try it that way because of the huge amount of safety risks involved!! 

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

RSS Recent Posts

  • PIC KIT 3 not able to program dsPIC June 19, 2025
  • Back to the old BASIC days June 19, 2025
  • using a RTC in SF basic June 19, 2025
  • what's it's name June 19, 2025
  • What is correct names for GOOD user friendly circuit drawing program? June 18, 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