Close
0%
0%

DIY Smart Scale With Alarm Clock

A DIY smart scale with alarm clock. No more snoozing: the alarm will go on until you stand on the scale and give up going back to bed!

Public Chat
Similar projects worth following
In my previous project, I developed a smart bathroom scale with Wi-Fi. It can measure user's weight, display it locally and send it to the cloud. You can get more details about this on link below:
https://hackaday.io/project/159086-diy-wi-fi-smart-scale-with-esp8266
This solved part of my problems: how to keep a record of my weight and track my gain (or loss) of weight. And then I decided to tackle a second problem: how to wake up earlier (and stay awake)!In this project I turned my smart scale into an alarm clock. Now, in addition to the features already developed, it has an integrated clock (synchronized with an internet server) and a buzzer. Once the alarm is triggered, it continues to ring until the user can gather enough courage to get out of the bed and stand for a few seconds on the scale.

In my previous project, I developed a smart bathroom scale with Wi-Fi. It can measure user's weight, display it locally and send it to the cloud. You can get more details about this on link below:

https://hackaday.io/project/159086-diy-wi-fi-smart-scale-with-esp8266

This solved part of my problems: how to keep a record of my weight and track my gain (or loss) of weight. And then I decided to tackle a second problem: how to wake up earlier (and stay awake)!

Smartphones' alarm clocks typically comes with snooze function. With the push of a button there goes another 10 minutes... and since it is impossible to press the snooze button only once, there goes an hour!

So I thought: how do I make sure I get out of bed (and maybe don't come back) after the ringing of my alarm clock? A normal person might think about putting the alarm clock more distant (or to add several alarms), however I preferred to attack the problem in the makerstyle: using a bit of electronics, programming and Wi-Fi!

In this project I turned my smart scale into an alarm clock. Now, in addition to the features already developed, it has an integrated clock (synchronized with an internet server) and a buzzer. Once the alarm is triggered, it continues to ring until the user can gather enough courage to get out of the bed and stand for a few seconds on the scale.

There are several ways to use this tutorial. You can use it to: - Learn how to program an ESP8266 using the Arduino IDE;

- Practice your 3d printing, electronics, programming, soldering skills, etc;

- Learn some tricks using an ESP8266 (using displays, a buzzers, etc.);

- Learn how to use IFTTT and Adafruit.io on your projects;

- Make some experiments with woodworking;

- Follow it to the end and create your own gadget!

Liked that project? Please consider supporting my future projects with a small Bitcoin donation! :D BTC Deposit Address: 1FiWFYSjRaL7sLdr5wr6h86QkMA6pQxkXJ

P.s. #1: it's not meant to be used as a cat scale! But, since they were always by my side, they had their place in this tutorial.

P.s. #2: no cats were harmed durring the this project!

ino - 12.01 kB - 09/03/2019 at 02:46

Download

View project log

  • 1
    Tools and Materials

    The following tools and materials were used in this project:

    Tools and materials:

    • 3D printer (link / link). It was used for printing the case where the electronics are encloused.
    • Solder iron and wire. Some of the components (ESP8266 Firebeetle and LED matrix cover, for instance) doesn't come with soldered terminals. I needed to solder some wires or pins in order to connect those devices.
    • Shrinking tube (link / link).l also had to solder the wires of each load cell. A piece of shrinking tube might be used for a better isolation of the conductors.
    • Screwdriver. The structure is mounted using some screws. A set of screwdrivers was used.
    • Screws. I used some screws to attach the 3D printed parts to the base of the scale.
    • M2x6mm Bolts. They were used for mounting the electronics inside the case.
    • 1.75mm PLA (link / link) of any color you want.
    • FireBeetle ESP8266 dev board. It's really easy to use and program using Arduino IDE. It has built-in Wi-Fi module, so you can use it in a variaty of projects. It has a connector for a 3.7V battery, which was really usefull for assembling this project. I has also a built-in battery charger. It will recharge the battery when connected to an USB plug. You can also use other ESP8266 based boards (link / link) if you wish. Deppending on the board you choose, it would be a little more difficult to connect and recharge the battery, or to connect the LED matrix. The dimensions of the case will also need to be verified.
    • Firebeetle covers - 24x8 LED matrix. This module easilly fits on top of the Firebeetle ESP8266 dev board. I used it to display the values measured by microcontroller, display some status, etc. You can also use other kinds of display if you wish, like ordinary LCD displays (link / link) or OLED displays (link / link).
    • HX711 module (link / link). This works as a load cell amplifier. Four strain gauge load cells are connected to this module, and it communicates on a serial communication with the ESP8266 microcontroller.
    • 50kg load cell (x4); (link / link). They are used to measure the weight of the user. Four of them were used for a maximum weight of 200kg.
    • Buzzer (link / link). This was used for creating annoying noises and wake me up!
    • Micro USB cable;
    • 6 female-female jumper wires (link / link);
    • 2 x 15 mm plywood sheet (30 x 30 cm). It was used for the base of the scale.

    The links described above are only a suggestion of where you can find the items used in this tutorial (and support my future hacks). Feel free to search for them elsewhere and buy at your favourite store.

    I used a FireBeetle ESP8266 dev board, which was kindly supplied by DFRobot. It worked perfectly!

    Did you know you can buy a Anet A8 3D printer for only $139.99? Get yours! http://bit.ly/2kqVOdO

  • 2
    3D Modeling

    In this project I used the same 3D printed parts designed for my DIY Wi-Fi Smart Scale project.

    The smart scale was desgined using Fusion 360 CAD software. The model is composed of three different 3D printed parts: cover, case and foot.

    A 3D printed case provides an enclosure for the electronics, protecting them from physical contact. Electronics are attached in the cover part (using some bolts). This part has a front visor, where the display is attached. Load cells fit into the foot part, which allows the sensors to be attached to the base.

  • 3
    3D Printing and Woodworking

    You can download all the stl files on the following websites:

    https://www.thingiverse.com/thing:2934791

    https://pinshape.com/items/45555-3d-printed-diy-wi-fi-smart-scale

    https://www.youmagine.com/designs/diy-wi-fi-smart-scale

    https://cults3d.com/en/3d-model/gadget/diy-wi-fi-smart-scale

    https://www.myminifactory.com/object/3d-print-diy-wi-fi-smart-scale-66654

    I printed the whole structure in PLA, usign two different colors. The whole print took me around 5h30, using 0.2 mm resolution and 10% infill. No supports needed.

    This is a experimental prototype. Notice that it was designed for a given ESP8266 dev board model (the ESP8266 Firebeetle).

    If you don't have a 3D printer, here are some things you can do:

    • Ask a friend to print it for you;
    • Find a hacker/maker space nearby. The parts used in this model can be printed quickly. Some hacker/maker spaces will only charge your for the materials used;
    • Buy your own 3D printer. You can find the Creality3D CR10 for only $389.99! Get yours at http://bit.ly/2JIUVrf
    • Improvise! You can try to assemble a structure without 3D printed parts.

    The base of my scale was mede of two 15mm 30 x 30 cm sheets of plywood.

    I made some whole using a screwdriver for passing the wires of the load cells, and for attaching the 3D printed parts.

View all 10 instructions

Enjoy this project?

Share

Discussions

igorfonseca83 wrote 09/09/2019 at 23:30 point

Thanks, Dan! I'm glad you liked it! :D

It's a way to get the lazy ones out of the bed. It would also be configured to buzz periodically if you're on the couch watching TV for too long! :)

  Are you sure? yes | no

Dan Maloney wrote 09/06/2019 at 17:57 point

I like the idea of "interactive" alarm clocks. If the clock is on the nightstand, it's too easy to swat the snooze button and just roll back over. Making the clock force you to get your feet on the floor is pretty smart.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates