Тёмный

How to use Analog Joysticks with the PICO 

Making Stuff with Chris DeHut
Подписаться 11 тыс.
Просмотров 6 тыс.
50% 1

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

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@nigelworwood8530
@nigelworwood8530 11 месяцев назад
Log pots was the type you were trying to recall as in logarithmic. Thanks for all your vids.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 11 месяцев назад
Hi nigelworwood8530, That sounds about right!!!! Thanks, Chris
@chenqingzhi6845
@chenqingzhi6845 11 месяцев назад
great tutorial, learned a lot , thanks😊
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 11 месяцев назад
Glad it was helpful! Cheers Chris
@Roxor128
@Roxor128 Год назад
The joystick that just hit the extremes reminds me of how gamepads for the PC worked before the advent of USB. The PC gameport expects you to put 5V through 100k Ohm potentiometers for its four analogue axes. The digital inputs were just for four buttons. Gamepads had circuitry that would output 0/50k/100k for an axis depending on where the gamepad was or wasn't being pressed, essentially implementing a digital input on an analogue interface.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Isn't that crazy, or should I say frustrating!!! Cheers! Chris
@ianbertenshaw4350
@ianbertenshaw4350 Год назад
Awesome video! have a merry Christmas !
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Thank you Ian, you have a wonderful Christmas too!
@mechaform
@mechaform 4 месяца назад
This will no doubt save me some frustration, thanks. BTW I found having an old analogue “sweep” meter around invaluable for visualising pot action.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 4 месяца назад
Good morning, Yes, I love analog meters too, they tell a much better story than the digital readouts. In machining, there are digital dial indicators and "analog" mechanical dial indicators. The mechanicals ones with that moving needle just tell you so much more!!!! Cheers Chris
@mechaform
@mechaform 4 месяца назад
@@MakingStuffwithChrisDeHut and, as an added bonus in machining, the mechanical indicators don’t need any batteries.
@RIAMCNC
@RIAMCNC 4 месяца назад
@@mechaform ABSOLUTELY!!!!!!!
@johnbillings5260
@johnbillings5260 9 месяцев назад
For an easier time you can use the math map function to control the range of values.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 9 месяцев назад
Hi John, Thanks for the suggestion! I am not familiar with that function but by its name I suspect it is worth checking out as this sort of thing happens a lot. Cheers! Chris
@mytechnotalent
@mytechnotalent Год назад
nice job Chris as always as it is amazing the quality of what we are getting as I found a similar situation with some embedded controllers myself
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
Thank you Kevin, much appreciated! Unfortunately, when price is the only consideration, value simply cannot be had.
@mytechnotalent
@mytechnotalent Год назад
@@MakingStuffwithChrisDeHut well said my friend so very true
@nerminziric6691
@nerminziric6691 6 месяцев назад
Hello Chris...nice job, good explanation, but is it possible to use two analog joysticks with the PICO since PICO have only 3 analog pins and we need 4? If it is possible-how? Thanks
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut 6 месяцев назад
Unfortunately not. There are 4 analog inputs on the RP2040, unfortunately, one is routed to the on board temp sensor on the PICO. There might be another board available with all 4 ADCs brought out to pins though. Cheers! Chris
@RTSFan1337
@RTSFan1337 Месяц назад
Important video, made the same experience. Sadly in Germany Ardafruit retailer's are scarce and overpriced and or unreliable (one piece 18€ or straight out not delivering and scamming you). One is better off buying some PS5 Hall Sensor analgogue stick replacements on ebay for 8€ and soldering those to pcbs harvestet from cheap ones.
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Месяц назад
Hello RTSFan1337, Thanks for sharing your experience. It is unfortunate there is so much garbage being sold like this so bringing awareness to the problem may help save someone the same frustration. Chris
@thefirstlayer350
@thefirstlayer350 Месяц назад
anyone know why when I only have one pot connected, I get values to change on both X and Y?
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Месяц назад
That would require posting something showing the wiring and the source code, otherwise it is all just guessing. Chris
@jyvben1520
@jyvben1520 Год назад
Would the map function help ? Seems ADC can only work with a max of 3.3 V !
@MakingStuffwithChrisDeHut
@MakingStuffwithChrisDeHut Год назад
I am not familiar with the Map function, however, the PICO is a 3.3volt device. As such, I would not try to force it to do something it is not designed to do. I am curious though, why would you need it to use a different voltage?
@jyvben1520
@jyvben1520 Год назад
@@MakingStuffwithChrisDeHut voltage limit info was intended as a warning to others.
@bobweiram6321
@bobweiram6321 Год назад
AdaFruit doesn't manufacture crap. They just add value to cheap Chinese products through quality control and documentation.
@nethoncho
@nethoncho Год назад
They do have a pick and place line with reflow oven...
Далее
Intro to Battery Powered PICOs
6:56
Просмотров 4,5 тыс.
How to use Timers on the RPi PICO
17:05
Просмотров 17 тыс.
Nah, if that's me? I'm tapping. 😤 #nocommentary
00:45
ОН У ТЕБЯ ЗА ДВЕРЬЮ!
22:33
Просмотров 416 тыс.
Run BOTH Cores with Threading On The PICO
33:28
Просмотров 7 тыс.
controlling lots of servos with a Raspberry Pi Pico
13:38
Fun with Transistors
24:33
Просмотров 440 тыс.
How To Use A Servo With Raspberry Pi Pico
11:49
Просмотров 22 тыс.
Using PICO Interrupts
25:15
Просмотров 19 тыс.
Every Developer Needs a Raspberry Pi
27:27
Просмотров 763 тыс.