Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.15 KB

File metadata and controls

46 lines (31 loc) · 1.15 KB

Time utilities for Arduino UNO

Device features:

  • Stopwatch
  • Timer
  • Watch

Device control

Press the E button to switch utilities.

  • Stopwatch:
    • A - start / stop / reset
  • Timer and Watch:
    • A - start / stop
    • B - set seconds
    • С - set minutes
    • D - set hours

Circuit diagram

Circuit diagram of the device made in Proteus 8:

TimeUtilitiesScheme

Running simulation in Proteus

Compilation

Open the source.ino file in Arduino IDE.

Select Arduino UNO in the board selection menu.

Open the Sketch menu in the top panel > Export Compiled Binary.

The firmware file will be compiled to source/build/source.ino.hex.

Simulation

Open the TimeUtilitiesScheme.pdsprj file in Proteus.

Double-click on the Arduino board.

Click the Program File button.

Select the file source/build/source.ino.hex.

Run the simulation.

UML class diagram

UMLTimeUtility