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 / Inter-microcontroller interrupt service

Inter-microcontroller interrupt service

|

Microcontroller › AVR › Inter-microcontroller interrupt service

  • This topic has 5 replies, 2 voices, and was last updated 11 years, 11 months ago by AJISH ALFRED.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 14, 2014 at 10:35 am #2808
    Shishir K Chakravarthy
    Participant

    Hi all,

     

    I am planning to try to interrupt an ATMega32a using an ATTiny2313…The code i have written to the attiny is a logic code, which gives an output of high or low on a pin, say PIND0…My question is that can i directly connect that pin to the external interrupt pin of the ATMega32a or should I introduce some level translation using a transistor or is there any other way?…The ATTiny is interfaced to 5 buttons…I am doing this because i have exhausted all other pins in the atmega32 for a project and this logic derivation decides whether the a32 must be interrupted or not…That logic, i have coded into attiny2313…Any help is appreciated…

     

    Thanks in advance

    January 15, 2014 at 3:59 am #10845
    AJISH ALFRED
    Participant

    Hi Shishir,

    Yes, you need a 3V to 5V logic converter circuit inbetween the attiny and atmega.

    January 15, 2014 at 5:51 am #10852
    Shishir K Chakravarthy
    Participant

    Are u sure attiny 2313 outputs only 3v on a pin?

    January 15, 2014 at 7:45 am #10853
    AJISH ALFRED
    Participant

    I think the Attiny devices can be operated in 3V only. Would suggest you to go through the datasheet of your particular microcontroller and confirm it yourself. It must be there in the ‘maximum ratings’ inside the datasheet

    January 15, 2014 at 7:52 am #10854
    Shishir K Chakravarthy
    Participant

    It says 2.2 to 5.5v…

    January 15, 2014 at 12:08 pm #10856
    AJISH ALFRED
    Participant

    Alright Shishir, It is a 5V device and you can use a single 5V supply for both the ICs and there is no logic converters required !

    Could you please post the circuit diagram of the connection in question so that I can help you better.

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

RSS Recent Posts

  • Solid State DC Circuit Breaker Breakthrough: First Applied to the New Generation of Railway Electric Locomotives December 17, 2025
  • Ceramic capacitors voltage rating December 17, 2025
  • What is involved to convert a small town to fiber optic? December 17, 2025
  • How do I choose the right stepper motor for my DIY 3D printer? December 17, 2025
  • What is this called and what was it for December 17, 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