- Jan 2, 2006
- 10,455
- 35
- 91
I recently built my first Arduino project and I feel like a lot of things are starting to click in place in regards to my understanding of electronics, but I just want to make sure I've got things straight. The more I do stuff with this the more I feel like the Arduino can be thought of as a multimeter with a programmable processor attached.
An analog sensor produces a continuously variable physical quantity, such as voltage. Analog sensors output some kind of analog signal to an analog input pin on an Arduino.
- A photoresistor receives an input voltage from the Arduino and produces a resistance that varies with the light intensity. The Arduino reads this resistance and in software can map it to a light intensity.
- A microphone (a "sensor" for sound waves) outputs a continuously-varying voltage in the millivolt range and an A/D converter can read this voltage (ideally at a high sampling rate like 48,000 times a second) and convert it to digital.
- Uhhh.. are there sensors that work by outputting a certain current that the Arduino will read between two pins?
Is that it? Is that how physical sensors interface with the digital world? Just voltage or resistance readings that get mapped to digital values? Or a combination of the two at the same time?
An analog sensor produces a continuously variable physical quantity, such as voltage. Analog sensors output some kind of analog signal to an analog input pin on an Arduino.
- A photoresistor receives an input voltage from the Arduino and produces a resistance that varies with the light intensity. The Arduino reads this resistance and in software can map it to a light intensity.
- A microphone (a "sensor" for sound waves) outputs a continuously-varying voltage in the millivolt range and an A/D converter can read this voltage (ideally at a high sampling rate like 48,000 times a second) and convert it to digital.
- Uhhh.. are there sensors that work by outputting a certain current that the Arduino will read between two pins?
Is that it? Is that how physical sensors interface with the digital world? Just voltage or resistance readings that get mapped to digital values? Or a combination of the two at the same time?