RBERRYPI ---------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 58 из 100
 От   : Gordon Henderson                    3:633/10          24 апр 26 10:00:01
 К    : All                                                   24 апр 26 03:34:03
 Тема : Re: Going to use gpio for the first time
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 3:633/10 6048a4a8
@REPLY: 3:633/10 3849fe44
@PID: PyGate 1.5.14
@TID: PyGate/Linux 1.5.14
@CHRS: ASCII 1
@TZUTC: 1100
@REPLYADDR: gordon+usenet@drogon.net
@REPLYTO: 3:633/10 UUCP
@RFC-Message-ID: <10sd3ng$31b2i$1@dont-email.me>
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)
SEEN-BY: 19/10 50/109 153/757 218/840 840 220/70
221/1 6 360 226/17 100
SEEN-BY: 229/426 240/1120 267/800 301/1 113 812
310/31 335/364 341/66 463/68
SEEN-BY: 633/10 280 414 416 418 420 422 509 2744
712/848 770/1 3 100 340 350
SEEN-BY: 772/210 220 230 5019/40 5020/715 848 1042
4441 12000 5030/49 722
SEEN-BY: 5030/1081 1474 5053/55 5061/133 5075/128
@PATH: 633/10 280 770/1 218/840 221/6 301/1
5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх