Arduino Digital Hourglass

  Рет қаралды 286

The Tech Lab

The Tech Lab

Күн бұрын

Arduino Digital Hourglass
In ancient times people used Hourglass to measure the passage of time. Hourglass is a simple device that consists of two glass bulbs that are connected vertically with a narrow neg and that allows the flow of sand or fluid from top to bottom. most of the time the flow duration is about one hour that's why we call hourglass. That's enough why I am taking this because this tutorial is about How to build a digital Hourglass using Arduino.
making Arduino Digital Hourglass
Step 1: Materials Needed for Making Arduino Hourglass
let's start with gathering all components first we need a brain to control everything here I am going to use an Arduino because it has enough digital io pins also Arduino supports i2c. next to detect the orientation we need an accelerometer in this case I am going with ADXL335 3 axis accelerometer. To represent the sand we need LEDs for easy connections I am going with an 8*8 led matrix which is driven by max7219ic so we can control this matrix with just three pins. We need two of them one for the top and one for the bottom. Finally, a battery of 7.4 volts will perfect for this job. additionally, we need wires and some foam board for making the frame.
Arduino
ADXL335 3 axis accelerometer
8*8 led matrix
7.4v battery
Step 2: Circuit Diagram
Step 3: Building the Circuit
After gathering all components let's start building.
First, I tested the circuit on the breadboard and everything works perfectly fine. So I decided to solder everything permanently. First, we need to cascade two led matrices together that is we need to connect the Dout pin of the first matrix to the Din pin of the second matrix also connect the clock pin to clock and ds to ds. I used enameled copper wire to connect modules together. Also, I connected wires to Arduino and the accelerometer.
Connect the VCC of the led matrix and accelerometer to the 5v pin of Arduino. Then connect the ground pins of Arduino, Ledmatrix, and accelerometer together. After that connect the CLK pin to Arduino D4 din to D5 and DS to D6. Connect the x-axis out of the accelerometer to A1 and Y-axis to A2.once again I tested the circuit and varified everything.
Step 4: Making the Enclosure
Now let's make a simple enclosure to hide everything inside and to increase the overall look for enclosure making I am a using 3 mm foam sheet. Please watch the video tutorial about this. after cutting the foam sheet into the required size. Glue everything together and make a rectangular box shape. We have to place the led matrix in a conical shape to get a look similar to an ancient hourglass. Then placed everything inside the box I placed the accelerometer on the side of the box. Finally, I added a small switch to this circuit and placed it on the backside of the box.
Step 5: Coding and Finishing
link : create.arduino...
@MG Production @theworldnews @mgproduction
WEBSITE - mohitgajera.com
FACEBOOK - / mohit.gajera007
TWITTER - / mohitgajera
INSTAGRAM - / mohitgajera1
COPYRIGHT @MG Production © ®
COPYRIGHT @THE TECH LAB © ®
COPYRIGHT @🌎THE WORLD NEWS 🌎 © ®

Пікірлер: 1
@hotwheelsindia
@hotwheelsindia 2 жыл бұрын
Nice
WIFI Control Smart Car Using ESP32 - IoT
13:22
The Tech Lab
Рет қаралды 68 М.
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
DIY D2-1 Intelligent Line follower/Tracing Car Kit
16:29
The Tech Lab
Рет қаралды 47 М.
Yamaha MT-09
3:07
The RUN Magazine
Рет қаралды 2,4 М.
PARKSIDE 65W USB Type-C Phone Charger
7:05
ErCan Everything
Рет қаралды 16 М.
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54