The A2D is much better in a PIC from my experence, and I usually sample 8 or 16 times and avarage before sending the result so it's rock solid. The gamepad is hard wired for whatever it's intended purpose and less than half the 8-bit register is usable due to the fact that it auto calibrates the start voltage as center stick, so then you have only 2.5V to work with. So first thing to do is set up resistors for 2.5 open and still have differences in every button close. PITA.
Oh, Flaring_Afro.. The diode is to protect the gamepad. Your SWC has 12V running through it which would fry the gamepad and possibly more without it. What god of cpu did was run the 5V backwards through it.



LinkBack URL
About LinkBacks


Reply With Quote



Bookmarks