Setting it all up
The first things you need to do is desolder the GPIO header from the Pi 3A+. To be honest this was a complete
pain to do but may be a lot easier if you have a good solder sucker and by overflowing with solder first. There are a few videos on YouTube that cover this.
Next you need to connect the jumper wires to the GPIO and the mini PCBs as per MagPi 67 written by PJ Evans.
The diagrams below also show how this should be wired up. Please note the orientation of the membraine
connectors and the position/orientation of the diodes (black line).
I've simplified the first diagram to make it easier to read so please
note that the actual orientation is different if you use the inset to mount in the case (second diagram). The
key is to make sure the membraine connector metal pins are at the top for the LHS and bottom for the RHS (if looking with the back of
the case at the bottom).
Wiring Diagram (Click for Zoom)
|
Final Wiring (Click for Zoom)
|
The 3D printed backet has slots for both PCBs and the button and you can secure the PCBs with a small screw. The button
should just push on. In addition there is a cap which secures the Pi in place and helps with overal stability by fixing the
insert to the screw pillars.
If all you want to do is use this with ZXBaremulator and don't require the USB or SD Card extension then
you are ready hardware wise. All you need to do is download the latest version of ZXBaremulator from the website.
Pop it on a Micro SD Card and into the 3A+. Connect the keyboard membrane, reassemble the case and plug in the HDMI & Micro USB Power.
ZXBaremulator does not require the Keyboard polling software as it is built in.
The push button switches the keyboard to an alternate mode where the numbers are now function keys
so you can access the emulator menus.
With Securing Cap
|
All Connected
|
Backside
|
Adding USB & SD Extension Ports
If you would like to use the Pi for other emulators or just want to add a joystick or swap out the SD card
then I recommend you use the second bracket which extends the ports of th Pi 3A+ to the back of the case.
To extend the USB the easiest way is to just cut a normal USB cable and wire this up to a micro USB PCB board. Hopefully
the USB cable has the correct colours which are Red for VCC, white for D-, green for D+ and Black for GND. The 3D printed insert
has a bracket for the PCB and it should just clip on securely. You can always add some glue if you are worried it will
come off.
For the Micro SD slot you need to either get a 25cm or a longer ribbon cable which you cut down to size. If you cut
a ribbon cable you will need to desolder and resolder the pins. I recommend you do this on the male connector (the one that plugs into the Pi) and not the socket as it is easier.
Once you cut the ribbon you will need to scrape the plastic away to expose the metals connectors ready for soldering. You will need to be
careful doing this as it easy to scrape away the metal as well. Also be mindful of orientation as per usual. After soldering wrap some insulating tape
around to ensure no short circuits.
Now you can connect everything up.
Added USB Port
|
Added SD Card Port
|
Additional Ports
|
Using other Software with a Keyboard Scanner
If you want to use your new ZXPi Spectrum for other software (not ZXBaremulator) and want to use the keyboard you
will need to set-up a keyboard scanner. Details on how to set this up are on MagPi 67 or
via PJ Evan's github.
In addition you can also plug in a USB keyboard either via the extension (if you added one) or using a splitter
so the Micro USB on the back of the Pi has both power and the keyboard connected.