Рет қаралды 365
Hello guys,
Welcome to Learning Microcontrollers youtube Channel,
Guys I have also compiled course on Udemy as well. Where you will learn under my direct supervision in a more supervised way.
Here is the links to the courses I have on Udemy, By taking any of these courses you will be supporting my channel aswell.
This will help me to make more videos with better hardware in the future. I hope you look forward to it.
Courses Links:
1- www.udemy.com/...
2- www.udemy.com/...
3- www.udemy.com/...
4- www.udemy.com/...
5- www.udemy.com/... ///////////////////////////////////////////////////// #circuitdiagram #circuitdiagram #simulator #simulation #proteus #proteus8 #pic16f877a #arduinotutorial #electronictutorial #embedding #embeddedprojects #embedded_system #embeddedprojectcenters #embedded_system #diy #diycrafts #diyideas #diyproject #diyarbakır #toggle #toggleswitch #switch #bluetooth #hc05 #wireless
Arduino Code:
////// Remember Arudion UNO is based on ATmega328P
////// ATmega328P has ADC of 10 BIT resolution
////// 2^10 = 1024 from 0 to 1023
/////// 0 to 5V at ADC pin will be 0 to 1023 in ADC value.
int potvalue;
void setup() {
Serial.begin(9600);
}
void loop() {
potvalue = analogRead(A0);
Serial.println(potvalue);
}