Go Down

Topic: Looking for an electronics wiring exceptions list (Read 479 times) previous topic - next topic

I have been reading a lot of ee basics lately for my upcoming arduino project, and found a lot of exceptions to what a learner might think about how parts need to be connected to the arduino.

Here is some of the things i found out.

Led's (or any diode really) needs a resistor on the positive side.
A power regulator needs capacitors on both power lines hooked up to ground.
A relay needs a resistor and transistor before the relay switch with a diode over the 2 low power contacs of the relay.

I think this is the reason why you can buy these things preassembled on pcb's.

Does someone have a list of these kinds of exceptions which might not be obvious to someone starting out with electronics?

Or maybe we could start a list right here!

Thanks
Michael


Nick Gammon


Led's (or any diode really) needs a resistor on the positive side.


Oh? Where did you read that?
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

CrossRoads

#2
Jul 07, 2012, 07:38 am Last Edit: Jul 07, 2012, 07:42 am by CrossRoads Reason: 1
I think perhaps you mean "Rules of Thumb".

"A relay needs a resistor and transistor before the relay switch with a diode over the 2 low power contacs of the relay."
Not always. Depends on  how much current the coil needs. Diode, yes.

"I think this is the reason why you can buy these things preassembled on pcb's."
Don't see what that has to do with anything.
You can generally buy things preassembled on PCBs because one party thinks there is a demand, and another party has a percieved need for same.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

On every introduction to led's i have read that they need a resistor as they would otherwise pull too much current. Thinking about it i guess that it might not matter on which side the resistor is but i have always seen it placed on the positive side. So that is what i assumed. Or why do you ask this question?

I am simply trying to find out what is safe wiring for different components.

Nick Gammon

It's true that LEDs often have a resistor in series to limit current. It can be on either side as either way the current has to go through it. However "any diode" is going too far. Diodes used, for example, for reverse polarity protection don't also need a resistor.

Also it is possible to get constant current drivers (chips) that output a fixed current. In that case, the resistors are not necessary.

It's a good idea to come up with some general rules like that. Just trying to help make sure they are accurate.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Thank you. That is helpful information. Please post any more you can think of.

CrossRoads

I don't think it's possible, there are too many instances where something does not follow for one reason or another.

It's like spelling in English - too many oddities to make sense for two different people.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

CrossRoads

What it really comes down to is reading the data sheet to understand what any particular part can do.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Nick Gammon

Perhaps guidelines like:


  • With LEDs, check if current-limiting resistor required.

  • With motors/relays, probably need flyback diode over the coil

  • Check grounds are connected

  • Check current requirements are not exceeded (eg. for motors, relays, LEDs)

  • Check voltages in range

  • Check for possible overheating



Really, there is quite a bit that can go wrong. But with experience it will tend to become second nature.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

MarkT

Check the power supply voltage is suitable for a device (including is it a 3.3V device?)
Check power is connected the right way round(!)
Check the power supply can supply enough current for all the devices it powers.
Input switches/buttons are wired to pull-up or pull-down resistors or internal pull-ups are enabled.
[ I won't respond to messages, use the forum please ]

pwillard

#10
Jul 07, 2012, 03:26 pm Last Edit: Jul 07, 2012, 03:30 pm by pwillard Reason: 1

  • Yes, you can power an Arduino from a 400 AMP 12 VDC car battery and nothing bad will happen (though a few parts might get warm)

  • A voltage divider (potential divider) made with 2 resistors is not a power source it is a potential reference... like a stationary potentiometer wiper pin

  • As a general rule, partially based on the fact that many devices are open collector or open drain it is usually better SINK than SOURCE a load.  IE; feed the LED CATHODE from an arduino pin.



Go Up