GithubHelp home page GithubHelp logo

colecosta7 / digitalalarmclock Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.55 MB

The digital alarm clock designed in this experiment utilizes a Nucleo-L476RG board [1-2], a DS3231 Real Time Clock Module [3], a buzzer, a 4x4 hard-key keypad, and a UART terminal. The digital alarm clock is organized into a finite state machine consisting of 7 states.

C 98.42% Assembly 0.24% Makefile 1.34%

digitalalarmclock's Introduction

DigitalAlarmClock

The digital alarm clock designed in this experiment utilizes a Nucleo-L476RG board [1-2], a DS3231 Real Time Clock Module [3], a buzzer, a 4x4 hard-key keypad, and a UART terminal. The digital alarm clock is organized into a finite state machine consisting of 7 states. The clock features 4 different commands input from the keypad: set the current time/date, set an alarm, display a list of commands, and display the current alarm. Upon connecting to power, the clock and alarm are not set, therefore the initial time and alarm set display incorrect values. This means that upon disconnecting from power, the current time/date and alarms are reset. The initial state of the device is the GET_KEY state. Main source code can be found in the Core folder.

//System Schematic P3Schematic

//Digital Alarm Clock FSM P3FSM (1)

//Hardware Setup CDFF3054-FB51-48CE-B78B-909A37FC54C5_1_105_c

E69FB99D-A6C6-449C-B8D8-EB48D8DAEDCE_1_105_c

//UART Terminal Screens //Clock Display

P3ClockDisplay

//Set Clock Display

P3SetClockScreen

//Set Alarm Display

P3AlarmSetScreen

//Commands Display

P3CMDScreen

//Alarm Going Off Display

P3Alarm

//Alarm Display

P3AlarmDisplay

digitalalarmclock's People

Contributors

colecosta7 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.