Project showcase

4-Stroke Digital Clock With Arduino © CC BY-NC-ND

This digital clock driven by Arduino is a fun emulator of 4-stroke engine where the digits of hours & minutes represent the pistons moving.

  • 16,748 views
  • 15 comments
  • 46 respects

Components and supplies

Apps and online services

About this project

Introduction

The "4-Stroke Digital Clock" driven by Arduino is a fun emulator of an internal combustion engine in a digital clock. Hours and minutes digits represent the pistons moving and with a precise RPM control (100 to 800). The RPM are shown by two columns in the center of display.

Another interesting visual information is the firing sequence "1-3-4-2" of cylinders. Spark starts when the piston is at the top of cylinder in the compression cycle. The code is a good exercise for managing dot matrix pixels and for introducing a simple animation feature.

Video

The 4-Stroke Internal Combustion Engine

The engine model used in this project is an I4 (four cylinders in line) in 4-Stroke cycle. The 4-stroke internal combustion engine works in 4 steps (Intake-Compression-Combustion-Exhaust) as illustrated in the diagram below:

Note: More basic information of Internal Combustion Engines can be find at Wikipedia.

The Clock

In this project the digits of Hours and Minutes simulate the pistons moving and the spark is highlighted in correct time for all cylinders.

The rotation is accurately calculated to represent the actual speed and the value is adjusted by a rotary potentiometer from 100 to 800 RPM (Revolutions Per Minute).

Material List

  • Arduino UNO R3
  • LED Dot Matrix with MAX7219
  • DS1307 RTC (Real Time Clock)
  • Rotary Potentiometer - 10K Ohms
  • Breadboard
  • Print Template
  • Jumpers

Assembly

The assembly is very simple but you must follow the attached diagram with attention.

Custom parts and enclosures

Template for Dot Matrix LED display
Template must be printed in original size.

Schematics

Breadboard sketch
Breadboard sketch

Comments

Similar projects you might like

Digital & Binary Clock In 8 Digits x 7 Segments LED Display

Project tutorial by LAGSILVA

  • 3,492 views
  • 3 comments
  • 11 respects

Digital And Binary Clock With Two LED Matrix And RTC

Project tutorial by LAGSILVA

  • 12,571 views
  • 41 comments
  • 46 respects

Digital Clock with Arduino, RTC and Shift Register 74HC595

Project tutorial by LAGSILVA

  • 33,225 views
  • 26 comments
  • 75 respects

Complete Digital Clock Including Alarm and Motion Sensor

Project tutorial by LAGSILVA

  • 21,317 views
  • 22 comments
  • 73 respects

Amazing Binary Clock using LED Matrix Module

Project in progress by LAGSILVA

  • 11,923 views
  • 13 comments
  • 63 respects

Ternary Digital Clock with Arduino

Project tutorial by LAGSILVA

  • 6,006 views
  • 6 comments
  • 15 respects
Add projectSign up / Login