Using Analog input of ESP32 read Potentiometer DC voltage

  Переглядів 29,073

Robojax

Robojax

День тому

Which pins of ESP32 are analog? how to use them in code? how to read input voltage in a pin? and Get the working code.
If you have not used ESP32, you MUST watch this video • How to use ESP32 WiFi ... before you start with using ESP32 with DC motor
The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe and enable the bell 🔔.😊
Jump to different section of video by clicking on the time:
00:00 Start
00:45 Introduction
01:40 Pins explained
03:46 Potentiometer Explained
05:50 Wiring Explained
07:39 Code Explained
10:55 Demonstration of reading voltage
Download code and resources for this video: bit.ly/esp32-analog-input
***** Purchase ESP32 from:***
Amazon Canada: amzn.to/2ZKX8fJ
Amazon USA: amzn.to/3aQ13OU
Any European Amazon: amzn.to/37IsIPK
Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
****************************
Arduino Step by Step Course (over 100 lectures) Starts here • Lesson 00 What is Ardu...
Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
****************************
Supporting via PayPal: bit.ly/rj-paypal
Supporting via PayPal: bit.ly/rj-paypal
Follow me on Facebook robojaxTV
Tutorial by Robojax.com
Get other projects code and learn Arduino
robojax.com/learn/arduino
#robojax #robojaxESP32

КОМЕНТАРІ: 40
@paultakoy7091
@paultakoy7091 2 роки тому
I just came across this video. Awesome video and explanation. I am working on building a variable bench power supply with a computer interface. I would like to display/change the values both on the power supply and also on the computer screen. I’m looking forward to watching your current and any new videos. Keep up the great work!
@MrAce-rs6ju
@MrAce-rs6ju 4 роки тому
Thank you Ahmed, like to see more videos like that with explanation 👍
@robojax
@robojax 4 роки тому
You are welcome. Every video I make will be like this. I don't leave anything unexplained. Thanks.
@nouh7484
@nouh7484 2 роки тому
AMAZINGGGGGGGGGGGGGGGGGGGGGGGGGGGG PROOOO KEEEEEEEP GOOOOOOOOOOOOOOOO
@giovannazemke9072
@giovannazemke9072 Місяць тому
very nice, thank you
@robojax
@robojax Місяць тому
Our pleasure!
@MrBobWareham
@MrBobWareham 4 роки тому
Thank you for the information ESP32 very helpfull I love your videos always helpfull and with Code makes it easier for learners
@robojax
@robojax 4 роки тому
You are welcome. Pleased to hear that.
@ztiger09
@ztiger09 Рік тому
Can you do a video on how to program the basics of Wesmos D1 R32? Like turning an led on or off etc.
@robojax
@robojax Рік тому
Just search my channel. I have it. Here is how to Gina d a video in a channel ukposts.info/have/v-deo/h5iciZmceY2Uqac.html
@alanw5879
@alanw5879 2 роки тому
Hello, thank you for the great video, I think everyone is playing catch up with these ESP32 boards, abit different from the regular Arduino setup. My question is, I'm using the ESP32 wrover-dev. That has a 3.3&5v output. Can 5v be used for a pot if the voltage level is changed in the code? And what pin is best for output, to actually actuate with the pot? Thank you much.
@robojax
@robojax 2 роки тому
hello, to read pot, I have shown all pins that are available to be used in this same video. Here is full introduction video to ESP32 ukposts.info/have/v-deo/ZV13nm6Ie6J41oU.html where I have shown pins for power supply and all specs. I have not make any video on analog output yet.
@LUCKY007725
@LUCKY007725 4 роки тому
Dear Ahmed, Nice work as always. Plz make a video on a project... DHT sensor connected with UNO and Esp mudule can read it and can show both temp and humidity to blynk server. Regards
@robojax
@robojax 4 роки тому
Thank you Ehtesham. I never heard of blynk. Just checked it. How do you use it? it is not free.
@LUCKY007725
@LUCKY007725 4 роки тому
@@robojax thanks for response. Blynk is very useful and very friendly. I used it in my many projects... I am planning to use STM32 microcontroller and esp8266 for one of my Chicken egg Hetchery project but issue is to interfacing esp8266 with it or UNO...
@robojax
@robojax 4 роки тому
I just check it it is a scam. Pay for simple connection? really? I am working on platform that offers free. snipboard.io/vuWIO5.jpg will never promote this. Students should learn at least with 5 devices and 10 to 20 projects should be absolutely free.
@ahmetozdemir7173
@ahmetozdemir7173 2 роки тому
Thanks for video. You have made explanations that will make the esp32 pins, which are difficult to understand, more understandable. I have a question; If analog pins are used, that is; If pins A0, A1, A2, A3, A4 are full, which other pins can we use for analog input?
@robojax
@robojax 2 роки тому
Hi, this video will answer all your questions on eap32 ukposts.info/have/v-deo/ZV13nm6Ie6J41oU.html
@ahmetozdemir7173
@ahmetozdemir7173 2 роки тому
@@robojax Thanks
@ramalbeenu
@ramalbeenu Рік тому
Is it possible to use analogRead in any analog pin in esp32 (unlike ledcWrite)
@robojax
@robojax Рік тому
I belive I have mentioned which pins can be use for analog reading.
@Industrieelektriker
@Industrieelektriker 3 роки тому
Hello Ahmet, verry interesting ! Can you please explain me, how can i measure and display positive and negative Voltage. I looking for a solution to measure +12Volt to -12Volt ? Do you can help me please?
@edinfific2576
@edinfific2576 2 роки тому
The first thing you need to do is level-translate the input voltage so that -12V corresponds to 0V at the ADC input, and that +12V corresponds to 3.3V at ADC input. In reality, you should include -13V to +13V as a range in order to see the voltage slightly above 12V. First you need to split the 3.3V in half, and use that half point as 0V. Then you need a resistive voltage divider to drop 13V to 1.65V. Finally, you need to reflect that in the code, so that the code would make 0V into -13V, 1.65V into 0V, and 3.3V into +13V and appropriately space or multiply any of the voltages in between. I know the analog part, but I don't know how to do it in the code yet.
@pierricdoublet6248
@pierricdoublet6248 4 роки тому
Super merci,possible de faire la même montage coupler avec un OLED ?
@robojax
@robojax 4 роки тому
Je vous en prie. J'ai une vidéo sur OLED avec ESP32 ukposts.info/have/v-deo/nJteZGeGp4GK1oU.html. Mais je vais faire une vidéo séparée sur ce
@pierricdoublet6248
@pierricdoublet6248 4 роки тому
@@robojax Merci!
@CATips
@CATips 4 роки тому
I m having nodemcu.. I have input from level transmitter 1-5V need to convert 0 - 100% water level from blynk app morning gauge please do the needful
@robojax
@robojax 4 роки тому
why people pay for "blynk"? I am amazed. It should be free. Unless I find something that offer some basic FREE features, I will not sure or try to use this kind of service.
@kg1610
@kg1610 4 роки тому
@@robojax - what do you use / reccomend in place of Blynk?
@robojax
@robojax 3 роки тому
I don't know. I've spent 1000s of hours of my time offering this for free. I have to see.
@devilvortex1
@devilvortex1 6 місяців тому
hi. no pinMode in setup?
@robojax
@robojax 6 місяців тому
Please watch introduction to this module. Search my channel
@andrie1924
@andrie1924 3 роки тому
Sir, I asked ... I once bought a module so I used esp 32 dev kit ... now I noticed that the V in was 12 Voltdc ... as far as I know the standard is 3.3 / 5 volts ... So how about that, the one using 12 Volts and it turns out to be durable until now ... what is the standard voltage?
@robojax
@robojax 3 роки тому
here I have explained this module fully : ukposts.info/have/v-deo/ZV13nm6Ie6J41oU.html
@andrie1924
@andrie1924 3 роки тому
@@robojax Thank you sir for the information, I pray that Allah will always protect and provide health. and hopefully what has been worked on becomes useful knowledge. greetings from your brother from Banjarmasin Indonesia
@robojax
@robojax 3 роки тому
you are welcome. Jazakallah for you prayer. و ایاکم. Salam to to all Indonesians.
@abgrano
@abgrano Рік тому
How to read 5v sensor with esp32?
@robojax
@robojax Рік тому
what is "5v sensor"? this is the video to read 5V.
@0124akash
@0124akash 3 місяці тому
Reading is not accurately, if we measure 0V to 15V using this method. Please make video using ads1115, esp32, and LCD16*2 For DC monitoring.
@robojax
@robojax 2 місяці тому
it is 12bits and for most applications it is very accurate.
Arduino Multiplexor - MUX INPUTS & OUTPUTS - ANALOG and PWM
13:21
Electronoobs
Переглядів 94 тис.
Surprise Gifts #couplegoals
00:21
Jay & Sharon
Переглядів 23 млн
Understanding the Specifications of ADCs
13:02
maxim integrated
Переглядів 28 тис.
#224 🛑 STOP using Serial.print in your Arduino code! THIS is better.
26:39
DIY ESP32 AC Power Meter (with Home Assistant/Automation Integration)
10:58
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 566 тис.
How to read multiple sensors using only one Analog input pin
5:03
Op-Amps  - Using Operational Amplifiers
44:21
DroneBot Workshop
Переглядів 261 тис.
Connecting a Relay Module to a Microcontroller
11:41
Brad Henson
Переглядів 203 тис.
Different Ways for Measuring Current With Arduino
13:32
Electronoobs
Переглядів 66 тис.
Monitoring Voltage with ESPHome, D1 Mini ADC, and Home Assistant
23:07
Какой у тебя процессор?
0:44
CompShop Shorts
Переглядів 208 тис.
Infrared Soldering Iron from Cigarette Lighter
0:58
ALABAYCHIC
Переглядів 1,9 млн
Phone repairs are getting ridiculous - Here's why.
22:24
Mrwhosetheboss
Переглядів 1,9 млн
СМАРТФОНЫ HTC ВЕРНУЛИСЬ В 2024! Шок для Apple, Samsung и Xiaomi...
11:51
Thebox - о технике и гаджетах
Переглядів 39 тис.