R2D2 Alarm Clock 3D Printer Model

Author: @
License: CC BY-SA
File formats: stl
Download type: zip
Size:2.3MB

The file 'R2D2 Alarm Clock 3D Printer Model' is (stl) file type, size is 2.3MB.

Summary

This is a remix based on R2D2 Clock & Timer from jeje95
I've used some different configuration from the original version:

  • Arduino nano (instead of ESP)
  • RTC module
  • Nano shield for connections

Basically it uses the rotary encoder button to configure alarm as you can see in the following video:

https://youtube.com/shorts/odZpx6V_PAg?feature=share

The alarm plays mp3 R2D2 sounds and turn on the leds in the head. You can stop the alarm clicking in the button of the rotary encoder:

https://youtube.com/shorts/0z7gBt356PU?feature=share

The code is available from:

https://tinyurl.com/yxx928zu

I've used different libraries to simplify the code:

  • RTClib (clock)
  • RotaryEncoder.h (alarm configuration mode & setting)
  • ezButton (rotary encoder button)
  • TM1637Display (blue display)
  • SoftwareSerial (used with DFPlayer module)
  • DFRobotDFPlayerMini (mp3 module)
  • EEPROM (save configured alarm)
  • LED (R2D2 head leds)

And you can check the base configuration and simulate the behaviour of the display and rotary encoder for alarm configuration:

https://wokwi.com/projects/401647812713663489

The pins on arduino board are:

  • ROTARY_IN1 A1
  • ROTARY_IN2 A2
  • ROTARY_BUTTON 2
  • DISPLAY_CLK 5
  • DISPLAY_DIO 6
  • DISPLAY_BRIGHTNESS_MIN 0
  • DISPLAY_BRIGHTNESS_MAX 7
  • DFPLAYER_RX 10
  • DFPLAYER_TX 11
  • LED_BLANK 3
  • LED_RED 8
  • LED_BLUE 9
Body.stl 849.5KB
centerfoot.stl 57.9KB
centerleg.stl 242.5KB
head.stl 1.5MB
leftfoot.stl 502.6KB
leftleg.stl 884.2KB
rightfoot.stl 533.8KB
rightleg.stl 884.2KB
Rotary_Encoder_Knob.stl 1.8MB