frntc / SIDKick-pico

SIDKick pico is an inexpensive dual-SID-replacement for the C64 and C128
Other
177 stars 16 forks source link

Slight X drift reading Y and vice versa on paddles #56

Closed Fuzzweed closed 3 weeks ago

Fuzzweed commented 3 weeks ago

Hi, latest revision is MUCH better for pot readings. However performing a full rotation of Y and it starts to affect the X axis readings too at lower values (and vice versa). On the previous firmware X and Y were all over the place with almost any X rotation causing Y movement as well, so I'm thinking / hoping its a software issue. I can't see any hard links between the pot caps on the C64 schematic and they're testing 1.5Mohm apart on the actual board, so don't think its hardware or 'normal' as such.

frntc commented 3 weeks ago

It's probably the VREF-issue (I assume you're using a Pico clone!?)

Fuzzweed commented 3 weeks ago

Picos are genuine rpi, but I did put on the RGB firmware (didn't know if I had LEDs on the Pico tbh, so I thought I'd try....). I'll load up the vanilla firmware and try it

Fuzzweed commented 3 weeks ago

No LED firmware is significantly worse. Getting mixed XY readings through entire range on physical pot X, and nothing on physical POT Y. I have two rev0.1 boards exhibiting same behaviour. LED firmware same results as RGB firmware - reasonably accurate until value =~1E then some interaction between X and Y

Fuzzweed commented 3 weeks ago

update: LED firmware has stabilised, just by being left alone for a few minutes. Some initialisation thing going on????

Fuzzweed commented 3 weeks ago

update 2: X pot behaving pretty well, but Y pot maxes at and becomes jittery around ~DX (precise value not readable). Won't go to FF

frntc commented 3 weeks ago

The firmware cannot stabilize over time, it's constantly doing them same thing. It sounds like something in your hardware part to me. The behavior you describe sounds like the VREF-issue, maybe there is a problem with the Pico-board. Maybe also the 4066 in the C64? What resistor value range do the paddles use?

Fuzzweed commented 3 weeks ago

I have two sidekicks built at the moment doing the same so I think I can rule out the Pico for now, unless there a common build problem on the SIDkick. Are there any particular components / pins I can scope for clues or reference? The 4066 is a possibility, I have another 64 so I will do some tests on that and let you know either way.

Fuzzweed commented 3 weeks ago

470k pots which seem to work on a real sid, although I haven't looked at reading actual values from them on that setup

Fuzzweed commented 3 weeks ago

Looks good on another 64, so I don't think the issue lies with the sidkick (unless there's any CBM board revision abnormalities to accommodate.)