|
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...
- DIY DRSSTC Music Tesla coil with Interrupter using cheap Driver Module DRSSTC (Dual resonant solid state tesla coil) is a type of Tesla coil that uses solid-state compone...
- Arduino HPDL1414 Retro Clock with Set and Alarm Functions The HPDL-1414 is a 16-segment LED display with four printable fields that is over twenty years old....
- How to turn a 7 inch Elecrow pi terminal into a standalone SDR Radio Today I received the Pi Terminal-7” IPS HMI CM4 Panel All-In-One Module Raspberry Pi Computer from E...
- DIY Simple Functional Lakhovsky MWO (Multiwave Oscillator) Therapy Device The Lakhovsky Multiwave Oscillator (LMO) is a device that was developed by Georges Lakhovsky in the...
- DIY simple Advanced Weather station (5day forecast) and Internet Radio ELECROW crow panel 2.8 inch esp32 display module is ideal for making simple but also relatively com...
- How to turn a Mouse into a Wireless Tuning Knob for SDR Radio A software defined radio basically consists of an RF front-end hardware part and specialized softwa...
- Arduino Car Paint Thickness Indicator - Meter A paint thickness indicator is useful in industries like automotive, aerospace, marine, and constru...
- Simple Arduino Solar Radiation Meter for Solar Panels The sun provides more than enough energy to meet the whole world’s energy needs, and unlike fossil f...
- Simple ESP32 CAM Object detection using Open CV Object detection is a computer vision technique that involves identifying and locating objects with...
- Arduino OPLA IoT Kit blink_ Example and Symon Says Game The Arduino Opla IoT Kit is a versatile kit designed for creating and managing Internet of Things ...
- How to make Simplest and Cheapest compact Internet Radio - Yoradio Internet radio is a digital audio service that streams music, news, and other forms of audio conten...
- DIY Simple STM32 Virtual Electronic Finderscope (Stellarium Compatible) A finderscope is a small auxiliary telescope mounted on the main telescope to help locate and cente...
- Simple TEF6686 DSP AM FM tuner with ESP32 microcontroller The TEF6686 radio module is intended for AM/FM receivers for cars. This miniature module has amazin...
- ELECROW Crow Panel 2.8-ESP32 HMI Display - simple TFT_eSPI examples These days I received a shipment from Elecrow that contains several components that I ordered a wee...
- DIY Advanced Theremino Sonar Theremino is an open-source platform designed for hobbyists and makers, providing a versatile framew...
- Single Mosfet - Class E - Solid State Tesla Coil A Solid State Tesla Coil (SSTC) is a type of Tesla coil that uses solid-state components such as tr...
- DIY Ultra Sensitive Theremino-Arduino Polygraph, Scientology E-Meter A polygraph, commonly known as a lie detector, is a device used to measure and record several physi...
-
-
-
3D printed Enclosure Backplate for Riden RD60xx power supplies
63 0 0 -
-
-
-
Sega Master System RGB Encoder Switcher Z80 QSB v1.2
65 0 0 -
18650 2S2P Battery Charger, Protection and 5V Output Board
87 0 0 -
High Precision Thermal Imager + Infrared Thermometer | OpenTemp
455 0 7 -
Sony PlayStation Multi Output Frequency Oscillator (MOFO) v1
134 0 2 -