กลับไปหน้ารวมไฟล์
sunrise-clock-f6c152-en.md

* The esp8266 connects once a day to Internet to get time from NTP server

* To set WiFi parameters and advanced configuration WiFiManager library in SoftAP mode is used

* LDR is used to adjust clock display brightness according to ambient light

* Other alarm options are cycling LEDs, pulsing LEDs, full brightness of clock display, blinking clock display

* alarm on weekend is optional and has a separate alarm time setting

* if you like fall asleep with light, fade, fireplace and candles light effects are available

* the LEDs can be turned on and the intensity can be set by rotating the encoder

* the dim lighting and the fireplace or candles effect are nice not only for sleep

The screen is a very dark acrylic glass. The gray point below the display is a sticker used as screen for the D1 mini on-board LED.

The metallic part creates a `horizon` and reflection for the 'sunrise' and protects the LEDs

WiFiManager screen

User's manual

* the central LEDs are 3 yellow and one red. left and right block use 3 yellow LEDs each

* the fireplace effect has center LEDs slowly random pulsing in smaller PWM range and the left and right LEDs fast random pulsing at full PWM range. the 'fire' fades over falling asleep time.

* the candles effect uses slow random pulsing of left and right LEDs block at small PWM range

EXPANDED TECHNICAL DETAILS

Circadian Lighting Interaction

The Sunrise Clock is a wellness project designed to wake the user up naturally using a simulated sunrise transition.

  • RGB Incremental Fading: Using a high-power RGB LED or NeoPixel strip, the Arduino starts a 30-minute countdown before the alarm time. It gently fades from Deep Red to Warm Orange to bright Daylight White (6500K) using 8-bit PWM resolution.
  • Real-Time Clock (RTC) Sync: Relies on a DS3231 RTC module to maintain time with high accuracy (±2ppm), ensuring the sunrise sequence starts precisely on time every morning.

Sensory Experience

  • Gentle Acoustic Backup: Includes a piezo buzzer or MP3 player module that gradually increases in volume at the end of the light sequence, providing a peaceful and non-jarring wake-up experience.

ข้อมูล Frontmatter ดั้งเดิม

title: "Sunrise Clock"
description: "A light 'alarm' clock designed for gentle wake-up with increasing light intensity."
author: "Juraj"
category: ""
tags:
  - "clocks"
views: 2320
likes: 1
price: 1499
difficulty: "Intermediate"
components:
  - "1x 4-Digit LED Display, TM1637, 50x19mm"
  - "1x Rotary Encoder with Push-Button"
  - "1x 5 mm LED: Red"
  - "1x Enclosure"
  - "1x dark screen"
  - "1x Resistor 10k ohm"
  - "1x Wemos D1 Mini"
  - "1x USB AC/DC power supply"
  - "1x Male Header 40 Position 1 Row (0.1\")"
  - "1x LDR, 1 Mohm"
  - "3x General Purpose Transistor NPN"
  - "10x Resistor 100 ohm"
  - "1x Prototyping board"
  - "1x Female/Female Jumper Wires"
  - "1x Soldering iron (generic)"
  - "1x USB-A to Micro-USB Cable"
  - "1x Wire, Wrapping Wire"
  - "9x 5 mm LED: Yellow"
tools: []
apps:
  - "1x Arduino IDE"
downloadableFiles:
  - "https://github.com/jandrassy/SunriseClock/tree/main/SunriseClock"
documentationLinks: []
passwordHash: "6cc49c51e1fde2b4d40e4368c63aaad44111efd8831a081fe8b6b3218a6c8d03"
encryptedPayload: "U2FsdGVkX195pDU28Jlf5l5jM2W3V9kPetJjeakT140F7btUSCz5UDIqrX8BKYps4voKTqeqcNfFLgBQb68rSUCSTsL52feAkl5HeEWbK1Y="
seoDescription: "Build an Arduino Sunrise Clock for a gentle wake-up experience with gradual light intensity."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/sunrise-clock-f6c152_cover.jpg"
lang: "en"