Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
AJ-Explains-It-All
Published © GPL3+

Analog Input Analysis in Arduino Uno Using a Potentiometer

Control the sensor inputs/levels using a potentiometer.

BeginnerFull instructions provided30 minutes1,847
Analog Input Analysis in Arduino Uno Using a Potentiometer

Things used in this project

Hardware components

Single Turn Potentiometer- 10k ohms
Single Turn Potentiometer- 10k ohms
×1
Arduino UNO
Arduino UNO
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

working code.

Arduino
int sensorPin = A0;
int sensorValue = 0;
void setup()
{
Serial.begin(9600);

}

void loop()
{
sensorValue = analogRead(sensorPin);
Serial.printIn(sensorValue);
delay(100);
}

Credits

AJ-Explains-It-All
12 projects • 10 followers
Experienced embedded firmware and software developer. I have a great affinity towards ARM cortex based MCU's.
Contact

Comments

Please log in or sign up to comment.