Search models, users, collections, and posts

Pixel Clock

GIF

Print Profile(1)

All
X1 Carbon
P1P
H2D
P2S
A1
P1S
X1
X1E
H2S
H2D Pro
H2C
X2D
A2L

Printed parts
Printed parts
Designer
7.6 h
4 plates
5.0(2)

Open in Bambu Studio
Boost
119
261
7
4
60
10
Released 

Bill of Materials

Maker's Supply Kits and Parts
Select all
BT2x8 SHCS Self Tapping Screw (20PCS) - AA019
BT2.6x8 SHCS Self Tapping Screw (20PCS) - AA004

Description

A Pixel Clock that shows time and date in a binary fashion.

 

I did this project a while back, and thought I could share it here.

There is a start-up routine when connected to power (as shown in gallery), then it functions as a calendar/clock.

 

Controls:

  • +/- buttons control dimming. 
  • Holding the SET button enters the mode where you can adjust the time each subsequent press will toggle the different outputs. 
    • +/- for setting the values.
    • Hold SET again for saving.

The clock is powered directly from the arduino via a USB cable.

 

Bill of Materials:

  • Arduino Nano
  • WS2812 Pixel Ring 40 pixels (https://a.aliexpress.com/_EHkUGuy)
  • Clock Module RTC I2C PCF8563
  • 3x Microswitch P-B1729 (typically the ones that are included in Arduino Kits)
  • 220 Ohm resistor
  • Wires
  • Screws
    • 4x Ø2x8  (bot plate)
    • 6x Ø2x6 (el. components)
    • 3x Ø2.6x8 (back plate)
    • 4x Ø2.6x8 (front plate)
    • 2x Ø3.5x6 (button holder) I used screws typically found in computer builds..)
    • 2x Ø2.6x8 (base to ring)
  • Buttons

Assembly:

Various screws are used, mainly from the Bambu Makers Kit. The screw are intended to self thread into the plastic.

I have tried to indicate what screws I have used, but it is a long time since I assembled it myself and I don't have everything clear in memory..

The back plate has a small shave on one side, align this with the base.

The ring itself is screwed onto the base by two screws entered from the inside of the base.

 

This is not intended as a tutorial for beginners. There is a massive amount of resources online where you can learn the basics.

Though requiring some soldering, this is not an advanced project.

 

My Arduino sketch and wiring diagram can be found attached. The wiring diagram is simplified, check the component documentation for wiring.

This was my first real arduino project,  so I am sure it is not the most effective code. Still it does the job.

The FastLED library is used for controlling the pixels.

 

The current draw should be OK (minor amount of pixels lit at the same time), and the draw is also restricted in code.

However, care should be taken when dealing with electronics, and not to exceed the limits.

 

Disclaimer:

Do not attempt this build this if you do not have the required knowledge. I take no responsibility if anything were to happen.

 


Documentation (1)

Other Files (1)
PixelClockSketch.zip

Comment & Rating (7)

(0/1000)

Boosted
Print Profile
Printed parts
overall,love this project. I had trouble with support removal because of the broad coverage area but the face plate covers the mess.
(Edited)
The profile uploader has replied
profile
1
Reply
Thank you for your corrective feedback. Glad you made it work! There was quite a few months between making the project and posting it here, so I may have done some changes that I did not document for myself.. As for the #includes, "stdint.h" should be part of "Arduino.h". Not sure why "RTClib.h" is needed. My program is exactly as posted and compiled fine.
0
Reply
Boosted
Replying to @KG3Dee :
I figured it was "way back" and was trying to help doc since I'm in the middle of it. I'm struggling with setting the time fields, it doesn't take the +/- once I get into the subfields (i.e. in "minutes mode" pushing +/- briefly looks like it changes the value but then it just goes back to the original value). I'm assuming operator error here. For the std libs, w/o the stdlib.h I got: "error: 'uint8_t' does not name a type" and without RTClib.h: "error: 'millis' was not declared in this scope" and wouldn't build w/o them. Going back to try reproduce the error messages though, I can comment them out and it still builds fine now so <shrug> apologies. I had to re-do all the ring design because my 1st 40 LED ring was a different size than yours. So i have a design that is screwless and support free, at least for the ring. If you like, I can make a version for the standard led ring size (i.e. yours and my 2nd LED Ring) and post both sizes as a remix.
0
Reply
great design, everything works
designer
1
Reply
looks like a time machine haha
0
Reply
A very creative design! Could you consider using an ESP32 instead of an Arduino so that you can use the NTP protocol to synchronize the time?
0
Reply
Print Profile
Printed parts
0
Reply
No more

License

This user content is licensed under a Standard Digital File License.

You shall not share, sub-license, sell, rent, host, transfer, or distribute in any way the digital or 3D printed versions of this object, nor any other derivative work of this object in its digital or physical format (including - but not limited to - remixes of this object, and hosting on other digital platforms). The objects may not be used without permission in any way whatsoever in which you charge money, or collect fees.