potentiometer as ADC input using ARDUINO MEGA

This is a series of simple projects aimed at getting started with Arduino. This will cover most of the important peripherals of the Arduino starting from simple Digital I/Os to ADC and communication interfaces etc.

 

In the first set of projects the following are included. They are basically about the Digital I/Os and ADC on the arduino.

1.LED BLINKING
2.LED ON using push button
3.AC BULB ON using push button
4.Running LED'S
5.Running LED'S when button pressed
6.LED ON/OFF using two buttons
7.LED BLINK with adjustable delays
8.POTENTIOMETER as ADC input display serial monitor
9.LDR light controller
10.LED ON/OFF USING PIR SENSOR
11.Temperature controller

 

In this experiment we are going to 

Potentiometer as ADC INPUT:

connect a potentionmeter as analog input to pin A0 and 5V power supply and ground supply 

and measure the values in serial monitor by varying the potentiometer.