Smart alarm clock

Let your whole house wake you up

S‌lowly turn up the brightness of lights in your bedroom

device
Wake up well

By waking up slowly, following your own body rhythm.

Automatic summer time

The controller keeps your alarm clock synced up.

Group effort

Let all your devices help your alarm clock wake you up.

Snooze without losing‌ 

Set a deadline for when you really should get out of bed.

Building the alarm clock

Estimated build time: 30 minutes.

Connect the rotary encoder knob

Connect its CLK (Clock) pin to signal pin A0, connect its DT (Data) pin to signal pin A1, and connect its SW (Switch) pin to signal pin A2.

Connect the motion sensor

Connect its middle pin to signal pin 3.

The motion sensor will be able to detect movement in bed. When it detects movement close to the internet wake up time, it starts the wake-up procedure.

Connect the OLED screen

Connect SDA (Signal Data) to signal pin A4 and SCK (Signal Clock) to signal pin A5.

Plug in the Arduino

Plug in the RF-Nano Arduino

Plug the RF-Nano into its socket. The USB connector should be on the outside of the main board.

Open the Candle Manager

Visit the controller, and click on the "Create Candle" link to open the Candle manager. Follow the step by step guide. It will help you upload the code to your new creation.

Add your new device

Visit the Mozilla Gateway controller and on the things page press the (+) icon. Your new creation should be available. Optionally, select which of its properties you'd like to have in the spotlight. Click on "save" to complete the proces.

Shopping list

This shoppinglist on Aliexpress will get you everything in one go.
PIR motion sensor
Sep 02, 2019

A very small infrared motion sensor.

Rotary encoder
Sep 02, 2019

A rotary encoder can be endlessly turned in either direction.

Small OLED screen
Jan 21, 2019

This small screen is built with OLED technology. It uses very little power.

RF-Nano Arduino
Aug 10, 2018

The RF-Nano is an Arduino Nano with built-in wireless connectivity. It's the brain of all Candle devices.

Dupont wire
Aug 09, 2018

These wires allow you to easily connect the main board to sensors and actuators. They snugly fit over the pins. No soldering…

Expansion board
Aug 06, 2018

This expansion board makes it easy to connect everything by just plugging in wires.