go_away

Author Topic: Arduino Signal  (Read 421 times)

0 Members and 1 Guest are viewing this topic.

Offline sherbyTopic starter

  • Jr. Member
  • **
  • Posts: 22
  • Helpful? 0
Arduino Signal
« on: July 10, 2013, 05:10:25 PM »
Hi, I have been using arduinos for a long time, and now i come to wonder if the high/low signals relates to Voltage or current?
I was sure it relates to Voltage, however in some places the logic of path of least resistance is used which is more often used with Current.

I have read online, that if the pin( of a receiver, not arduino) is connected to 2 wires, connected to resistors, and then with the final device, and an arduino, then it will take the path of low resistance and connect to it.
Any help will be appreciated.
Thanks!

Offline jwatte

  • Supreme Robot
  • *****
  • Posts: 1,343
  • Helpful? 81
Re: Arduino Signal
« Reply #1 on: July 10, 2013, 09:28:28 PM »
In the end, the inputs detect a voltage, that charges a very small capacitance in a small MOSFET transistor, so there has to be at least a small amount of current for a short while at that voltage to register as "high" (as well as a short amount of current the other way to drain the charge for a "low.")

In general, when you worry about currents and voltages, Ohm's law solves it for you. Given a particular voltage into a particular resistance, you know that the current will be voltage / resistance. From this you can derive other functions, such as the partial voltage in a resistor voltage divider, the minimum resistance needed to limit current to no more than acceptable at a particular voltage, etc.

The specifics of what level of voltage is guaranteed to register as 0, is guaranteed to register as 1, and is too high (or low) to damage the pins of the AVR Atmega microcontroller on the Arduino can be found in the data sheet for that microcontroller in question.

In general, if you're going to do electronics, you have to be comfortable with multiplication, division, re-arranging terms in an equation, and memorizing Ohm's law. This is pretty simple math, as far as math goes, but it's still quite important to develop the right understanding.

 


Get Your Ad Here

data_list