|
|
Arduino Nano R3 |
x 1 | |
|
|
8x8 Led Matrix (common anode) |
x 1 | |
|
|
Analog Accelerometer: ADXL335 |
x 1 | |
|
|
ds3231 realtime clock module |
x 1 | |
|
|
74HC595 shift register IC |
x 1 | |
|
|
Resistor 330 ohm |
x 8 | |
|
|
LDR Resistor |
x 1 |
|
Soldering Iron Kit |
|
|
arduino IDEArduino
|
Arduino Buttonless LED Matrix Clock with ADXL335 sensor
This time I will describe to you a way to make an interesting clock on an 8x8 Led matrix, that does not contain any buttons and is adjusted by different movements. This is another one of my collection of unusual clocks, which you can view on my clocks playlist. By the way, I made this clock many years ago on a homemade matrix of 64 yellow 5mm LEDs, and you can watch it at the given link.

Unlike then, this time the clock is made on a ready-made matrix, and I will also describe to you in detail the way of making it, together with the schematic diagrams, and the code.
Otherwise, this beautiful clock is the work of Mark Wilson on whose site you can view the original project.
The device is relatively simple to build and consists of several components:
- Arduino Nano Microcontroller
- 8x8 LED matrix with a common anode
- DS3231 Realtime clock module
- ADXL335 Accelerometer module
- LDR resistor
- i 74HC595 shift register IC

The project is very old and dates back to 2012, so the code needs to be compiled with Arduino IDE version 1.0.6 or older to compile without errors. The Matrix Clock folder contains all the required libraries, so no additional installations are required. Otherwise, in the "PINS" tab, a connecting diagram is presented, which contains a small error in the markings of the cathodes and anodes of the diodes in the matrix. In any case, I recommend that you use the schematic diagrams that I have presented below, and one is if you use a ready-made 8x8 matrix with a common anode, and the other is with a DIY matrix. Just to mention that the common anode and common cathode single color matrices are actually hardware identical, just the rows and columns are swapped. Also, in the original project was used an IMU sensor of the AM3X type , but since this module is no longer produced, I used the ADXL335 sensor module.

Now in order for the device to function normally, it should be in the IMU.cpp tab in the line:
return Voltage/VoltsPerG*100.0; -> to replace the value 100.0 with 150.0
The IMU sensor module should be placed exactly in that position as you see in the pictures. Now let's see how the device works in reality. This clock has several display modes that can be changed by rotating the case for 90 degrees. When switching on, the current time appears and the hour is represented in the middle with a 5×7 font, and the minutes are represented on the edges, with a resolution of 5 minutes (more precisely, the distance between two diodes is 5 minutes).

Now if we rotate it to the left by 90 degrees, it shows the current room temperature in degrees Celsius

One more time to the left by 90 degrees and we enter a mode where the time is written in words.

And with the next rotation, we get the so-called Matrix screen effect.

Finally, by rotating again to the original position, the current time is presented again
Next I will describe the setting of this clock.
- To get the Random Pseudo Words effect, we go in the following order:
Face up -> upside down
- For setting the hours the order is:
Up -> Left -> down -->> right = setted
- For setting minutes:
Repeat Up -> Left -> Down -- >> right = setted
In a similar way, we can change the sensitivity of the LDR resistor, as well as the brightness of the display.

And finally a short conclusion. Although the project is more than 10 years old, the idea of replacing mechanical buttons with an IMU sensor is excellent. Nowadays, it is possible to make such a clock with njs2812 matrix, which would be extremely simple to make, cheap, but also the possibility of many color effects. I'm suggesting this as an idea for a DIYer who is more adept at programming than I am.


Arduino Buttonless LED Matrix Clock with ADXL335 sensor
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Mirko Pavleski
-
Arduino 3D Printed self Balancing Cube
Self-balancing devices are electronic devices that use sensors and motors to keep themselves balanc...
-
Build simple Retro Style VFO (Variable frequency oscillator) with Crowoanel 1.28 inch Round Display
Today I received a shipment with a Small round LCD display from Elecrow. The device is packed in tw...
-
Human vs Robot – Rock Paper Scissors with MyCobot 280 M5Stack
Today I received a package containing the few Elephant Robotics products. The shipment is well pack...
-
How to Build a Simple Audio Spectrum Analyzer with Adjustable Settings
An audio spectrum analyzer is an electronic device or software tool that measures and visually disp...
-
How to Make a Digital Clock on a Vintage B&W TV using Arduino
These days I accidentally came across this small retro Black and White TV with a built-in Radio, so ...
-
Build a $10 Function Generator with Frequency Meter for Your Lab
A function generator is a piece of electronic test equipment used to generate various types of elec...
-
From Unboxing to Coding - Radar Clock on Elecrow’s 2.1 HMI Display
Today I received a shipment with a large round LCD display from Elecrow. The device is packed in two...
-
Making a Retro Analog NTP Clock with Unihiker K10 - Arduino IDE Tutorial
Some time ago I presented you a way to use standard Arduino libraries on the Unihiker k10 developme...
-
Build a Cheap & Easy HF Preselector - Antenna Tuner
HF antenna preselector is an electronic device connected between an HF radio antenna, and a radio r...
-
DIY Static Charge Monitor - Electrostatic Field Detector (Arduino & TL071)
A Static Charge Monitor also known as a Static Field Meter or Electrostatic Voltmeter is a device u...
-
XHDATA D-219 Radio Short Review with complete disassembly
Some time ago I received an offer from XHDATA to be one of the first test users of their new radio m...
-
How to make Simplest ever Oscilloscope Clock
An oscilloscope clock is a unique and creative way to display the time using an oscilloscope, which...
-
DIY Digital Barograph with BME280 and ESP32 - 24 Hour Pressure Trends
A barograph is a self-recording barometer that continuously measures and records atmospheric pressu...
-
Build a Raspberry Pi Pico SDR Radio with Waterfall Display
Software-defined radio (SDR) is a radio communication system where components that have traditional...
-
DIY Magnet Polarity Detector - How to Identify Poles with a Hall Sensor from a PC Fan
Recently, while working on a project, I needed to determine the polarity of several permanent magne...
-
Light Meter Project - Making Dfrobot Unihiker K10 Work with Standard Arduino Libraries
The other day I received a shipment with a UNIHIKER K10 development board from DFRobot, which I rec...
-
DIY Simple Arduino Whack-a-Mole Game
A "Whack-a-Mole" game is a classic arcade-style game where moles pop up randomly from holes, and th...
-
Wireless Power Transmission, Long-Distance and High-Efficiency with Class-E Tesla Coil
Wireless energy transfer also known as wireless power transmission is a method of getting useful el...
-
-
AEL-2011 Power Supply Module
321 0 1 -
AEL-2011 50W Power Amplifier
295 0 1 -
-
-
Custom Mechanical Keyboard
564 0 0 -
Tester for Touch Screen Digitizer without using microcontroller
229 2 2 -
Audio reactive glow LED wristband/bracelet with NFC / RFID-Tags
235 0 1 -
-
-







