
Attiny85 7seg
Spac3y/seg7-85
A 4-digit 7-segment display driven by an ATtiny85, scrolling a text message across the display.

A custom 2-layer PCB designed in KiCad for an STM32-based environmental monitoring system. The board integrates an STM32 NUCLEO-F303K8, BME280 environmental sensor, dual SN74HC595 shift registers, a 4-digit 7-segment…
STM32-Environmental Monitor PCB is an open-source printed circuit board by angelozyh, from the angelozyh/STM32-Environmental-Monitor-PCB repository on GitHub. It is a 2-layer board of 90 × 81 mm with 29 parts on 65 nets, routed with 219 tracks and 16 vias.
It is built around the 74HC595 and CC56-12SURKWA. Its parts include 13 resistors, 5 ICs, 4 transistors, 2 capacitors and 1 switch. It belongs with the STM32 boards of this library.
A custom 2-layer PCB designed in KiCad for an STM32-based environmental monitoring system. The board integrates an STM32 NUCLEO-F303K8, BME280 environmental sensor, dual SN74HC595 shift registers, a 4-digit 7-segment display, transistor-based digit drivers, and a pushbutton interface.
This project is the hardware implementation of my previously breadboarded STM32 environmental monitoring system. The project involved transitioning the working prototype to a custom PCB through schematic capture, footprint selection, PCB layout and routing, fabrication, hand assembly, board bring-up, troubleshooting, and final hardware validation.
▶️ Watch the full project demo on LinkedIn
The pushbutton cycles the displayed measurement between temperature, humidity, and pressure.
The STM32 reads environmental data from the BME280 over I2C and displays the selected measurement on a multiplexed 4-digit 7-segment display.
Two SN74HC595 shift registers expand the available GPIO and provide the signals required to control the display. Four NPN transistors provide low-side switching for digit selection.
A pushbutton cycles the displayed measurement between:
UART communication is also available for system monitoring and debugging.
| Component | Purpose |
|---|---|
| STM32 NUCLEO-F303K8 | Main microcontroller |
| BME280 | Temperature, humidity, and pressure sensing |
| 2x SN74HC595N | Serial-to-parallel output expansion |
| CC56-12SURKWA | 4-digit common-cathode 7-segment display |
| 4x NPN Transistors | Low-side digit switching |
| Pushbutton | User input |
| Resistors | LED current limiting and transistor biasing |
| 100 nF Capacitors | Local decoupling |
The original breadboard circuit was converted into a complete KiCad schematic before PCB layout.
The PCB was designed in KiCad 10 as a 2-layer carrier board for the STM32 environmental monitoring system.
The board primarily uses through-hole components to simplify hand assembly, modification, and component replacement.
The PCB development process included:
Custom KiCad footprints were created where appropriate, including footprints for:
Dimensions, pin spacing, drill sizes, and component orientation were checked against component and module documentation before PCB fabrication.
Firmware was developed in C using STM32CubeIDE and the STM32 HAL.
The firmware includes:
Before generating the manufacturing files, the PCB was checked using KiCad's Design Rule Checker.
Final manufacturing files were also visually inspected to verify:
After fabrication, the PCB was assembled and soldered by hand. Socketed components were used where practical to simplify component replacement and troubleshooting.
Initial bring-up included:
During initial board bring-up, testing identified missing power and ground connections in the shift-register circuitry.
The issue was diagnosed through electrical measurements and inspection of the schematic and PCB connections. Jumper wires were added to provide the required power and ground connections.
After the hardware correction, the board was retested and full system functionality was verified.
The required connections will be incorporated directly into the PCB layout in a future board revision.
Following the hardware correction, the completed PCB successfully demonstrated:
The final PCB reproduces the functionality of the original breadboard prototype on a dedicated custom board.
A future PCB revision would incorporate the shift-register power and ground corrections identified during board bring-up directly into the PCB layout.
Additional improvements could include:
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 390 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R2, R3, R4, R5, R6, R7, R8, R9 |
| 4 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R10, R11, R12, R13 |
| 4 | Q_NPN_EBC | STM32_Environmental_Monitor_Footprints:TO-92_Inline_P1.778mm | Q1, Q2, Q3, Q4 |
| 2 | 100n | Capacitor_THT:C_Disc_D4.7mm_W2.5mm_P5.00mm | C1, C2 |
| 2 | 74HC595 | Package_DIP:DIP-16_W7.62mm_Socket | U4, U5 |
| 1 | 10k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 |
| 1 | BME280-Module | STM32_Environmental_Monitor_Footprints:BME280_Module_Socket | U2 |
| 1 | CC56-12SURKWA | STM32_Environmental_Monitor_Footprints:CC56-12SURKWA_Socket | U3 |
| 1 | NUCLEO-F303K8 | STM32_Environmental_Monitor_Footprints:NUCLEO-F303K8_Socket | U1 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm | SW1 |
The 25 most common of 29 parts.

Spac3y/seg7-85
A 4-digit 7-segment display driven by an ATtiny85, scrolling a text message across the display.

AvishkaVishwa/Microcontroller-Design-Project-Temperature-Monitoring-System
This project is a temperature display and alarm system designed for educational purposes as part of the IA 2209 - Microcontroller Laboratory course.






It measures 90 × 81 mm and has 2 copper layers, 1.6 mm thick.
29 parts, built around the 74HC595 and CC56-12SURKWA. 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.
From the angelozyh/STM32-Environmental-Monitor-PCB repository on GitHub, at the commit this page was made from: the board is STM32_Environmental_Monitor_PCB.kicad_pcb and its schematic STM32_Environmental_Monitor_PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask angelozyh before reusing the design.