Page 2 of 27

Posted: 01 May 2016, 15:54
by mohitgarg
Why not both? :p

Posted: 01 May 2016, 16:58
by matt3o
Regarding the controller to use I really can't help you guys. The bottom line is easy and flawless integration with TMK. The mass storage thing is very nice but not terribly needed imho. Possibly I will develop an online app that will let you download the firmware ready to be flashed, you still need to install a software to flash it of course.
Matt_ wrote: I don't get it. If the controller is meant to be placed here, why should it have a USB port? Would it not be simpler to break out the four USB lines?
two reasons: 1) debug, it is convenient to have a USB port during the dev phase; 2) you can place the controller in other spots if you have a big enough case (eg: directly on the top side and you don't need the extension). Bottom line, we need both options.

Posted: 01 May 2016, 17:00
by vvp
So if small PCB is the goal than MKL27Z128VFT4 looks pretty good.

And it may be a good idea to go from 2.54 pitch to 1.27 pitch for the pin headers. Then it will be somewhat good even when people finally realize that big non-split space bars are only a waste of space on the location which is most easily accessible by thumbs.

Posted: 01 May 2016, 17:07
by vvp
matt3o wrote: ... 2) you can place the controller in other spots if you have a big enough case (eg: directly on the top side and you don't need the extension).
In such a case the USB socket should be through hole, otherwise it will break off rather quickly.

Posted: 01 May 2016, 18:06
by Matt_
matt3o wrote: two reasons: 1) debug, it is convenient to have a USB port during the dev phase; 2) you can place the controller in other spots if you have a big enough case (eg: directly on the top side and you don't need the extension). Bottom line, we need both options.
2) is obvious (that's how I initially thought the controller would be used), but 1) also makes sense. Admittedly, as long as it fits, it can't hurt to add a USB connector, the micro variant won't add much height compared to the other components after all.

Posted: 01 May 2016, 18:18
by matt3o
yeah. usb-c is also an option but I don't know if it requires more components. I'm pretty sure it's more expensive though

Posted: 01 May 2016, 18:26
by Matt_
Probably, and while it's easy enough to get spare micro-USB connectors to make your own cables, the choice seems much more limited with USB-C (unless the situation evolved quickly since I last checked). Perhaps we can settle on micro for now, and keep USB-C for an hypothetical later revision.

Posted: 01 May 2016, 18:44
by matt3o
agreed!

Posted: 01 May 2016, 20:25
by mohitgarg
matt3o wrote: The mass storage thing is very nice but not terribly needed imho. Possibly I will develop an online app that will let you download the firmware ready to be flashed, you still need to install a software to flash it of course.
Having recently played around a lot with the available bootloaders for the AVR USB chips, I think Mass Storage bootloader (LUFA implementation) is easiest to work with when used in conjunction with an online configuration tool. With the tool, you generate your bin file, yes, bin not hex. Then just put the device in bootloader, which shows up as Mass Storage, and replace the FLASH.BIN file with your new FLASH.BIN file. No drivers or special software is required on the user's machine, just a working internet connection.

Posted: 01 May 2016, 20:55
by jesse
Type C connectors are increasingly easy to get, much less expensive than they were a year ago and much more robust than MicroUSB. They're also easy to get in a 'mid-mount' form factor that will make your board thinner. And if you're doing USB 2.0 over Type C, the additional component cost for support circuitry is almost nothing.

Posted: 01 May 2016, 21:43
by matt3o
mohitgarg wrote: Having recently played around a lot with the available bootloaders for the AVR USB chips, I think Mass Storage bootloader (LUFA implementation) is easiest to work with when used in conjunction with an online configuration tool.
I agree it would be nice to have if possible.

Posted: 02 May 2016, 00:58
by jacobolus
USB 2.0 over type C connectors would be entirely sufficient for most keyboard purposes. I also agree that the connectors are preferable to either mini or micro USB type B connectors: more robust, more compact, much more future proof. Type C will probably still be the dominant standard in 15 years.

Posted: 02 May 2016, 01:37
by Matt_
I just had a quick look, it seems that they are more widely available indeed. And you can find cheap cables easily as well. So... yeah, why not go with type C after all. It might be a little more expensive, but I don't think an extra dollar or two would be problematic to hobbyists.

Posted: 02 May 2016, 08:58
by matt3o
I don't think we need usb-c, micro-usb is more than enough, but if cost is not bad and availability good... yeah we can do it

Posted: 02 May 2016, 11:52
by vvp
Type-C dimensions are about 9.9 x 9.9 x 3.2 mm.
Micro-USB type-b dimensions are about 7.5 x 5 x 2.9 mm.
Type-C is about 2 times the price of micro-usb, but when all the prices are below $2 then it does not mean much.

So do you want your board bigger to get reversibility when plugging in the cable?
Nothing else will be achieved because the controller is only USB 2.0 full speed; not high speed, not even mentioning super speed.

Posted: 02 May 2016, 12:00
by matt3o
as I said, micro-usb is good enough for me

Posted: 02 May 2016, 18:08
by cookie
I like the Idea of having the possibility of "Addons" on the chip, I'd love to see a platform specific for keyboards. I tried to start my own project but it's a bit confusing for me right now.

A lot of controllers out there and I have no clue where to start.

Anyway, I dig this idea!

Posted: 02 May 2016, 19:21
by mohitgarg
I present to you the Nucleus,

Image

Image

Features:
- All 26 I/O lines accessible
- microUSB
- Access to USB data lines
- Small footprint
- 3 3mm mounting holes
- Debug LED

Posted: 02 May 2016, 20:34
by matt3o
O___________________O

It looks amazing already! What microprocessor is it based on? How do you reset it?

edit: the screw holes look too close to the components though, wouldn't the screw head hit them? Unless they are meant to be screwed from below only

Posted: 02 May 2016, 20:44
by Scarpia
That does look nice!!!!

Posted: 02 May 2016, 20:54
by matt3o
the usb port is in the wrong spot of course, but you know, nobody's perfect :)

Posted: 02 May 2016, 21:17
by mohitgarg
Yeah, the screw holes are a tight fit I think it might be better to go with 2mm screws, that should give enough room for M2 hex bolts.

It's based on the tried and trusted old dog, Atmega32u4. QFN44 package, passives are 0402, LED 0805. There's a reset switch, forgot to put the silkscreen for it.

Where do you want the micro usb to be placed?

Posted: 02 May 2016, 23:40
by Matt_
2mm screws would probably be better since you'll want a bit of clearance around the hole so as not to squahs or short any nearby pad/component.

The USB port is meant to be placed on the top edge. That's a very nice proposal, and I like the name too.

Posted: 03 May 2016, 00:08
by matt3o
looking at mohitgarg's schema I have a feeling we can't put the port on top and keep 18mm height

Posted: 03 May 2016, 07:42
by mohitgarg
My gut feeling is that it might fit on the longer side. Will just have to reroute a bit. The basic dimension will remain the same, 18*31 with a 3*10 tab sticking out for the usb.

Posted: 03 May 2016, 08:43
by matt3o
just one thing... no user names on the board :P I find it a bit narcissistic :P

Posted: 03 May 2016, 08:45
by seebart
matt3o wrote: just one thing... no user names on the board :P I find it a bit narcissistic :P
Uhh how modest matt3o! :P But I agree, I would not want my sig on anythig either no matter how good it turns out to be. Then users start sending you PM's for support. :lol:

Posted: 03 May 2016, 09:37
by mohitgarg
matt3o wrote: just one thing... no user names on the board :P I find it a bit narcissistic :P
hahaha, as you wish, although I believe there should be some information about the maker.

Posted: 03 May 2016, 09:47
by matt3o
I'm okay with a URL for reference. but we'll talk about that later...

edit: actually I have http://elf.io available. that would be a wonderful name for this board :)

Posted: 03 May 2016, 10:04
by mohitgarg
matt3o wrote: I'm okay with a URL for reference. but we'll talk about that later...

edit: actually I have http://elf.io available. that would be a wonderful name for this board :)
That's actually a good name! Now send me a simple image to use as a logo.

URL is fine too.