Alright so I've put together a few simple projects with my picaxe so far, and I'm looking to do something a little more complex now - a "gamepad" (a mini-keyboard with WASD, 5 re-programmable buttons, shift, and spacebar).
I don't think it will be too difficult to build, with the exception of interfacing it with the computer.
The only issue I have with taking this approach is that I'm wondering if I can use a USB as I/O and power? (Input from driver software to change the buttons, output from the picaxe to determine which button was pushed)
From my research it appears that a USB has 4 pins - +5v, Data+, Data-, and Ground (0v).
Could I wire the 5v and 0v to the picaxe as power, and the Data+- as I/O just by ripping apart a USB cable, or is there something that I need to do beyond that?
I don't think it will be too difficult to build, with the exception of interfacing it with the computer.
The only issue I have with taking this approach is that I'm wondering if I can use a USB as I/O and power? (Input from driver software to change the buttons, output from the picaxe to determine which button was pushed)
From my research it appears that a USB has 4 pins - +5v, Data+, Data-, and Ground (0v).
Could I wire the 5v and 0v to the picaxe as power, and the Data+- as I/O just by ripping apart a USB cable, or is there something that I need to do beyond that?
Last edited: