Psp 1000 joystick on CSL

Post Reply
bahnstormer
Posts: 4
Joined: Mon Feb 25, 2019 10:58 am
Has thanked: 4 times

Psp 1000 joystick on CSL

Post by bahnstormer » Sat Mar 09, 2019 2:18 pm

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.

Image

How do the shared X/Y outputs from the stick connect to the separate X/Y inputs on the board?

Image

Or, is there a better stick to use with the CSL?

Hope this makes sense and thank you in advance! :).

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re:

Post by kite » Sun Mar 10, 2019 9:35 am

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))
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/


ImageImageImageImageImage

sandog
Posts: 123
Joined: Fri Oct 26, 2018 8:17 pm
Has thanked: 9 times
Been thanked: 6 times

Re: Psp 1000 joystick on CSL

Post by sandog » Mon Mar 25, 2019 11:42 am

So will a PSP1000 joystick work on the Sword right out of the box?

User avatar
kite
Posts: 972
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 246 times
Been thanked: 361 times
Contact:

Re:

Post by kite » Tue Mar 26, 2019 7:05 am

sandog wrote:
Mon Mar 25, 2019 11:42 am
So will a joystick work on the Sword right out of the box?
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/


ImageImageImageImageImage

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest