· web viewin the world of arduino an analog signal is simply a signal that can be high (on),...

7
Analog to Digital Converter (ADC) 6 Analog Pins are use in Arduino --------> 0A : 5A ( ة ي لت و ف ل ا ي ف م ي ق ل ا ة ف ل ت خ م ة ي ئ ا رب لكه ا رات ا ش س الأ ا ي ق ل ل خ مدا ل ه ا دم هد خ ت س تV ساشات خ ل ن; ا م ادمة ق ل ا) لأ : ي مTemperature sensors اره ر ح ساشات حLDR sensor (Light-Dependent resistor) ي ئ و ضاس س حOr LED High (on) = 3.8 Low (off) = 1.8 Dr.Azher Witwit

Upload: others

Post on 14-Jan-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Analog to Digital Converter (ADC)

6 Analog Pins are use in Arduino --------> 0A : 5A

تستخدم هذه المداخل لقياس الأشارات الكهربائية مختلفة القيم في الفولتية (V) القادمة من الحساسات مثلا :

Temperature sensors حساسات حرارة

LDR sensor (Light-Dependent resistor) حساس ضوئي

Or LED High (on) = 3.8

Low (off) = 1.8

The AREF function gives you more flexibility with measuring analogue signals.

Analog

A continuous stream of information with values between and including 0% and 100%. Humans perceive the world in analog. Everything we see and hear is a continuous transmission of information to our senses. The temperatures we perceive are never 100% hot or 100% cold, they are constantly changing between our ranges of acceptable temperatures. This continuous stream is what defines analog data. Digital information, the complementary concept to Analog, estimates analog data using only ones and zeros.

In the world of Arduino an Analog signal is simply a signal that can be HIGH (on), LOW (off) or anything in between these two states. This means an Analog signal has a voltage value that can be anything between 0V and 5V (unless you mess with the Analog Reference pin). Analog allows you to send output or receive input about devices that run at percentages as well as on and off. The Arduino does this by sampling the voltage signal sent to these pins and comparing it to a voltage reference signal (5V). Depending on the voltage of the Analog signal when compared to the Analog Reference signal the Arduino then assigns a numerical value to the signal somewhere between 0 (0%) and 1023 (100%). The digital system of the Arduino can then use this number in calculations and sketches.

Examples of Analog:

Values: Temperature, volume level, speed, time, light, tide level, spiciness, the list goes on....

Sensors: Temperature sensor, Photoresistor, Microphone, Turntable, Speedometer, etc....

Dr.Azher Witwit