looking for help with an op amp desgin.

Irving

Joined Jan 30, 2016
5,139
The analog side can be left as-is to allow continued use on the console if need be., but you can;t get positioning data only rate of spin data from them - but that was the goal i.e. rate of spin == joystick position.. If I wanted a trackball for positioning I'd not mess with the analog side, just go direct to the encoders. But trackballs are easy, just turn a (ball) mouse upside down!
 

Thread Starter

ulaoulao

Joined Dec 15, 2022
12
ok I see that now. I will give that 47nf a try but may have to order one.

With the data, I move a joystick pointer ++ or --. if the software sees > 255 it loops over. likewise for < 0
 

Thread Starter

ulaoulao

Joined Dec 15, 2022
12
While I wait here for my caps to get in, I wanted to ask. I'm still unsure why I need this 1 megohm resister? What does it do? I only added it because I notice the line need a very week pull down but no logic was applied here ( it was guessery)

Also the 47nf, I gather this is just to smooth out the voltage a bit, will this likely fix the " touching the two points I circled with my finder causes the readings to increase " issue I noticed. Main reason I ask is with the temps very low here in FL, the atmosphere has changed and now it woudl appear my circuit does not work at all.
 

Irving

Joined Jan 30, 2016
5,139
The output of the TB is a current pulse. To register as a voltage you need something to ground across which the current pulse can generate a voltage. Since this designed to be a charge pump ideally this should be a capacitor to integrate the charge (ΔQ = ΔVC = IΔt) over time and not a resistor. A resistor will give a voltage but it won't be ideal as the voltage generated is transient and because that point is high impedance it is very suceptible to noise, as you have already discovered (temperature & humidity will have an impact too, but why its stopped working I couldn't say.)
 

Thread Starter

ulaoulao

Joined Dec 15, 2022
12
hey Irving, I want to thank you for helping me on this I'm clearly not well prepared for this project but hopeful I will get it.

BTW the issue I had on that last comment I made was human error. Though small recap, I have a bread board that works and a PCB board that does not. The bread board design has always worked for me and I not able to get this PCB to work. I now own a lot of capacitors with various sizes. I did put a parallel cap 47nf to the 900k resisters on both the PCB an the bread board. Seem that made the bread board exhibit the symptom of the PCB and the PCB stayed the same. I thinking maybe the next step here might be to use a scope but I'm not %100 I know what to look for. Any ideas for where to go next? Or what info should I get to help those that are helping me. Sorry if this is vague I'm just lost as what to try next.
 
Top