Author Topic: Help with PCB  (Read 4254 times)

0 Members and 1 Guest are viewing this topic.

Offline James_Kni

  • Thread Starter
  • Posts: 3
Help with PCB
« on: Wed, 11 December 2019, 04:59:30 »
I ordered a DZ60 from banggood and when I tested it it seemed to work fine but had the wrong layout. I then flashed iso_uk firmware using the command line but then two columns of keys, and the space bar wouldn't work. I tried to flash the default firmware, and that had the same keys not working. I tried using QMK toolbox with still the same problem. I then looked closer at the PCB and released that there are quite a lot of differences between what I received at pictures of the DZ60 and there is also no markings on the board to indicate that it is in fact a DZ60. Could someone help me with this? Here is a pictures of my PCB.



« Last Edit: Wed, 11 December 2019, 05:02:29 by James_Kni »

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Re: Help with PCB
« Reply #1 on: Wed, 11 December 2019, 05:48:05 »
Do you have a connectivity tester or a multimeter?  You need to find out which pins on the controller chip the coulmn switch pins are connected to and change the firmware to match.  You'll also need to check that those pins aren't already used as LEDs on the DZ60 or it will either refuse to compile or act strangely.

The pin names can be seen here assuming it's the standard ATMega, can't read the tiny writing in the pics.

If you need a more detailed explanation I'll fire up paint at around midnight if no-one has done so before :)
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline James_Kni

  • Thread Starter
  • Posts: 3
Re: Help with PCB
« Reply #2 on: Wed, 11 December 2019, 09:35:02 »
Do you have a connectivity tester or a multimeter?  You need to find out which pins on the controller chip the coulmn switch pins are connected to and change the firmware to match.  You'll also need to check that those pins aren't already used as LEDs on the DZ60 or it will either refuse to compile or act strangely.

The pin names can be seen here assuming it's the standard ATMega, can't read the tiny writing in the pics.

If you need a more detailed explanation I'll fire up paint at around midnight if no-one has done so before :)

Thank you for your reply. I don't have a multi-meter but I was able to find out that the PCB I have been sent is actually a GH60 Minila which I have found being sold on amazon https://www.amazon.co.uk/Programmable-Underglow-Connector-Mechanical-Keyboard/dp/B07JMVYJ3Q?s=computers. From there I was able to find the hex file to flash and I was able to get the default key map. However I have no idea how to adapt it to be UK iso layout. How would you recommend I go about doing that? Although, I think I might return the PCB anyway since it isn't what I ordered.

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Re: Help with PCB
« Reply #3 on: Wed, 11 December 2019, 16:53:04 »
I'm more awake now, for better or worse.

When you say UK ISO layout what exactly doesn't work?  It seems very strange that the default firmware doesn't support it because you can add it alongside ANSI as the position of the switches show whether you want # next to ISO enter or / above ANSI, and the pads for the extra key next to shift are just hidden.  If it's just that @ is on shift+2 you need to tell whatever it's connected to that it's a UK keyboard as the conversion from keycodes to characters isn't done on the board.

If the PCB works and is nearly the same as the DZ60 I can make a hex that will 'type' the pin names for the two extra columns then you can do whatever you want mapping wise though it's worth searching for firmware now you have the board name.

If the PCB works and the soldering looks good it's not worth the hassle of returning it and will be quicker to just get the firmware working.

Edit:  Had a look at the DZ60 and the pinout is practically the same as the GH60.  Then realised you haven't said which columns don't work using the DZ60 firmware so I don't know which do to exclude them...
« Last Edit: Wed, 11 December 2019, 18:46:56 by suicidal_orange »
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline James_Kni

  • Thread Starter
  • Posts: 3
Re: Help with PCB
« Reply #4 on: Wed, 11 December 2019, 18:55:13 »
I'm more awake now, for better or worse.

When you say UK ISO layout what exactly doesn't work?  It seems very strange that the default firmware doesn't support it because you can add it alongside ANSI as the position of the switches show whether you want # next to ISO enter or / above ANSI, and the pads for the extra key next to shift are just hidden.  If it's just that @ is on shift+2 you need to tell whatever it's connected to that it's a UK keyboard as the conversion from keycodes to characters isn't done on the board.

If the PCB works and is nearly the same as the DZ60 I can make a hex that will 'type' the pin names for the two extra columns then you can do whatever you want mapping wise though it's worth searching for firmware now you have the board name.

If the PCB works and the soldering looks good it's not worth the hassle of returning it and will be quicker to just get the firmware working.

So the default layout for the PCB was really far off from what I wanted, it included arrow keys and stuff like that. However, I did have a go at using http://qmkeyboard.cn/ which is what the manual for the keyboard suggested using, and with that and following the keymap.c for the dz60, I was able to create my own UK ISO layout and it does seem to work as it should. However at the moment I only have the PCB so I am not able to fully make sure but it does look promising. I think I will keep this PCB and just get a partial refund or something. Thank you for your help!

Offline dexie

  • Posts: 92
  • Location: Riga, Latvia
Re: Help with PCB
« Reply #5 on: Thu, 12 December 2019, 00:53:49 »
Yes, it is in fact not DZ60. If it is GH60, you can try making a keymap using QMK Configurator:  https://config.qmk.fm/#/gh60/satan/LAYOUT_60_iso
ISO Life

Offline baron.

  • Posts: 1
Re: Help with PCB
« Reply #6 on: Thu, 02 January 2020, 18:48:42 »
Hey, do you still have your UK ISO hex file? I've bought the same PCB and I can't get it working and it's doing my head in! Thanks!