Hi all,
First up, sorry if this a noob question!
I'm just in the process of building my very first Circuit Sword Lite build and was wondering how a PSP 1000 stick connects to the board? I see the six pads labelled up, down, left, right, gnd and 3.3v, but the stick only has four outputs for gnd, power, up/down and left/right.
How do the shared X/Y outputs from the stick connect to the separate X/Y inputs on the board?
Or, is there a better stick to use with the CSL?
Hope this makes sense and thank you in advance! .
Psp 1000 joystick on CSL
-
- Posts: 4
- Joined: Mon Feb 25, 2019 10:58 am
- Has thanked: 4 times
- kite
- Posts: 972
- Joined: Thu May 12, 2016 4:30 am
- Location: UK
- Has thanked: 246 times
- Been thanked: 361 times
- Contact:
Re:
The label on the board says "Digital Joystick" meaning those input pads must be digital only (on/off, not an analog value from a stick).
Those pins will all be "HIGH" at 3.3v, and if you short it to GND it will 'activate'.
If you wanted to actually use a stick, you would need something to convert the analog joystick into a digital output.. you would need to use something like an Arduino to read the input, apply some logic to the value "is up pressed?" and then send that to the output (one of those pins).
I hope that explanation helps! The code should be relatively simple and would be a good project for someone looking for something a bit more involved! On more recent boards there is also a CLOCK pin (or labelled similar) which gets pulsed when data is being read from the pin (not really relevant to your use, but if someone stumbled upon this then perhaps they'd like to know that info)
It's probably also important to note that it won't "appear" to the OS as a joystick, it will send some keyboard buttons for it (i forget which, but it's easy to find out on the command line (press the buttons and see what key it writes))
Those pins will all be "HIGH" at 3.3v, and if you short it to GND it will 'activate'.
If you wanted to actually use a stick, you would need something to convert the analog joystick into a digital output.. you would need to use something like an Arduino to read the input, apply some logic to the value "is up pressed?" and then send that to the output (one of those pins).
I hope that explanation helps! The code should be relatively simple and would be a good project for someone looking for something a bit more involved! On more recent boards there is also a CLOCK pin (or labelled similar) which gets pulsed when data is being read from the pin (not really relevant to your use, but if someone stumbled upon this then perhaps they'd like to know that info)
It's probably also important to note that it won't "appear" to the OS as a joystick, it will send some keyboard buttons for it (i forget which, but it's easy to find out on the command line (press the buttons and see what key it writes))
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
- kite
- Posts: 972
- Joined: Thu May 12, 2016 4:30 am
- Location: UK
- Has thanked: 246 times
- Been thanked: 361 times
- Contact:
Re:
On the CSL? No.
On the CS (with CM3)? Yes.
Stock clearance - CLOSED: viewtopic.php?f=38&t=12064
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
Kite's Mailing List: https://goo.gl/forms/e97uUvPOfUxPWdz82
Kite's FAQ: https://kiteretro.com/faq/
Who is online
Users browsing this forum: No registered users and 1 guest