Skip to the content
2 layers52.3 × 21.5 mm#2 7segment, the printed circuit board in 3D

GPIO PCBs for experiments

Size
52.3 × 21.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
12
Nets
45
Pads
67
Tracks, vias
70, 0
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
10 Apr 2023
Updated
25 Apr 2024

Overview

#2 7segment is an open-source printed circuit board by Kayto, from the Kayto/AgonLight_GPIO repository on GitHub. It is a 2-layer board of 52.3 × 21.5 mm with 12 parts on 45 nets, routed with 70 tracks and 0 vias.

Its parts include 8 resistors, 1 IC and 1 connector.

README

README.md

AgonLight_GPIO

Background

Agon Light is a compact low-cost board that is both a microcomputer and a BASIC-programmed microcontroller. It is intended to be easily hackable and allow interfacing with the outside world. It features 20x GPIO, plus SPI, I2C, UART for serial communication and allows a great opportunity for learning and experimentation.

Introduction

This repo is intended to provide some simple add on boards for gpio examples and experiments. Although I am of the 8 bit vintage, I consider myself a novice. I enjoy hardware making as a way to better understand the inner hardware workings and to ultimately improve my coding. All is a work in progress and is open to contributions and ideas, within the stated aims and limitations of this project.

Aims

  • Provide a range of simple IO hardware to aid coding in BBC BASIC.
  • To be useful in gaining a general understanding of GPIO usage and real world interfacing.
  • Stick to the general GPIOs only.
  • Avoid cables and breadboards and try to fit a standardised form factor. In this case a plugable "faceplate" for the exiting gpio port. The board should avoid constraining any existing ports and access.
  • Ideally, provide onboard visual feedback to aid learning.
  • Avoid additional hardware processing on the add on board. Keeping access to the low level hardware prevents adding more complications when learning. I.e. GALs, additional controller ICs are to be avoided.

The PCBs

KiCad, Schematics and Gerbers are provided. Renders of the boards are shown in the KiCad directory. Please review before making a commitment. No warranties or support are provided. As of this date PCBs are not yet tested but I will mark as such once done.

#1 - The Blinkenlight. - tested working

Every 8 bit computer needs blinky lights. Not only do they look like good, they are useful for debugging and understanding what is going on at a bit level. The Blinkenlight PCB is pretty much the breadboard example from the official documentation but without the fiddly wires. It directly plugs into the GPIO header and provides an easily viewable "faceplate". This presents the form for future boards.

#2 - 7 segment display. - tested working

This is a single 7 segment display linked to the Port C GPIOs. Allows a simple message display with a delay. Ok its only single digits but something to build on. A caution on this is that you need a 7 segment display to suit the pin out (they do vary). Review the schematics, Pin 3 and 8 are power.I have provided a solder jumper for setting of common anode and common cathode displays. Note that for common anode the coding assumes a LOW signal for on and HIGH for off.

#3 - Double Seven

In progress.

This is a double 7 segment display linked to the Port C GPIOs for data and 2No. Port D GPIOs to do the multiplexing. To save space resistor networks are used instead of individual resistors.

#4 - Moody. - tested working

This is an RGB LED linked to the Port C GPIOs, 2No. push buttons are also provided. The two push buttons on PC_3 and PC_4 are to establish some input and mode switching capability.

The Code

I have created some code to introduce the boards. As said, coding is not my strength so excuse the code, in some cases its not a great example but enough to get things going and for a challenge to improve. To view the code add the .BBC files to the SD card and load via BBC BASIC then type LIST.

BoardCodeDescription
#1_BlinkenlightPortC_blink.bbcselect individual LEDs, set number of blinks and speed.
#1_Blinkenlightgpioknight.bbcSome blinky patterns. Excuse the code, its a bad example with lots of inefficient duplication to get things done. The challenge is open to simplify this, perhaps a data array for the gpio commands and a single procedure for the delay?
#1_Blinkenlightrandom8blink.bbcAn easy change to PortC-Blink, uses the random function and fixed blink speed to just randomly blink the 8 LEDs!
#2_seven_segmentdiceroll.bbcA random 1-6 generator for board games, handy.
#2_seven_segmentcounter.bbcA single digit counter, you're welcome.
#4_Moodymoodyfade.bbcAn RGB fade using some crude PWM in BBC BASIC.
#4_Moodymoodybutton.bbcThe RGB fade but now includes buttons. Button A for on and off. Button B to increase the fade speed.

Disclaimer & Credits

Just a note that I am not in any way affiliated or linked with the Agon project. I am just an aspiring maker, sharing hobbyist builds. Thanks to the Agon project and supporters.

Parts

12
QtyValueFootprintReferences
81KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR0, R1, R2, R3, R4, R5, R6, R7
17 segment displayDisplay_7Segment:7SegmentLED_LTS6760_LTS6780U1
1Conn_02x19_Odd_EvenConnector_PinSocket_2.54mm:PinSocket_2x19_P2.54mm_VerticalJ1
1Jumper_3_OpenJumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mm_NumberLabelsJP1

The 11 most common of 12 parts.

More from Kayto/AgonLight_GPIO

2
  • 2 layers52.3 × 21.5 mm#1 Blinkenlight, the printed circuit board in 3D

    #1 Blinkenlight

    Kayto/AgonLight_GPIO

    GPIO PCBs for experiments

    18 parts5
  • 2 layers52.3 × 21.5 mm#4 Moody, the printed circuit board in 3D

    #4 Moody

    Kayto/AgonLight_GPIO

    GPIO PCBs for experiments

    10 parts5

Similar boards

  • 2 layersNrf bga, the printed circuit board in 3D

    Nrf bga

    github-linguist/linguist

    Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

    12 parts14kMIT
  • 2 layers66.9 × 74.5 mmDeskHop, the printed circuit board in 3D

    DeskHop

    hrvach/deskhop

    Fast Desktop Switching Device

    12 parts7.9kGPL-3.0
  • 2 layers40 × 15 mmSensors, the printed circuit board in 3D

    Sensors

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    12 parts3kApache-2.0
  • 2 layers42.7 × 56.5 mmTle6240 driver, the printed circuit board in 3D

    Tle6240 driver

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    12 parts1.2k
  • 2 layers49 × 25 mm5v boost regulator, the printed circuit board in 3D

    5v boost regulator

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    12 parts915
  • 2 layers28.3 × 10.3 mmTap Photosensor PCB, the printed circuit board in 3D

    Tap Photosensor PCB

    VoronDesign/Voron-Tap

    Tap is a nozzle-based z-probe for the V2 and Trident printer designs. The entire toolhead moves to trigger an optical switch. Tap offers many advantages:

    12 parts716GPL-3.0
  • 2 layers25.4 × 70.4 mmTpmsniffer, the printed circuit board in 3D

    Tpmsniffer

    stacksmashing/pico-tpmsniffer

    A simple, very experimental TPM sniffer for LPC bus

    12 parts696

Questions

How big is the #2 7segment PCB?

It measures 52.3 × 21.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the #2 7segment use?

12 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the #2 7segment KiCad files?

From the Kayto/AgonLight_GPIO repository on GitHub, at the commit this page was made from: the board is KiCad/#2_7Segment/#2_7segment.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the #2 7segment design in my own project?

Its repository states no licence, so its author keeps all rights: ask Kayto before reusing the design.