Тёмный

Arduino Uno R4 WiFi LESSON 23: Control a Servo with a Potentiometer 

Paul McWhorter
Подписаться 386 тыс.
Просмотров 3 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@keithlohmeyer
@keithlohmeyer 8 месяцев назад
Almost a half of years videos produced in a couple of weeks. Very impressive!
@paulmcwhorter
@paulmcwhorter 8 месяцев назад
Keith, yes I have been busy. The challenge over here is things are very unpredictable and problems can pop up out of no where that you would never expect. Electricity, water, internet, food, security, safety, health are all common and sometimes very serious challenges I face. So, when things are clear, I try to get as much work done as possible, so if I get malaria and typhoid at the same time, I am not under pressure to get next weeks lesson out. I try to stay ahead. Pretty soon, I will need to switch back and get more pi pico videos made. What I have found is it is hard to keep switching back and forth between the two boards, so while I am in arduino mode, I want to get as many lessons done as possible.
@LorisHW
@LorisHW 3 месяца назад
I was successful with the HW. Finally caught up. Thanks for the lesson Paul.
@drthik1
@drthik1 Месяц назад
I folded up like a cheap Walmart lawnchair , completed lesson 22 hw but forgot to save the sketch on computer. Was trying to figure out a way to download it from the arduino and accidentally hit the upload button on an empty sketch lol
@qzorn4440
@qzorn4440 2 месяца назад
A very useful and relaxing Uno R4 servo video. Thank you Paul.
@larryplatzek9017
@larryplatzek9017 3 месяца назад
We have another tool to but in our box! Thank You Paul! Sorry you could not stay today!
@paulmcwhorter
@paulmcwhorter 3 месяца назад
Sorry I missed it. Was stuck in a remote location. Things should be back to normal last week.
@ruellerz
@ruellerz Месяц назад
@14:00 i learned about the map function. done :D
@scottwait3585
@scottwait3585 3 месяца назад
Thanl you Paul!
@akselhansen7670
@akselhansen7670 3 месяца назад
Always fine lessons....But I did not understand why you have to put in that delay statement in order to get it work?
@keithlohmeyer
@keithlohmeyer 3 месяца назад
Paul mentions that the servo needs the delay but it is really the analog read of the pot that needs time to complete the A/D conversion. A delay of 1 ms is usually enough.
@chuckpar2206
@chuckpar2206 3 месяца назад
Like the slope of a line as Paul noted, however I simply used servoAngle=potVal/5.69 and appeared to get same outcome.
@paulmcwhorter
@paulmcwhorter 3 месяца назад
You really want to do it with math, the way I showed. Using ratios does not work when the y intercept is not zero.
@chuckpar2206
@chuckpar2206 3 месяца назад
@@paulmcwhorter thank you, will do.
@AshrayJK
@AshrayJK 3 месяца назад
Paul sir, i love ur vids. thx for ur kind help. do u hv any advice for ppl learning arduino at this young age(12 years old)?
@paulmcwhorter
@paulmcwhorter 3 месяца назад
My advise, keep taking the lessons, and then also think about taking the Raspberry Pi Pico W lessons as well. Keep up the hard work!
@AshrayJK
@AshrayJK 3 месяца назад
@@paulmcwhorter when i checked out the raspberry PI kit on amazon, it ahd all the component of my elegoo kit that i bought and i just need the board. will it be okay if i use the arduino kit and just buy the raspberry PI board or should i buy the raspberry PI kit?
@patrickfox-roberts7528
@patrickfox-roberts7528 3 месяца назад
👍👍👍Naughty wiring it with power applied :D
@perfectly_unstable
@perfectly_unstable 2 месяца назад
@20:18 not how I did my math it seems more complex than needed, and that's going to make me uncomfy if I'm wrong. is there a reason I should not use servoAngle=(180./1023.)*potVal;?
@akselhansen7670
@akselhansen7670 3 месяца назад
Sorry you have ansvared about the delay, but it is a litle difficult to understand how hard you can control the servo....
@michaelcox1225
@michaelcox1225 3 месяца назад
I am leagend
@paulmcwhorter
@paulmcwhorter 3 месяца назад
LEGEND!
@RicardoHernandez-nd5pp
@RicardoHernandez-nd5pp 3 месяца назад
Hola?
@robertschuldenfrei2402
@robertschuldenfrei2402 3 месяца назад
I got the video done before the class, but it is done without sound. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-hS9u-nxk0Y0.html
@paulmcwhorter
@paulmcwhorter 3 месяца назад
LEGEND!
@mikmaster63
@mikmaster63 2 месяца назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YW-T9pxj6ko.htmlsi=Qtw4xL9mg3ELCgG_ Not sure why it’s not working. It’s printing out both values. Tried changing polarity on potentiometer. Loaded previous lesson and servo is working. Thanks, love the videos
@paulmcwhorter
@paulmcwhorter 2 месяца назад
Keep debugging. I cant really see from the video what is wrong. Print out the angle you are applying. Then simplify code. Find the error
Далее
How is this Website so fast!?
13:39
Просмотров 509 тыс.
Arduino Uno R4 Review - Best Arduino Board Ever?
9:16
The Magic of RISC-V Vector Processing
16:56
Просмотров 318 тыс.
I Built a Military Robot from Scratch!
9:56
Просмотров 204 тыс.
Hacking a weird TV censoring device
20:59
Просмотров 3,1 млн