Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

5v inputs to microcontroller

Status
Not open for further replies.

Build-A-Burger

Full Member level 1
Joined
Oct 27, 2010
Messages
95
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Wyoming
Activity points
2,101
I was looking at the thread posted recently by thannara123: https://www.edaboard.com/threads/332224/

and I had a question about the diagram: 7468655200_1424257711.png

what is the purpose of the diodes? Are they 5v? (I didn't want to hijack the thread).
 

Safety reasons. In case the cirquit with the "buttons" may use higher voltages than 5V.
e.g. if the external cirquit has 24V/0V outputs, the 24V will not damage the 4021, because diode will not allow current to flow to 4021.
If the external cirquit has open collector outputs or uses 5V/0V outputs, then the diodes (1N4148 probably) are not required.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top