CAD: CPX Alarm Clock

by anaya_jss in Circuits > Electronics

383 Views, 0 Favorites, 0 Comments

CAD: CPX Alarm Clock

Screenshot (22).png

The CPX (Circuit Playground Express) is a device used for beginner coding and experimentation. It can be coded through its built-in lights, sensors, and can make sounds as well. 

A Servo Motor is a device used electronically to rotate parts of a machine or design with high efficiency and precision.


Design challenge: Design an alarm clock that makes a noise and open with (with the servo motor) when it goes off every hour while showing the time on the CPX.

Supplies

Adafruit Circuit Playground Express: CPX

USB to microB cable

Li-Ion battery 500MA

Circuit Python

Wooden Box(from the store)

Defining the Problem

Screenshot (16).png
Screenshot (17).png
Screenshot (18).png

Our team is creating an alarm clock that is battery and motor powered. The alarm clock in particular will be within a wooden box that will open at the start of each hour. The CPX wearable will be within as the alarm clock producing the sound and showcases lights. With the help of the motor which will also be within the box, the box will be able to open as the sound goes off. The design will be travel size and there will be a variety of colors and sounds available.

Design Generation

Screenshot (10).png

As a group we decided to create a new project to work on. Above talks about how and why we came to that conclusion as a team.

Design Evaluation

Screenshot (11).png
Screenshot (19).png

Above is the separated constraints and objectives of the new project we were working on. I, Anaya, specifically had brainstormed the needed constraints and the wanted objectives of the new project which is an alarm clock. Darby then ranked and graded the objectives and constraints in a best if class chart from the book(8.3).

Coding

Screenshot (21).png
Screenshot (20).png
IMG_7979.JPEG
IMG_7980.JPEG

Final Design

IMG_0201.jpg
IMG_0202.jpg
  • Our final design is a wooden alarm clock with included storage. 
  • The alarm clock uses the servo motor to open the lid and uses the Circuit Playground Express to tell time and alert users once an hour. 
  • The alarm clock is useful for holding small items and for alerting users when needed. 
  • The CPX can be read just like an analog clock because it will light up on the correct hour just as a clock would to show the time of the day or night.
  • specifically, all times will be told singularly but 12 and 6 o'clock will have two sections light up.
  • 12 o'clock will have the top two light up red and 6 o'clock will have the bottom two light up red


References

Asana. “Manage Your Team's Work, Projects, & Tasks Online • Asana.” Asana, https://asana.com/. 

“Downloads.” CircuitPython, https://circuitpython.org/downloads. 

Dym, Clive, et al. Engineering Design: A Project-Based Introduction, Fourth Edition. John Wiley & Sons, 2013. 

“Yours for the Making.” Instructables, https://www.instructables.com/. 

“Adafruit Circuit Playground Express - Blocks / Javascript Editor.” Adafruit Circuit Playground Express - Blocks / Javascript Editor, https://makecode.adafruit.com/.