Korean Clock (HA Yong Son)

by Student Rover Challenge Korea in Circuits > Clocks

1528 Views, 8 Favorites, 0 Comments

Korean Clock (HA Yong Son)

0000.png
1.png

Hello, this is GoGo Maker.

* Before the start, the original author of the Hangul Clock is Homin Lee.

* Please do not post all the files and materials I share on your personal blog, or to copy & steal without permission

* This article is copied from my personal blog. Please come to the blog just once

Young Maker Network is a group to create an environment where students who are making maker activities in Korea can share and collaborate.
We plan to share and introduce students' introductions on various productions. Among them, this time, we introduce Hangul Watch from Son Ha Yong.

Supplies

my blog - GoGo Maker

Thank you for your interest in my blog.


The content of the article was so large that it was divided into 4 articles

1. Project Introduction

2. External, internal design

3. Hardware implementation

4. Software implementation


Introduction

2.png

It is a Korean clock, a clock that shows time in Korean.

This is an open source SW/HW project created by Homin Lee.

I got to know the Hangul clock by looking for interior items in my room, but it's pretty, but it's a lot bigger than I wanted and the price was expensive.

However, I decided to just make one as a person who needs to make it suitable for my environment.

That's how the nearly six-month long journey began...

Basic Setting and Initial Production

It was quite difficult to create a new arrangement of the Hangul clock, so I copied the arrangement of the existing Hangul clock program as it is. (This is a lot of regret.)

There are some differences between the Hangul watches that I make from those that search for'Hangul Watch Arduino'.

1. Time can be expressed in units of 1 minute. -If you look at the Hangul clock in another 5*5 arrangement, the time is displayed in units of 5 minutes. If that happens, it will be difficult to know the time. Because of that, I used a 6*6 array to make it in 1-minute increments.

2. Use of high-precision RTC module-With this, you can use a clock that does not produce much error within minutes per year.

3. Various LED color designation and brightness change-In the case of LED, the user can choose 12 colors and a random color mode is also applied.

4. Easy button operation-To make it possible to use it, time adjustment and LED adjustment are made possible with two buttons.

Also, everything except the Hangul clock arrangement was designed by myself.

And, we plan to make v2 and v3 in the future. Please look forward to!

v2 Improvements: (planned)

1. Change the brightness of the LED according to the ambient illumination using the CDS sensor

2. Add alarm function

3. Additional design improvement (place circuit inside)

v3 Improvements: (planned)

1. Using a temperature and humidity sensor and a fine dust sensor, it can also be used as a digital thermometer and fine dust measuring instrument.

This is the go-go maker.

See you in the next article!

Exterior, Interior Design

3.png

my blog : Please click.

In this article, I would like to talk about the overall design of Hangul Watch.

The design was divided into 4 parts.

1. Hangul clock plate design

2. Hangul clock interior design

3. Hangul Watch outer case design

4. Hangul clock base design

Design, fix, design and fix all these things...

It seems to have taken about a month.

Let's go see how we did it once~

Overall design direction

As I'll talk about in detail in the next article, I implemented the lighting of the clock using a neopixel strip. Therefore, the interval of the Hangul clock, which should be lit, had to be determined according to the interval of the neo pixel chip of the neo pixel strip.

Based on this interval, the figures for the layout design of the Hangul clock were determined, and the rest of the parts were made just by fitting (...).

For each part

Korean clock plate is 3T MDF laser cut

3D printing for outer case and inner parts

The pedestal is 3D printed

Made with.

Korean Clock Plate Design

4.png

Maybe it was the trickiest part. It was to make a 6*6 arrangement of the Hangul clock, and each Hangul had to be spaced, and I tried to make the size as small as possible.

The neo-pixel chip spacing of the neo-pixel strip I used was 16.7mm, so the spacing of each letter was also designed to be 17mm, which is close to 16.7mm.

First of all, in the case of an array of Hangul,

1: After drawing with a grid of 17 mm,

2: Create a letter in each cell,

3: After placing the letter in the center,

4: After exploding

5: Drink water and go to the bathroom

6: When laser cutting, connect the letters with the outside so that they can maintain their shape (in the case of ㅇ, laser cutting will cut the ㅇ inside, so it must be connected with the outside)

That's it...

And, following the point where the words to comfort you from the Hangul Clock program appear, I added'sometimes I need a rest' and a comma in the lower part.

In the case of letters, is it a sharing font? I used authorization (I can't remember it), and made by gogomaker remembers that I used a font that doesn't suffer from copyright issues anyway.

The comma was drawn and refined by looking at the comma illustration on the Internet directly.

The outside of the Hangul watch plate is designed in zigzag to give the feeling of being assembled with the outer case (to be bonded), and in the case of the square in the middle, it is a hole to be combined with the rear plate (see from the bottom).

The most time was devoted to the design of the plate, and the plate design was redesigned the second time through laser cutting after the first design.

※When laser cutting, please check carefully the laser thickness and other settings of your laser cutter before making it.

※Since the letters are quite thin, even if the laser cutting machine's laser thickness is a little thick, there may be a problem that the letters are not properly engraved.

Hangul Clock Interior Design

5.png
다운로드.png
6.png

The internal design of the Hangul clock is largely divided into two types.

There are two partitions to keep the LED light from leaking out to other places, and a diffuser* to soften the LED light.

*Diffuser: A device that gently diffuses strong light

Each compartment of the partition is made to match the position of the LED. The wall is 2T, and it is made of black PLA filament, 100% filling to ensure the role of blocking the light.

Looking at the top, you can see 5 small cubes protruding, through which the diffuser and Hangul clock plate can be fixed more accurately.

If you look at the design below, you can see that it protrudes long horizontally and goes in a constant length vertically, which is to make a place for Neopixel to pass by.

To fulfill its role, the diffuser is made of 1T thick white PLA filament between the divider and the watch face.

(If it is not white, the color may be distorted. Be sure to use white!)

Hangul Watch Outer Case Design

7.png
8.png

The outer case of Hangul Watch is well-designed because everything of Hangul Watch needs to go inside (...)

First of all, I made a groove shape so that the Korean clock plate is fixed on the top. And the lower part is designed so that a partition can fit in. And since space is also needed for the line connecting the neopixels to the left and right, it was also designed in consideration.

If you look at the bottom of the case, you can see there is a hole, and a neopixel line goes out through that hole.

Korean Clock Base Design

9.png

Lastly, the Hangul clock base was suddenly designed, so the quality is not so good...

When I finished it, I thought it would be better to give it a little angle, so I designed it in a hurry.

The vertically digging part in the middle is the part where the Hangul watch enters, and the one that protrudes from the top supports the back of the Hangul watch.

Since it is a Hangul clock, Naratmalsami was engraved, and Hangeul's first words ㅎ and ㄱ were engraved on both sides.

Overall Design

0.png
-.png

It is assembled in this way.

-conclusion

This is the go-go maker.

See you in the next article!

*If you have any additional information or questions, please contact us in the comments.

!Download the file from my blog!

Hardware Implementation

1.jpg
2.jpg
3.jpg
4.jpg
5.png
6.png
7.jpg
8.png

Introduction

In this article, I would like to talk about the implementation of Hangul clock hardware.

If we talked about the appearance in the last article, this time let's look at the core device, the electronic circuit.

*If parts other than the ones uploaded by me are used, or if the circuit is connected differently from the ones I uploaded, normal operation cannot be guaranteed.

Parts

First of all, you will need materials to make an electronic circuit, right?

The links on the list are links to the places I have purchased.

※There is no promotion, sponsorship, or advertisement.

material:

400-pin breadboard *1

Arduino Nano Compatible Board *1

DS3231 RTC module *1

Neopixel strip RGB 60 pcs/m *1

Tact button *2

470Ω resistance *1

Multiple red, black, yellow 24AWG single wire

In the case of Arduino Nano, if you want to save the price, you can purchase a non-pin soldered one. In fact, I recommend this, since the difficulty is quite high, I don't recommend it. (Nano, which is directly connected to the breadboard, reduces the number of usable pins on the breadboard. Therefore, you may experience difficulties when configuring the circuit).

It is recommended to use DS3231 for RTC module. First of all, it has the highest accuracy among the RTC modules that are generally available. If you are going to use this watch for more than one year after making it, there are parts that need to be processed due to the characteristics of the DS3231 module. We recommend that you familiarize yourself with the relevant part and take action, or use other RTC parts.

(I don't know if it's real information, but I write it down for me)

For Neopixel, please purchase the RGB module. When purchasing the RGBW module, the code does not match, so it needs to be modified a lot.

Resistance is to protect the signal terminal of Neopixel. It works without it, but it is dangerous.

Neopixel recommends connecting a 100~1000uF capacitor to the power supply. If you want to connect a capacitor, you can purchase it. However, since the Neopixel power supply is powered by the Arduino's internal power, I do not recommend it because I don't know exactly what will happen when the circuit is configured like this (if you know, please let me know in the comments).

Let's take a look one by one.

The circuit is simple.

Just plug the Nano into the breadboard, but you must plug it in with 3 spaces left on the side with many digital pins.

The Tact button is connected to pins 2 and 3 of the Arduino Nano. And you can see that the resistor is not connected and one side of the button is connected to the Arduino and the other side is connected to the ground. This is because the Arduino internal pull-up resistor is used.

The RTC is turned opposite to the actual connection due to the pin arrangement in the figure. However, if you connect the lines as shown in the picture above during actual assembly, there will be no problem.

The button connection is strange due to various other reasons, the signal line should be connected like the circuit diagram above, but the ground is not particularly related.

The Neopixel signal line had no space to place the circuit, so I was forced to use the part where the power line entered.

To use a capacitor, you can place it as shown in the picture above.

In order to work as cleanly as possible, the 24AWG solid wire was cut to fit the length.

Fixed Neopixel

In the case of Neopixel, the Hangul clock is arranged in a 6*6 arrangement, so I cut a total of 6 Neopixel strips by 6 LEDs and arranged each strip by connecting a line.

-conclusion

As I write, the content is really... not very much ha.

This is the go-go maker!

See you in the next article~

Software Implementation

1.png

Introduction

In this article, I would like to talk about the implementation of Hangul clock software.

Even though it didn't take two months, I couldn't concentrate on the Korean clock entirely, so it took me a long time to code a little bit by bit each day...

If you assembled the core hardware in the last article, let's look at the software that controls that hardware.

*Code may not work normally depending on individual circumstances.

I coded in visual studio community 2019, it is Windows 10 home 64bit, Arduino ver.1.8.13.

When uploaded from the Arduino ide, it was confirmed that it works.

Main subject

65535. How did the producer code

I coded one by one step by step.

1. First, after everything is assembled, to see if Neopixel works well, try using the Neopixel test code to see if there is any problem.

2. After writing codes that can display the time on Neopixel first

3. I had a DS1302 at that time, so I used it to proceed with coding and succeed.

-However, since there was a fatal error in the code written in this way, it fixes the error and adds several functions to the watch.

4. First of all, the displayed error is solved first

5. After adding the buttons, I have coded to have two buttons, one to control the LED and one to control the time.

-However, I had to implement two actions from one button, and this was very difficult.

-Even if I googled and did everything, it couldn't be resolved...

-It was decided to make a clock by using the internal millis function because the error value of even the RTC module was too large to be used in practice.

6. The clock can be used with the internal millis function

7. After spending almost a month on the button problem, I was able to succeed.

8. Instead of measuring the time in millis, change the code again to use the DS3231 module.

9. Succeeds in catching all of the problems caused by this and during the final test.

In particular, the moment I was most proud of was when the buttons were working properly, and the old congestion seemed to disappear.

Overall

You can see that the Arduino code file is divided into two. As you can see above, I divided the code into a main part and a function part, which made the code look and manageable overall at the same time.

I think the code can be explained in 3 parts.

1. Header file, variable declaration

2. void setup(), void loop()

3. Custom Function

By the way, the code has too much to explain, and if you upload the data, it would be much faster to analyze it yourself, so I only put the code.

If you have any further questions about the code, please contact us in the comments.

conclusion

Somehow it ended more refreshingly...

This is the go-go maker!

See you in the next article~

To download the code, go to the top link to my personal blog.

Future Improvements (Ver.2, Ver.3)

Introduction

The article on the Hangul Watch v1 maker ended this article last~!! (Very enjoyable)

However, there were a lot of regrets during the production of Hangul Watch v1, so we are planning v2 and v3 to improve the regrets and add new features!

Main subject

First of all, v2 will improve the fact that the Arduino, which is the biggest drawback of v1, is outside, and the Arduino will be placed inside the Hangul clock. If the electronic parts are exposed outside, there will be many problems, right? We will do that neatly.

In addition, if an alarm function is added and an alarm is set with a Korean clock, an alarm function such as a buzzer sound will be implemented at that time.

Finally, we will add an automatic brightness control function that changes the brightness of the Korean clock in response to external brightness.

Instead of focusing on the essential functions of the watch, v3 tries to add features that differentiate it from other watches & products. The current plan is to install a temperature/humidity sensor in the Hangul watch to display the temperature and humidity of the house, use a Wi-Fi module to receive and display fine dust data, and if possible, change the Hangul watch arrangement.

conclusion

The journey toward the long and long Hangul Clock is over!

I didn't write it well, but I hope this article I wrote will be helpful to those who read it a little.

This is the go-go maker.

See you in the next article!