Groups | Search | Server Info | Login | Register


Groups > comp.sys.raspberry-pi > #37938

Re: Going to use gpio for the first time

From Gordon Henderson <gordon+usenet@drogon.net>
Newsgroups comp.sys.raspberry-pi
Subject Re: Going to use gpio for the first time
Date 2026-04-23 12:36 +0000
Organization Drogon Towers
Message-ID <10sd3ng$31b2i$1@dont-email.me> (permalink)
References <877bq02r1o.fsf@rpi3>

Show all headers | View raw


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

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Find similar


Thread

Going to use gpio for the first time Daniel <me@sc1f1dan.com> - 2026-04-21 09:53 -0700
  Re: Going to use gpio for the first time rbowman <bowman@montana.com> - 2026-04-22 00:54 +0000
    Re: Going to use gpio for the first time Daniel <me@sc1f1dan.com> - 2026-04-22 07:09 -0700
  Re: Going to use gpio for the first time Michael Schwingen <news-1513678000@discworld.dascon.de> - 2026-04-22 16:08 +0000
    Re: Going to use gpio for the first time The Natural Philosopher <tnp@invalid.invalid> - 2026-04-22 20:40 +0100
      Re: Going to use gpio for the first time druck <news@druck.org.uk> - 2026-04-22 21:09 +0100
        Re: Going to use gpio for the first time The Natural Philosopher <tnp@invalid.invalid> - 2026-04-22 21:13 +0100
          Re: Going to use gpio for the first time Theo <theom+news@chiark.greenend.org.uk> - 2026-04-22 23:45 +0100
            Re: Going to use gpio for the first time The Natural Philosopher <tnp@invalid.invalid> - 2026-04-23 09:58 +0100
          Re: Going to use gpio for the first time not@telling.you.invalid (Computer Nerd Kev) - 2026-04-25 08:33 +1000
    Re: Going to use gpio for the first time Daniel <me@sc1f1dan.com> - 2026-04-22 23:55 -0700
      Re: Going to use gpio for the first time rbowman <bowman@montana.com> - 2026-04-23 18:35 +0000
  Re: Going to use gpio for the first time Gordon Henderson <gordon+usenet@drogon.net> - 2026-04-23 12:36 +0000

csiph-web