Can we design the teensy alternative for keyboards?
- vvp
- Main keyboard: Katy/K84CS
- Main mouse: symetric 5-buttons + wheel
- Favorite switch: Cherry MX
- DT Pro Member: -
You should pull out the reset pin. Actually it should be near to SWDIO, SWCLK, 3.3V, GND, and SWO (if it is supported) pins. This way one can easily connect a Serial Wire Debug (SWD) port. So in an ideal situation RESET, SWDIO,SWCLK, 3.3V, GND, and SWO (if supported) would be next to each other. It makes sense to pull out GND and possibly also 3.3V pins more times.
2.54 mm headers are better but, in my opinion, 2 mm headers will do too but in such a case it will not fit to common breadboards.
Also, do you have free space for a crew head around the the centre Cherry MX switch holes? Those are supposed for dual use: to mount the switch or to drive screws through them to mount the PCB to a case.
Sorry I did not check your schematic or PCB and probably will not do it, but I can respond with my opinions to specific questions. If I have any opinions about them (or know anything about it).
2.54 mm headers are better but, in my opinion, 2 mm headers will do too but in such a case it will not fit to common breadboards.
Also, do you have free space for a crew head around the the centre Cherry MX switch holes? Those are supposed for dual use: to mount the switch or to drive screws through them to mount the PCB to a case.
Sorry I did not check your schematic or PCB and probably will not do it, but I can respond with my opinions to specific questions. If I have any opinions about them (or know anything about it).
-
- Location: Finland
- Main keyboard: ergoDox
- Main mouse: zowie ec2
- Favorite switch: brown
- DT Pro Member: -
There is enough clearance for up to a 5 mm screw head. There are however traces in this area on the component side of the board so a plastic or wooden washer is necessary.
To my understanding this is not designed for breadboards, but instead for hand wiring or soldering on top of another PCB. For these two scenarios the 2 mm spacing should be adequate in my opinion. For the SWD interface I thought that 2,54 mm spacing would be nice in order to be able to use headers supplied in most SWD units. My debugger only has 4 pins, 3,3V, GND, IO and CLK . On this chip there is also Reset available, which I should then probably try to route close to the other pins.
To my understanding this is not designed for breadboards, but instead for hand wiring or soldering on top of another PCB. For these two scenarios the 2 mm spacing should be adequate in my opinion. For the SWD interface I thought that 2,54 mm spacing would be nice in order to be able to use headers supplied in most SWD units. My debugger only has 4 pins, 3,3V, GND, IO and CLK . On this chip there is also Reset available, which I should then probably try to route close to the other pins.
- matt3o
- -[°_°]-
- Location: Italy
- Main keyboard: WhiteFox
- Main mouse: Anywhere MX
- Favorite switch: Anything, really
- DT Pro Member: 0030
- Contact:
it is looking sexier and sexier! I'll also try to ping flabbergast, he seemed very interested at the beginning.
PS: don't forget the silkscreen!
PS: don't forget the silkscreen!
-
- Location: Finland
- Main keyboard: ergoDox
- Main mouse: zowie ec2
- Favorite switch: brown
- DT Pro Member: -
Don't worry! Silkscreen is the last step when finalizing the design. I'm afraid that there are too many pads and too little space, so I think it's better to just number the pins instead of writing the chip leg names next to them.
- matt3o
- -[°_°]-
- Location: Italy
- Main keyboard: WhiteFox
- Main mouse: Anywhere MX
- Favorite switch: Anything, really
- DT Pro Member: 0030
- Contact:
ohmy goodness, I thought the project was dead and now we have two designs
-
- Location: Finland
- Main keyboard: ergoDox
- Main mouse: zowie ec2
- Favorite switch: brown
- DT Pro Member: -
Here is my latest:
I might have to re route some stuff now, even if it passes the kicad DRC check.
Now the USB and debug lines are all close to each other. Also I noticed from comparing the two boards that my cherry mx footprint was not correct. I wonder how that happened, as this is not the first project where I use it. All of the dimensions were rounded down to the previous 0,5 mm step. I might have to re route some stuff now, even if it passes the kicad DRC check.
- vvp
- Main keyboard: Katy/K84CS
- Main mouse: symetric 5-buttons + wheel
- Favorite switch: Cherry MX
- DT Pro Member: -
C1 and C5 seem too close to the hole. I guess the big holes are Ø4 mm. A common (ISO/DIN) metric hex slot screw M4 has head diameter 7 mm. If you want the PCB to be also screw mountable then you need at least 1.7 mm clearance around the hole edge.
Another option is a common countersunk M3 screw. This has head diameter of 6 mm. So one needs at least 1.2 mm clearance around the hole edge. This is a worse option since the screw will press on the PCB hole edge only. But otherwise you cannot center the screw to the hole.
Or some uncommon screws would need to be used (with smaller heads). Or the screw could be mounted only from the bottom up ... which means bad access to the reset and bl buttons.
C1 should stay close to the MCU package but C5 could be more far away from the package. That leaves only C1 as a part which is hard to move :-/
Another option is a common countersunk M3 screw. This has head diameter of 6 mm. So one needs at least 1.2 mm clearance around the hole edge. This is a worse option since the screw will press on the PCB hole edge only. But otherwise you cannot center the screw to the hole.
Or some uncommon screws would need to be used (with smaller heads). Or the screw could be mounted only from the bottom up ... which means bad access to the reset and bl buttons.
C1 should stay close to the MCU package but C5 could be more far away from the package. That leaves only C1 as a part which is hard to move :-/
-
- Location: Finland
- Main keyboard: ergoDox
- Main mouse: zowie ec2
- Favorite switch: brown
- DT Pro Member: -
There are traces in the area, so some kind of a shim should be used anyway. A laser cut wooden one would cost next to nothing. That being said, I moved C5 and C1 and now the head has at least 6-7 mm. Any more is a bit hard to do.
- vvp
- Main keyboard: Katy/K84CS
- Main mouse: symetric 5-buttons + wheel
- Favorite switch: Cherry MX
- DT Pro Member: -
There is via on C3 pad. Not sure how to make more space there. One option seems to be to remove the bottom middle GND pin and then it may be possible to move the MCU package down about 1 mm and little bit to the left. May be you will be able to route around pin 1 of the right MX switch and C2. And maybe it adds enough space.
- matt3o
- -[°_°]-
- Location: Italy
- Main keyboard: WhiteFox
- Main mouse: Anywhere MX
- Favorite switch: Anything, really
- DT Pro Member: 0030
- Contact:
omg I'm in love
now we should design some keyboard PCBs for it
now we should design some keyboard PCBs for it
- vvp
- Main keyboard: Katy/K84CS
- Main mouse: symetric 5-buttons + wheel
- Favorite switch: Cherry MX
- DT Pro Member: -
I do not have enough experience to tell whether the via - pad distance is big enough. It would be big enough if there would be some solder resist in between. Which does not seem to be our case. Therefore I do not know.
-
- Location: Finland
- Main keyboard: ergoDox
- Main mouse: zowie ec2
- Favorite switch: brown
- DT Pro Member: -
It'll be probably enough if the stencil covers the via, which is the case here. I can't say for certain either though.
edit: I can move the resistors to the right of the USB connector. There is no closeness requirement for these components anyway. That way I can clear some room and move the via out.
edit: I can move the resistors to the right of the USB connector. There is no closeness requirement for these components anyway. That way I can clear some room and move the via out.
- Ratfink
- Location: North Carolina, USA
- Main keyboard: IBM Displaywriter
- Main mouse: CST L-Trac
- Favorite switch: Beam Spring
- DT Pro Member: -
If there's bare metal connecting a pad and a via, the via will wick up the pad's solder during reflow. This keeps solder away from the component, resulting in a poor connection, a tombstone, or generally something that could make boards not work. I really can't see an easy way to move that via though.
- matt3o
- -[°_°]-
- Location: Italy
- Main keyboard: WhiteFox
- Main mouse: Anywhere MX
- Favorite switch: Anything, really
- DT Pro Member: 0030
- Contact:
this would be the board we are evaluating.
Comments? Honestly I would like to make a prototype of both versions... unless someone chimes in and finds one is devastatingly better than the other
Comments? Honestly I would like to make a prototype of both versions... unless someone chimes in and finds one is devastatingly better than the other
-
- Location: Finland
- Main keyboard: ergoDox
- Main mouse: zowie ec2
- Favorite switch: brown
- DT Pro Member: -
Some things that came to mind:
1/ The fuse is unnecessary in that configuration. The internal regulator will just crash the voltage before the USB current limit in reached. It could be added to the external 5V pad at the edge should someone want to power stuff with the 5V in their own design.
2/ The ground plane seems to be propagated through one VSS pin on the IC. It might work OK, but I'd avoid it unless we have some better specification on the electrical characteristics of the said pin.
3/ The R & C components are very small. What is the capability of the manufacturer you had planned?
4/ The land pattern of the IC seems to be on the small size when it comes to the pads for the pins. Many chip makers suggest 0,65 mm length for the pads.
5/ What is the preferred copper to edge dimension of the manufacturer? The 5V and GND from the USB connector are routed pretty close to the board edge.
6/ What is the B1 chip (some kind of an regulator?) and is there no status LED on the PCB?
1/ The fuse is unnecessary in that configuration. The internal regulator will just crash the voltage before the USB current limit in reached. It could be added to the external 5V pad at the edge should someone want to power stuff with the 5V in their own design.
2/ The ground plane seems to be propagated through one VSS pin on the IC. It might work OK, but I'd avoid it unless we have some better specification on the electrical characteristics of the said pin.
3/ The R & C components are very small. What is the capability of the manufacturer you had planned?
4/ The land pattern of the IC seems to be on the small size when it comes to the pads for the pins. Many chip makers suggest 0,65 mm length for the pads.
5/ What is the preferred copper to edge dimension of the manufacturer? The 5V and GND from the USB connector are routed pretty close to the board edge.
6/ What is the B1 chip (some kind of an regulator?) and is there no status LED on the PCB?
- matt3o
- -[°_°]-
- Location: Italy
- Main keyboard: WhiteFox
- Main mouse: Anywhere MX
- Favorite switch: Anything, really
- DT Pro Member: 0030
- Contact:
this is what the guy says:
1) The docs do claim a current limiting function at more than 2x the regulators quoted ability. Sure sounds like things could break so without the option for destructive testing I went with a $.50 fuse. If we can eliminate it that's great, saved board space and component cost.
2) I believe he fixed that
3) they are 0402, same as the other board.
4) the IC footprint is to spec for this component from NXP but I guess can be enlarged
5) Good question... I went with OSH's requirements for that particular bit.
6) B1: 3-5v 2 channel buffer, useful for 5v addressable LEDs like NeoPixels.
1) The docs do claim a current limiting function at more than 2x the regulators quoted ability. Sure sounds like things could break so without the option for destructive testing I went with a $.50 fuse. If we can eliminate it that's great, saved board space and component cost.
2) I believe he fixed that
3) they are 0402, same as the other board.
4) the IC footprint is to spec for this component from NXP but I guess can be enlarged
5) Good question... I went with OSH's requirements for that particular bit.
6) B1: 3-5v 2 channel buffer, useful for 5v addressable LEDs like NeoPixels.
-
- Location: Finland
- Main keyboard: ergoDox
- Main mouse: zowie ec2
- Favorite switch: brown
- DT Pro Member: -
1/ This would be the first on chip regulator I've seen that can be killed by just pulling a bit too much out of it's output. - not saying that it would be impossible, I just find it very unlikely. We should maybe do some research on this.
edit: It is likely that the 120mA specification is rated across the whole temperature range, and pulling anything more might make it unstable in certain conditions. All NXPs linear regulators seem to crash the voltage when too much juice is pulled from them and I see no reason why they would have decided to make things break for this product only. If you pull a bit over the 120mA limit consistently, the chips lifetime might be shorter, but that should be the extent of the problems.
2/ Pics? It's better to have the pcbview display, preferably with both coppers on the foreground.
3/ The footprint seems smaller, but it might be my eyes as well. What about the suggested placement courtyard? I'm not sure if things have progressed in the automated assembly field, but I guess they should be used where possible. I trust the kicad footprints as they have IPC 7351 spec boundaries built in. I should also do some very slight fine tuning on my board in this aspect.
4/ Really? http://cache.nxp.com/files/analog/doc/a ... &pageNum=1 tells that the pad should extend at least 0,4 mm outside of the package (0,6 mm for best results), making mine to be definitely on the small side already.
5/ Yeah, I don't think that we have any specs from the manufacturer, so we will have to wait with this.
6/ If you are willing to solder SMD components on your host PCB, you can probably have this component there as well? I don't really get the point.
Sorry for sounding so negative.
edit: It is likely that the 120mA specification is rated across the whole temperature range, and pulling anything more might make it unstable in certain conditions. All NXPs linear regulators seem to crash the voltage when too much juice is pulled from them and I see no reason why they would have decided to make things break for this product only. If you pull a bit over the 120mA limit consistently, the chips lifetime might be shorter, but that should be the extent of the problems.
2/ Pics? It's better to have the pcbview display, preferably with both coppers on the foreground.
3/ The footprint seems smaller, but it might be my eyes as well. What about the suggested placement courtyard? I'm not sure if things have progressed in the automated assembly field, but I guess they should be used where possible. I trust the kicad footprints as they have IPC 7351 spec boundaries built in. I should also do some very slight fine tuning on my board in this aspect.
4/ Really? http://cache.nxp.com/files/analog/doc/a ... &pageNum=1 tells that the pad should extend at least 0,4 mm outside of the package (0,6 mm for best results), making mine to be definitely on the small side already.
5/ Yeah, I don't think that we have any specs from the manufacturer, so we will have to wait with this.
6/ If you are willing to solder SMD components on your host PCB, you can probably have this component there as well? I don't really get the point.
Sorry for sounding so negative.
- Ratfink
- Location: North Carolina, USA
- Main keyboard: IBM Displaywriter
- Main mouse: CST L-Trac
- Favorite switch: Beam Spring
- DT Pro Member: -
If you're willing to solder SMD components on your host PCB, you don't need an Elf board at all.pomk wrote: ↑6/ If you are willing to solder SMD components on your host PCB, you can probably have this component there as well? I don't really get the point.
-
- Location: Finland
- Main keyboard: ergoDox
- Main mouse: zowie ec2
- Favorite switch: brown
- DT Pro Member: -
Exactly! I thought this is for people that want easy to solder and very cheap through hole PCBs or for hand wired designs. If the host board will be pcba:d, there is no point in having it accept the elf footprint. You can just pcba the elf board design completely on the host pcb directly.
- matt3o
- -[°_°]-
- Location: Italy
- Main keyboard: WhiteFox
- Main mouse: Anywhere MX
- Favorite switch: Anything, really
- DT Pro Member: 0030
- Contact:
I'm evaluating various manufacturers, next week I will be ordering the prototypes (ps: there's a national holiday in China these days).
This is one of the latest iterations I've got
I agree the SMD additional component is not actually needed, but neopixels also come in in through-hole (just saying)
This is one of the latest iterations I've got
I agree the SMD additional component is not actually needed, but neopixels also come in in through-hole (just saying)
- matt3o
- -[°_°]-
- Location: Italy
- Main keyboard: WhiteFox
- Main mouse: Anywhere MX
- Favorite switch: Anything, really
- DT Pro Member: 0030
- Contact:
does the MCU come with a bootloader?
- hasu
- Location: Japan
- Main keyboard: HHKB
- Main mouse: HHKB
- Favorite switch: Topre
- DT Pro Member: -
Yes, it comes with ROM bootloader which is versatile and powerful. You can shoot yourself in the foot with it. I bricked mine with the bootloader and had to use SWD to unbrick. Seems to me like it is for developer and manufacturer, not end users? We have to develope way to use it safely.
- matt3o
- -[°_°]-
- Location: Italy
- Main keyboard: WhiteFox
- Main mouse: Anywhere MX
- Favorite switch: Anything, really
- DT Pro Member: 0030
- Contact:
would Hataa's one work? I haven't checked if MCU model number match. If we can give the manufacturer the new bootloader I will have them flash it by default but I don't know if they need a debug header for that