Skip to content

In this project a clock was created where the user can adjust hours, minutes, seconds, days, months and years. In addition, the clock has an alarm function, the user can configure the clock both via a serial terminal and also with the help of buttons.

Notifications You must be signed in to change notification settings

Railson95/CommunicationSerial-Clock-With-Buttons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Clock with serial communication and buttons

About

In this project a clock was created where the user can adjust hours, minutes, seconds, days, months and years. In addition, the clock has an alarm function, the user can configure the clock both via a serial terminal and also with the help of buttons.

Table of Contents

How to use

Pre Requirements

To run the system you will need to install
*MPLAB X IDE v3.55
*XC8 v1.41
*peripheral-libraries-for-pic18-v2.00rc3
*Proteus Professional 8.5 - SP0

Operation of buttons

In this 4-button system
1) Change screen -> being able to follow both Time and Date or alarm
2) Swap cursor -> move the LCD cursor 
3) Increment
4) Decrement

serial communication

For the serial communication to work, where the user can update the clock or even show the current data in another terminal, it is necessary to follow the following logic
1) if is typed 1, 1 : The current time will be shown in the second terminal
2) if is typed 1, 2: The current date will be shown in the second terminal
3) if is typed 1, 3: The current alarm will be shown in the second terminal
4) if is typed 2, 1, HH, MM, SS : The clock time will be updated and shown in the second terminal
5) if is typed 2, 2, DD, MM, YY : The clock date will be updated and shown in the second terminal
6) if is typed 2, 3, HH, MM, SS: The clock alarm will be updated and displayed on the second terminalterminal

Tests

Reading the time and showing it on the terminal

Editing the time and displaying it on the LCD

project status

🚧 Clock with buttons and serial 🚀 Under construction... 🚧

Technologies

Author

Made by Railson Martins 👋🏽.

About

In this project a clock was created where the user can adjust hours, minutes, seconds, days, months and years. In addition, the clock has an alarm function, the user can configure the clock both via a serial terminal and also with the help of buttons.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published