Search models, users, collections, and posts

Pinball style Clock

GIF
GIF

Print Profile(1)

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

0.2mm layer, 2 walls, 15% infill
0.2mm layer, 2 walls, 15% infill
Designer
24.1 h
7 plates
5.0(1)

Open in Bambu Studio
Boost
39
51
2
3
21
3
Released 

Bill of Materials

List other parts
  • ArduinoNano x 2:
  • RTCDS3231 x 1:
  • 28BYJ-48 x 4: including_driver_board
  • Microswith x 4:
  • Button x 5:
  • Powersupply x 1: >3A
  • WS2812B_LEDstrip x 1: 6_Pixels
  • Wires_and_connectors x 1:
  • Prototype_PCB's x 1:
  • M4_Nuts x 14:
  • M2_Nuts x 12:
  • M4x10 x 18:
  • M2x10 x 16:
  • M3x10 x 16:

Description

This is my project for the bambulab clock contest.

It is inspired by the scorewheels of electromechanical pinball machines.

 

The clock is using 4 score wheels mounted on 28BJY-48 Stepper motors for displaying the time.

When setting up the clock, it has to be homed. Therefore the homing button needs to be pressed around 5s. All 4 wheels will drive to 0 position.

This will also reset the used RTC to 00:00.

The time can be adjsuted by holding the Set button for 5 sec.

Afterwards the time adjustment is happening by pressing the + button. with the Set button you can switch between the wheels for the setup.

After adjusting the last wheel, another press on the Set button will bring the clock back to operating mode.

There are 6 different LED Modes also brightness can be adjusted in 3 different modes (low, medium, high).

 

I split up the code on 2 arduino (1x for logic 1x for driving the stepper).

 

Following electronic components are needed:

2x Arduino Nano

1x RTC Module DS3231

4x 28BYJ-48 Stepper + 4x ULN2003 driver board

4x Microswitch

5x Button

1x WS2812B LED strip with 6 pixels

1x 0,1uf condensator for LED strip (optional)

1x 10k resistor for dataline of LED strip (optional)

1x power supply 5v with >3A

1x connector for power supply

1x 5x7cm Prototype PCB (optional)

1x 2x8cm Prototype PCB (optional)

 

Assembling:

 

Insert the M4 nuts in the cutouts

Insert M2 nuts on all counter parts for microswitches and for the Button PCB mount

Install stepper and microswitches in the stepper mount

Install score wheels

Adjust Microswitch position, that it is triggered when showing 0

Mount the scorwheels and Solder all components on the board

Mount the electronic boards on the PCB mounting part

Install heat inserts in the bottom case and screw donw the PCB board (don't forget to insert buttons first)

Connect score board and mount it down with M4 screws

It should look like that now

 

Install top cover and front plate

 

Here is the connection plan for the electronics:

 

Arduino 1 Arduino 2
PinConnectionPinConnection
D0 D0
D1 D1
D2Button PlusD2In1 Minute Unit driver board
D3Button SetD3IN2 Minute Unit driver board
D4Button HomeD4In3 Minute Unit driver board
D5Button LED BrightnessD5In4 Minute Unit driver board
D6Button LED ModeD6In1 Minute Tens driver board
D7Microswitch Step1D7IN2 Minute Tens driver board
D8Microswitch Step2D8In3 Minute Tens driver board
D9Microswitch Step3D9In4 Minute Tens driver board
D10Microswitch Step4D10In1 Hours Unit driver board
D11 D11IN2 Hours Unit driver board
D12 D12In3 HoursUnit driver board
D13WS2812B LED 6 pixelD13In4 Hours Unit driver board
A0 A0In1 Hours Tens driver board
A1 A1IN2 Hours Tens driver board
A2 A2In3 Hours Tens driver board
A3 A3In4 Hours Tens driver board
A4RTC SDAA4
A5RTC SCLA5
A6 A6
A7 A7
TX1Arduino 2 RX0TX1Arduino 1 RX0
RX0Arduino 2 TX1RX0Arduino 1 TX1
VIN5V power SuppplyVIN5V power Suppply
GNDGroundGNDGround

 

Please not that the RX/TX connection must be opened in order to be able for updating code.

Therefore I installed jumpers at my prototype PCB.

 

Note: The code is not final yet. It still needs to be optimized a bit, but a basically it is working.

 


Documentation (2)

Other Files (2)
Arduino1_V0.9.txt
Arduino2_V0.9.txt

Comment & Rating (2)

(0/1000)

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.