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 / Need help! Atmega2560 Analog Comparator

Need help! Atmega2560 Analog Comparator

|

Microcontroller › AVR › Need help! Atmega2560 Analog Comparator

  • This topic has 1 reply, 2 voices, and was last updated 15 years, 1 month ago by Amit Joshi.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 5, 2011 at 9:08 pm #776
    Dough
    Participant

    Hi all,

    I am just starting to learn about embedded systems. I need help in writing C codes for an Atmega2560 analog comparator. I already read about how to use atmega16 for it so to understand the basics. But I need help/guidance in using Atmega2560(thats what I have). I intend to use AIN0 as positive input and AIN1 as negative input.

    Thanks,

    Dough

    March 8, 2011 at 6:28 am #5667
    Amit Joshi
    Participant

    The programming method of the atmega256 comparator is similar to atmega16.Find out the register of comparator from it’s datasheet and program it. If u r facing any particular problem then it can be solved.

  • 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

  • ANOTHER OLD PROJECT REDO April 16, 2026
  • EasyEda program has a major bug April 16, 2026
  • How to set the OSCAL in a PIC 12F675 April 16, 2026
  • issues with level shifter driving a CGHV1A250F April 15, 2026
  • Drawing software April 15, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 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