I’m currently working on an external numpad, and ran into the problem that while arranging the keys on the PCB, it’s hard to differentiate between the different keys, since the refs are all just indexed (like “D12”), and are not the keycode (like “KP_7”)
- My root schematic contains the 17 keys in hierarchical sheets (all pointing to the same file), the different sheets/keys have different names, all corresponding to their keycodes (see screenshot)
- Inside the hierarchical sheet there are the symbols that make up a “key module”, the switch itself, a diode for the switch matrix and RGB (of course, also see screenshot)
- I’m using the Replicate Layout plug-in, to keep the layout of the key modules’ components on the PCB in sync
- I have also set up some custom symbols and footprints
The root schematic (partially) and the hierarchical sheet (sorry, new user, one embed limit)
I would like to annotate the different keys with their keycodes on the silkscreen (or at least the fabrication layer), so that it will be easier to arrange the keys on the PCB and would be easier to troubleshoot any problems that come up
In my opinion, the best way to do this would be to:
- Set the sheet names (or a custom field on the hierarchical sheet) to the keycodes (as I have done already)
- Pass the value to the symbol (also works fine)
- Have that symbol pass the value to its footprint (can’t figure out how to do this, if at all possible)
- Then the footprint can display it on the silkscreen, or any other layer of our choosing, with the help of a text item
Also, I’m on KiCad 6.0.6 Release
So is it possible to do it like this and I just haven’t found the correct syntax, or is it currently not possible?
If not, are there any alternatives besides placing the annotations individually on the PCB?
Thanks in advance!