fruit-bat / pico-zxspectrum

ZX Spectrum for Raspberry Pico Pi RP2040
486 stars 54 forks source link

Specials keys row 1 Auk Firmware #126

Open nano54120 opened 8 months ago

nano54120 commented 8 months ago

Hi, I am using ZxSpectrumPicomputerVgaAukBob.uf2 firmware and the 8 specials keys in row 1 are not working completely. I can't reboot to 48k or 128k. And how do I go back in the menu?

I tested all the wiring and everything is correct. Only the 48k and 128k keys does not work.

Thank you for yours answers.

fruit-bat commented 8 months ago

Shift-ENTER to go back in the menu.

I think Bob asked me to change the 128k and 48k buttons to next/prev snapshot... though I am struggling to find the conversation.

Shift-Menu is quick-save.

If you are able to build your own firmware the mappings are in here: https://github.com/fruit-bat/pico-zxspectrum/blob/main/src/picomputer/pzx_keyscan.cpp

nano54120 commented 8 months ago

Sorry but I won't be able to. But thank you very much. I'm not stuck in the menu anymore. And it doesn't matter for the 48k and 128k keys, I'll adapt. Are there other actions with the keyboard ?

keypink66 commented 4 months ago

Hi, I also use the ZxSpectrumPicomputerVgaAukBob.uf2 firmware but I'm stuck on the home screen of the ZX 128. The keys on the PCB don't work (only down), and the keys in the first row where cis are also the arrow keys (rubber keyboard of the Spectrum with new membrane), do not work. Any suggestions on how I can navigate the menus? Thank you

fruit-bat commented 4 months ago

Make sure you have recent firmware from this site. Do any other keys work on the membrane, like Enter?

Plug in a USB keyboard and press F1... just to see if it works at all.

keypink66 commented 4 months ago

Make sure you have recent firmware from this site. Do any other keys work on the membrane, like Enter?

Plug in a USB keyboard and press F1... just to see if it works at all.

Hello and thanks for the reply! From a first test I did with the Spectrum keyboard, only the left keys seem to work. I already tried a USB keyboard but it didn't work, green light on for a moment but then nothing! Maybe because I powered the PBC with a USB cable connected to the PC? Could it be that the power supply is too low, considering that the PC's power supply is just 0.5 A? Tonight I'll try again with another keyboard and I'll update you. In the meantime, can you tell me which updated firmware I can download?

fruit-bat commented 4 months ago

Post a picture(s) of your board so I can recommend firmware

keypink66 commented 4 months ago

Hi, here are the photos!

1720611642683 1720611642637

fruit-bat commented 4 months ago

Ok, here is the page: https://github.com/fruit-bat/pico-zxspectrum/blob/main/docs/pico_zx48_128.md

And you should be able to use either of: https://github.com/fruit-bat/pico-zxspectrum/raw/main/uf2/ZxSpectrumPicomputerVgaAukBob_720x576x50Hz.uf2 https://github.com/fruit-bat/pico-zxspectrum/raw/main/uf2/ZxSpectrumPicomputerVgaAukBob_640x480x60Hz.uf2

(As an aside, I'm not sure you have wired up D+ and D- for the USB host port; see near the end of the Pi Pico. Solder missing from the power pins on the on 'USB Power')

Powering from the PC should be fine. I run mine and 2 keyboard a mouse and 2 joysticks from a PC port and seems OK... but can't hurt trying another power supply if you have one.

keypink66 commented 4 months ago

Yes, you see well! D- and D+ are not wired because I have not found any indication on how they should be wired. Can you tell me how I should connect them? Maybe this is why the USB keyboard is not detected?

fruit-bat commented 4 months ago

Yes, you see well! D- and D+ are not wired because I have not found any indication on how they should be wired. Can you tell me how I should connect them? Maybe this is why the USB keyboard is not detected?

There are 2 test pads on the bottom of the Pi Pico. I think TP2 is D- and TP3 is D+ (these are tricky to solder to!). It's possible the PCB is arranged so contact is already made. Hard for me to see from the picture. If you have a continuity tester you could plug in a USB cable to the Pico and check the connections are made to the USB hub.

Is the keyboard working any better with the new firmware? Is it all of the left keys that work (1-5, Q-T, A-G, CS-V)?

See https://components101.com/development-boards/raspberry-pi-pico-pinout-datasheet-specifications

keypink66 commented 4 months ago

Yes, you see well! D- and D+ are not wired because I have not found any indication on how they should be wired. Can you tell me how I should connect them? Maybe this is why the USB keyboard is not detected?

There are 2 test pads on the bottom of the Pi Pico. I think TP2 is D- and TP3 is D+ (these are tricky to solder to!). It's possible the PCB is arranged so contact is already made. Hard for me to see from the picture. If you have a continuity tester you could plug in a USB cable to the Pico and check the connections are made to the USB hub.

Is the keyboard working any better with the new firmware? Is it all of the left keys that work (1-5, Q-T, A-G, CS-V)?

See https://components101.com/development-boards/raspberry-pi-pico-pinout-datasheet-specifications 1721035352400

Thank you! You can't imagine the emotion of seeing this screen... and above all thanks to your instructions!

So, the 2 jumpers, as you pointed out, were not soldered. The YT video I used was very fast, and I hadn't seen that passage! :(

I soldered D- and D+ and flashed the fw you suggested, and... everything works. Spectrum keys and keys on the PCB, now everything is working correctly!

All that remains is the USB port which still doesn't show a keyboard or joystick, but that's okay for the moment...feeling the rubber buttons under your fingers is always a thrill! :)

Thanks again for your advice, this was my first board built by me and it was double satisfaction. Now I just need to find a way to cut the plastic on the back and shape the case. Can you suggest me a method?

Mariano

fruit-bat commented 4 months ago

Awe, it's looking good! Glad to see it working.

I used a dremel to cut my case.... and it was a bit messy. Probably the best solution is a steel ruler, a Stanley knife and lots of patience.

keypink66 commented 4 months ago

Yes, I too had thought of a ruler and a Stanley type knife, and I am comforted to hear from you that it is a good idea! ;)

Il lun 15 lug 2024, 21:20 fruit-bat @.***> ha scritto:

Awe, it's looking good! Glad to see it working.

I used a dremel to cut my case.... and it was a bit messy. Probably the best solution is a steel ruler, a Stanley knife and lots of patience.

— Reply to this email directly, view it on GitHub https://github.com/fruit-bat/pico-zxspectrum/issues/126#issuecomment-2229215174, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJXGQ2ZVM3NO6LCGJIQEAQ3ZMQOGBAVCNFSM6AAAAABE4O7O2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRZGIYTKMJXGQ . You are receiving this because you commented.Message ID: @.***>

keypink66 commented 3 months ago

1722350023077

Here's my latest effort..cutting the case! It looks like a good result and, I can assure you, it was harder than soldering the components..even if it was my first time with a circuit kit! 😅

fruit-bat commented 3 months ago

Looks very tidy :-)

Yes, to cut neatly takes skill and lots of time. My father used to make model boats and I was always impressed with his patience and accuracy... I think I managed to skip those genetics.