This is a self centering spring loaded analog thumbslide joystick, very similar to those found on the PSP1000. These compact joysticks are different in that they have a very interesting ‘slide’ feeling which makes it easier for the user to feel how far they've moved.
This thumb slide joystick is rated for 5V but we have noticed no issues when used at 3V as with the BBC micro:bit, with just a few blocks of code you can use the microbits LED matrix to track the joysticks movement which makes for much more interesting gameplay possibilities than just using the A and B buttons on the BBC micro:bit.
The rubber thumb pad is removable if you desire. The solder pads on the reverse are spaced by 2mm and the two mounting holes are the right diameter for M2 Machine Screws.
The X & Y axis pads on the underside of the joystick output an analog voltage, you can code the microbit to monitor and read these voltages and translate that into an action. In the example further down the page we used the Microsoft Block Editor and made use of the 'map' block to read the output voltages from the X & Y Axis and convert them into a value from 0 to 4 so that the position of the jotstich can be tracked using the LED matrix on the micro bit.
For wiring this part; if you look at the device from the bottom, the pin out goes:
Pin 4 is the pin closest to the 2 mounting tabs found on the rear side of the device. You can expect a range of about 128 to 775 on each axis, though you will need to experiment as the range may vary slightly from joystick to joystick.
- X & Y axis analogue voltage output.
- Self centering spring loaded analog joystick.
- Similar to the controls found on a PSP 1000.
- Ideal for use with the BBC micro:bit.
- The mounting holes suit M2 size screws.
- 1 x Self centering spring loaded analog joystick.
- Length: 19mm.
- Width: 19mm.
- Height: 9mm.
- 2 x M2 Machine Screws.
You can easily take control of the BBC micro:bits LED matrix, as shown below:
You can acheive the same with the code shown below:
SparkFun Stock Code:
Same Day Dispatch
- Orders placed online before 3:00pm Monday - Friday (excluding public holidays and our Christmas shutdown period) are always dispatched the same day provided the goods are in stock. If the goods are not in stock we will endeavour to contact you as soon as possible to discuss a dispatch date.
- If you live on the UK mainland and don't have any large materials or lithium batteries in your order it will cost £3.95 (£4.74 including VAT) if you spend less than £40 (£48 including VAT).
- If you spend between £40 and £200 (£48 - £240.00 including VAT, excluding large materials or lithium batteries) delivery is free to most locations, £12 (£14.40 including VAT, excluding large materials or lithium batteries) to Northern Ireland and £15 (£18.00 including VAT, excluding large materials or lithium batteries) to UK remote locations. For a list of postcodes that will be charged the remote location rate: remote area list.
- If you spend over £200 (£240.00 including VAT, excluding large materials or lithium batteries) delivery is free within the UK.
Rest of the world
- These orders are sent via UPS, and the cost is dependant on the service you choose at checkout. Alternatively you can choose the free collection option and have your own courier collect it from us. International orders can only be shipped to the registered card address. Please note: International orders may be charged import duty dependant on local import laws and duty rates. These charges are usually billed to you directly from UPS.
- Delivery times vary for international orders depending on the service selected and the destination. You can see the delivery time and cost at the shipping stage, or by using the shipping estimator from within the shipping basket.
- If you would like to collect your order, or use your own courier then there is an option you can select during checkout. We do not charge a packaging or handling fee for this service, and you will receive an email when your order has been processed, you can collect half an hour after receipt of this email.
- For information about all of the delivery options we offer see full delivery details.
Hi Fergal, Yes this should work fine with both PICAXE and Genie, it is rated to 5V’s however we used it with the BBC micro:bit which uses 3V’s and it worked fine.
Ask a question about this product
Payment & Security
Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.