Hi,
First post so sorry if something is wrong.
I’m trying to connect some driving wheel pedals (2 pedals) to a Leonardo. The pedals are connected to the wheel through a RJ11 connector. The wheel is connected to the computer using USB. I want to use the pedals without the wheel. So far I’ve managed to use the 5V pin to power the pedals and A0 and A1 to read each pedal. My problem is the range of each pedal is just 5-4,8V and the range of the readings using serial port are just 1020-1023. What am i doing wrong? Many thanks
Where did you connect the ground from the pedals to the Arduino ground?
Yes, Im connecting everything to the arduino 5V to 5V, GND to GND. I’ve also tried to connect the 5V and GND of the pedals to an USB wall charger to use more current but same range,
I guess you will just have to spend some time drawing a schematic of the circuit and show where you have it powered and connected to the Arduino.
You might explain what this is and post a link to technical information to them, it makes solving your problem much easier.
Ok, I will try to draw everything...but in the meantime. Let's try to put it very simple. I have a potentiometer with a very small range of resistance i.e. 5 V when fully opened and 4,8 V when fully closed. Is there any way (hardware wise) to widen the range so I can get more resolution in the analog pin?
Thanks
Of course! Double or triple the resistance of the potentiometer!
Thanks.
Here is my diagram
Where should I put the resistances. Which values would work best?
Thanks!
I found the potentiometers are supposed to be 296XD103B1N
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.