Ir para conteúdo
3DFinder
Entrar

Você está no 3DFinder

Buscamos em Thingiverse, MakerWorld e Printables ao mesmo tempo para te dar o melhor de cada uma.

Buscar mais como este
Modelo 3D Binary clock with Pico W and LEDs por Viragored no Printables

Descrição

This binary clock uses individual LEDs, driven by a Raspberry Pico W micro-controller. I saw an item in Hackspace Magazine #63 pages 54 – 57, showing a basic binary clock getting its time from the internet. That caught my attention. Download the magazine for free (or you might think they're worth giving a donation to):   [https://hackspace.raspberrypi.com/issues/63/pdf](https://hackspace.raspberrypi.com/issues/63/pdf) 

I thought I’d start with that and add some more features. I’ve put on Github my Python code that drives the basic clock, but also re-syncs with the internet daily and picks up Summer/Winter time changes. [https://github.com/viragored/Binary-LEDs-clock](https://github.com/viragored/Binary-LEDs-clock) 

In the files I’ve uploaded here is the OpenSCAD source. It’s as parametric as I could make it, and hopefully fairly self-explanatory. The .stl files are all generated from that file – their file names should make clear what model is in each file.

Settings you can choose in OpenSCAD are the size of the LEDs (3mm or 5mm), the size of the clearance holes for the screws in the lid, and the diameter of the thread hole in the box corners.

Making the clock

You’ll need to print the box  and a lid to go with it.

The lid:

The LEDs I had were nominally 5mm, but some were smaller than that size. I printed the holes to fit the smallest ones, then filed the other holes so all the LEDs fitted in to about the same depth.

There is a test file called “testsquare.stl” to print a set of three holes to try your LEDs in. The middle hole in that file is 4.8mm (which I printed mine at), and there is one hole at 4.7 and another at 4.9.

Wiring:

To wire up the model, I found this method easier than the way that Hackspace suggested. 

  • Superglue the LEDs in place, orienting carefully to allow the Ground legs to bend and not touch the Positive legs
  • Solder all the Negative/Ground legs together, leaving one long to receive cable from the Pico
  • Trim the Positive legs to suitable length
  • Trim the wires on the resistors to suitable length
  • Solder connecting cable to resistor
  • Solder resistor to LED Positive leg
  • Slide heat-shrink over the resistor and bare wire and shrink
  • Solder cable to Pico 

When my soldering was complete, I tested that all the LEDs were working. There’s a Python script on Github to do that. [https://github.com/viragored/Binary-LEDs-clock](https://github.com/viragored/Binary-LEDs-clock) 

Only then was I ready to put the electronics into the box.

I think it's worth experimenting with different resistor values for the LEDs. Each colour shines at a different brightness with the same resistor. I used 2k for Yellow, 510 for Green, 5k for Red and 10k for white to get a similar amount of shine from each.

The box:

To make sure that the Pico would snap tightly into the base of the box, I printed a small section of the box. (PrusaSlicer allows cutting out a section of a model.) My Pico and the filament I used make a very tight fit so I’ve not glued the Pico in.

Snap or glue the Pico in, push the wires into the box carefully, and get the lid down to its proper position – and check the LEDs again! (A couple of my solder joints had come apart as I was pushing the electronics into the box.)

When you're satisfied, fasten the lid onto the box - then you’re ready to go!

 

Printables

Binary clock with Pico W and LEDs

Publicado em 27 de abr de 2023

6
Curtidas
29
Downloads
Categoria Other Ideas
Tags
clock raspberrypi python binary micropython picow
Licença GNU General Public License v3.0
Arquivos (11)
Binary Clock.scad 7.4 KB
Binary Clock lid 3mm numbers noscrewholes.stl 1.4 MB
Testsquare 4.8 diam.stl 89.7 KB
Binary Clock lid 3mm nonumbers noscrewholes.stl 187.8 KB
Binary Clock lid 5mm numbers screwholes.stl 1.5 MB
Binary Clock lid 5mm nonumbers noscrewholes.stl 296.8 KB
Binary Clock lid 3mm nonumbers screwholes.stl 231.5 KB
Binary Clock lid 5mm nonumbers screwholes.stl 340.5 KB
Binary Clock lid 3mm numbers screwholes.stl 1.4 MB
Binary Clock lid 5mm numbers noscrewholes.stl 1.5 MB
Binary Clock box.stl 68.1 KB
Ver no Printables (abre em nova aba)

Gostou deste modelo? Crie uma conta grátis para salvar seus favoritos e voltar a eles depois.

Criar conta