Skip to main content
F3D
Đồng hồ báo thức ESPHome (D1 Mini) 1

2 images

Đồ Gia Dụng

Đồng hồ báo thức ESPHome (D1 Mini)

By treyd

Downloads
142
Likes
28
Views
3,357

Files 9 17.5 MB

  • Assembly_1776668491.3mf3MF · 6.6 MB
  • Base_1776668492.3mf3MF · 172 KB
  • Bottom_1776668493.3mf3MF · 32.8 KB
  • AlarmClock_1776668494.f3zF3Z · 5.5 MB

Make a variant with AI

Build another version of this model.

Open Studio

Description

Components needed:

1

Rotary Encoder

[Aliexpress]

1

Pushbutton 5V 12mm

[Aliexpress]

1

Switch 

[Aliexpress]

1

D1Mini v4 

[Aliexpress]

1

TM1637 Display

[Aliexpress]

4

M3x8 Screws

4

Heatset Inserts M3

4

M3x6 Screw

4

M2.5x6 Screw

Also needed to work:

1x Homeassistant

1x Smartspeaker (I use IKEA SYMFONISK)

How the alarm clock works:

Set the alarm time with the rotary knob

If the alarm time is reached esphome will send homeassistant the request to execute the script “script.ring_alarm_clock” an example is added to this repo (ring_alarm.txt")

Press the button on top to snooze the alarm and hold to stop the alarm. Double-click the button to toggle if the alarm clock is active (button light indicates state).

For both actions a homeassistant script is executed (script.snooze_alarm_clock [snooze_alarm.txt] & script.stop_alarm_clock [stop_alarm.txt])

If you build multiple clocks you can define an owner in the esphome.txt/substitutions/owner. The argument gets passed to the scripts as the field "clock_owner". I use it to set the different songs we want to listen when I/my partner wake up.

Misc.:

The switch on top overrides the display timeout so the display stays on all the time.

If you hold the button of the rotaryencoder the current time is shown.

If you doublepress the button of the rotaryencoder the display switches between current time and target time

Wiring:

If you dont want to include the resistor for the switch you can use the internal pullup of the D1Mini

Printing:

Print with support.

I used:

0.2mm Layer Height except for the top part of Base.3mf

0.4mm Nozzle width

Files:

If you want to use other components i added the Step and Fusion360 files.

Have fun tinkering!

Read more Show less

Print spec

Formats
3mff3zsteptxt
Model files
9
Total size
17.5 MB
Largest file
6.6 MB

0 comments

See all