AIで類似品を検索
印刷プロファイル(0)
モデルファイル(0)
公開日時:2024-07-04 13:52:45
0
0
説明
タグ
モデルソース
レビュー(0)
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:
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
タグ
モデルソース
オリジナルリンク: 詳細を見る

CC BY-SA