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.
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
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
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
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
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.
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
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?