[Arm-netbook] Building your own keyboard

Christopher Havel laserhawk64 at gmail.com
Fri May 26 21:29:42 BST 2017


One more thing first. You concretely cannot do USB HID stuff on a
'328-based board. You'd have to flash the serial-to-USB chip with a
different USBID (high level stuff, that) which would necessarily then cause
it to stop ID'ing as an Arduino... see, the USB comms on those boards is
handled by that separate chip... the '328 can't USB on its own, so it sends
and receives TTL serial from a second (translator/bridge) chip. There's a
software thing called VUSB that can sort of get around that in a nasty way,
but it's really ugly last I heard, and therefore not quite suitable for
this.

For the record, the eBay clones almost universally feature a CH340G from
Jiangsu Qinheng Co (aka WCH) as their serial-to-USB translator. More
official Arduinos usually use FTDI-branded chips or (in some cases) a
second ATMega, an 8u2 or 16u2. Only the Leonardo and compatible
(32u4-based) Arduinos can be used for USB HID gear, because they neither
need nor have that second translator chip -- it's direct
microcontroller-to-USB, because the 32u4 has an on-die USB controller.

On Fri, May 26, 2017 at 4:19 PM, Christian Kellermann <ckeen at pestilenz.org>
wrote:

> * Christopher Havel <laserhawk64 at gmail.com> [170526 22:17]:
> > The '328 ones are Pro Minis, although eBay does tend to make a mess of
> the
> > labeling... both Pro Mini and Pro Micro designs are originally SparkFun
> > Electronics in-house designs. Great company, but I wish they hadn't done
> > those. I like the Arduino Nano (328) and original Micro (32u4) far better
> > than the Pro versions. You may have noticed! ;)
> >
> > As an aside, the Micro and Pro Micro are really just shrink-ray'd
> Leonardo
> > boards. Whoo.
>
> Thanks for that clarification!
>
> Let's resume the usual 3D printing / laptop / EOMA discussion :)
>
> --
> May you be peaceful, may you live in safety, may you be free from
> suffering, and may you live with ease.
>
> _______________________________________________
> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
> Send large attachments to arm-netbook at files.phcomp.co.uk
>


More information about the arm-netbook mailing list