Controlling 24 LEDs with just 6 pins - the Berlin Clock (Charlieplexing)

  Рет қаралды 648

Uwe Zimmermann

Uwe Zimmermann

2 жыл бұрын

I just received back the circuit boards I ordered for two new projects, one of which I will present here: a famous street clock in Berlin. The 24 LEDs of the display are connected to the microcontroller with just 6 GPIO pins, using Charlieplexing.
en.wikipedia.org/wiki/Charlie...
en.wikipedia.org/wiki/Mengenl...
This video is unsponsored and not monetized, as usual.
00:50 unboxing the package from pcbgogo
05:40 my previous prototype
08:00 the theory of charlieplexing
13:00 the schematics in KiCAD
14:10 importing an outline in .dxf-format
14:50 the layout in KiCAD
16:00 about the Berlin Clock (Mengenlehreuhr)
16:50 assembling the circuit board
30:15 first test of the soldered LEDs
32:00 soldering the components on the backside
35:00 connecting the board to an Arduino nano (clone)
37:00 starting a project in PlatformIO
40:00 the code for Charlieplexing
50:00 being halted by a defective USB cable
53:30 going to a higher refresh rate for a flicker free display
source code: pastebin.com/edit/WjJPFCYU
circuit boards made by www.pcbgogo.com/
- 1.6 mm thick
- white solder mask, black silkscreen
- lead-free HASL
other tools used:
LED Test Tweezers www.thingiverse.com/thing:319...
TS-100 solder iron
Felder Iso-Core Clean Sn100Ni+ solder wire 0.5 mm
Arduino nano (clone), ATmega328 16 MHz, 5V
Software used:
KiCAD PCB layout www.kicad.org/
QCAD general 2D design www.qcad.org/en/
VS Code code.visualstudio.com/
PlatformIO plugin platformio.org/

Пікірлер: 7
@Some11
@Some11 2 жыл бұрын
Nice work and a neat led drive technique!
@7alfatech860
@7alfatech860 2 жыл бұрын
Wow, fine soldering skills!
@uwezimmermann5427
@uwezimmermann5427 2 жыл бұрын
Thank you! It's not that difficult - you just need some practice and ok tools - but most often when failing it is not the tool which is to blame.
@Erlandsson1964
@Erlandsson1964 2 жыл бұрын
Comment, Comment comment ;)
@uwezimmermann5427
@uwezimmermann5427 2 жыл бұрын
😉
@austinfox4130
@austinfox4130 2 жыл бұрын
Reply, Reply Reply ;)
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 182 М.
Using external libraries with PlatformIO and Arduino
13:10
Uwe Zimmermann
Рет қаралды 3,5 М.
Женская драка в Кызылорде
00:53
AIRAN
Рет қаралды 476 М.
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 29 МЛН
Mom's Unique Approach to Teaching Kids Hygiene #shorts
00:16
Fabiosa Stories
Рет қаралды 32 МЛН
Two LEDs on a single GPIO pin!
15:06
Uwe Zimmermann
Рет қаралды 575
rust runs on EVERYTHING (no operating system, just Rust)
18:10
Low Level Learning
Рет қаралды 351 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3 МЛН
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 600 М.
Building a 3D star with neopixel illumination
53:25
Uwe Zimmermann
Рет қаралды 306
Breadboarding tips
20:16
Ben Eater
Рет қаралды 425 М.
How to Charlieplex LEDs with an Arduino
10:07
learnelectronics
Рет қаралды 9 М.
The IBM 1401 compiles and runs FORTRAN II
23:41
CuriousMarc
Рет қаралды 1,2 МЛН
Everything Starts with a Note-taking System
21:23
Mischa van den Burg
Рет қаралды 209 М.
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 456 М.
Самые крутые школьные гаджеты
0:49
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 9 МЛН