In article <877bq02r1o.fsf@rpi3>, Daniel <
me@sc1f1dan.com> wrote:
I've been working on a project designing my very first keyboard
matrix. It's not a normal setup, it'll serve as external input for my
tandy pocket computer. Well, V1 will be at least.
I chose an atmega MCU as suggested by an online buddy and was delighted
to learn that I can program it with my rpi's gpio.
So I ordered a header adapter/expander from pishop. This gave me a
chance to order a few other things I've been putting off, like getting
an inexpensive case for my workhorse 3b+. Also got the inexpensive
(almost cute) gpio reference board for the hell of it.
Are there any newbie things I should look out for while I dive in?
I'll be doing all the work on my trusty stock pi500.
I've been there and done that in the dim and distant past. (Getboard, Gertduino, Other *duino boards, my own systems, etc.)
Based on that; I'd strongly suggest you make life easy for yourself:
Get an Arduino UNO and plug it into one of the the Pi's USB ports. Use
that as your ptototyping/development platform.
Forget using the GPIO for SPI/parallel programming - it's just too
much hassle. Too much to go wrong, too many wires. One USB cable and
the job's done and you have an immediate serial console to the AVR too.
Then, once you build your own PCB, if that's the aim, you can put the AVR
into the Arduino board to program it, then move it to your own board. You
can get some nice 28-pin ZIF sockets too.
Alternatively, get a USB ICSP programmer and put an 8-pin header on your
own board and program it that way.
There are many AVR Adruino boards - don't get one with a USB AVR
(e.g. 32u4) and make sure it's a 28-pin DIL version for easy swapping
into your production board. (For rev 1, at least)
This the PC1211/PC1212? (TRS80 Pocket computer?) I have a few - never
thought to hook up an external keyboard though...
Gordon
--- PyGate Linux v1.5.14
* Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)