Clock With Laser Projector!

by cristinepotu7171 in Circuits > Arduino

1714 Views, 24 Favorites, 0 Comments

Clock With Laser Projector!

snapshot.png
Clock With Laser Projector! Visuino Project!

Attention: this project uses laser light, handle the components with care, DO NOT expose your eyes to the laser beam!

  1. Hello, today I present to you the construction of a clock with a laser display. A laser beam coming from a pointer excites a paint with phosphorescent properties in a certain movement sequence.
  2. A project in which we make the junction between painting, electronics and Arduino programming.

Supplies

snapshot1.png
snapshot2.png
laser-punktowy-linelaser-5mw-dioda-mitshubishi-czerwonyred-special--removebg-preview.png
1848691-40.jpg
DS1302-RTC-Module-Pin-Diagram-removebg-preview.png
download__4_-removebg-preview.png
images-removebg-preview.png
bc547-100ma-45v-npn-si-small-signal-transistor-to-92-en-bc-transistors-mic-54391-68-B-removebg-preview.png
2767-1_2018-11-02-600x600-removebg-preview.png
download__2_-removebg-preview.png
Carbon-Resistor-And-Its-Structure-1-1-removebg-preview.png
Electronic-Component-Red-LED-removebg-preview.png
  1. Glow In The Dark Paint (https://www.gloeffex.com/collections/glow-in-the-dark-paint)
  2. 3x brushes& canavas for painting
  3. Laser Point Blue
  4. Arduino NANO
  5. RTC 1307 clock module
  6. 3x SG90 servomotor
  7. LM 317
  8. BC 547 npn transistor
  9. 10 potentiometer
  10. push button
  11. 240 ohm resistor
  12. 390 ohm resistor
  13. 820 ohm resistor
  14. LED
  15. Visuino programm
  16. Arduino IDE

Schematic Diagram

1848691-40.jpg
IMG_20240927_185722266_HDR.jpg
IMG_20240927_190033970_HDR.jpg

The electrical diagram is shown in the image above. The servomotors will be connected in the order indicated and following the attached photo. The laser diode is powered by a constant current circuit made with LM317. You can adjust the brightness of the laser beam in small limits from the 10k potentiometer.


Mount a 3V battery on the RTC 1307 module in the module's special slot. This will ensure the operation of the internal clock even if the supply voltage of the assembly is interrupted.

Connect + to the pointer housing, and - to the central connector, as seen in the photo.


Mechanical Construction

IMG_20240927_185811445_HDR.jpg
IMG_20240927_185722266_HDR.jpg
IMG_20240927_190033970_HDR.jpg
IMG_20240927_190042839_HDR.jpg
  1. having 3 servomotors in motion, the mechanical construction represents an important factor in the accuracy of displaying the numbers on the paint. Make the solder joints as rigid as possible.


  1. Disassemble the case of the pointer and remove the part that supports the batteries. On the side with the laser diode, solder the wire for the + terminal to the case. and the one for -, in the center, as you can see in the attached image.


  1. fix the laser switch to ON with a clamp.


  1. fasten the 3 servomotors together with the help of a hot glue gun. In the same way, fasten the body of the pointer to the engine wheel 1. Careful! Observe the placement order of the servomotors!

Let's Paint!

snapshot1.png
snapshot2.png
snapshot5.png
snapshot10.png
snapshot11.png
snapshot12.png
snapshot13.png



  1. We choose the color of the display depending on your preferences or the model we have.


  1. The paint has phosphorescent properties and can be found in stores with the specification "Glow in the dark". It is excited especially by ultraviolet light or light close to the wavelength of ultraviolet rays. For this reason, a laser with blue/violet light is chosen, this being the closest to the wavelength of UV rays. You can see in the attached images how a laser with green light, 10 times stronger than the blue one, does not excite phosphorescent paint at all.


  1. For the painting, choose a light-colored support, preferably white, which can be cardboard, plastic, paper.


  1. I painted on a painting canavas purchased from the stationery store.


  1. If you want a longer effect, paint the canvas in several layers, usually two.


The Code

snapshot14.png
snapshot15.png
snapshot16.png
snapshot17.png
snapshot18.png
snapshot19.png
snapshot20.png
snapshot21.png
snapshot22.png
Arduino-7-Segment-Display-Tutorial-Segment-Layout-Diagram-237x300.png
  1. The code is compiled in Visuino, but you can find the IDE format and link to the libraries used in the attachment. If you use the Arduino IDE, copy the "Mitov" folder to Arduino=libraries.
  2. Since there are mechanical moving parts, it is possible to make some changes or want a different form of the numbers on the display, for this reason I recommend you to use Visuino.
  3. The working principle is very simple: A time decoder reads divided hours and minutes from the RTC 1307 module. A counter moves the digits in order: tens of hours, hours, tens of minutes, minutes.
  4. Then, a text comparator from 0...9 detects the consecutive digits.
  5. Let's take the number 5 as an example, as it is in the video: the comparator detects the text "5". Its output commands a "sequence" component that will move the 3 servomotors to form the figure 5.
  6. The movement amplitude of the servomotors and implicitly the size, shape and length of the digits is given by the 3 "Analog value" components, one for each servomotor.
  7. By changing the values ​​of these 3 components, you can change the shape of the display.
  8. "Analog value 1" moves servomotor 1 in horizontal direction, "Analog value 2" in 2 vertical movements and the 2 points between hours and minutes.
  9. "Analog value 3" moves motor 3, moving the whole assembly with the distance between characters (digits)
  10. Since there is no constant display and the code is at the limit of the Arduino controller's memory, setting the time is done from the code, changing the hour and minutes in the "date/time value" component The current time set in the code is 12:00, but you can choose any device start time.

  11. We choose the correct port and load the code into the Arduino
  12. link to libraries:

https://app.box.com/s/aynowhr3pwuut4y9otc2zcw6vy3oa7u2

Start the Device

snapshot23.png
snapshot24.png
snapshot25.png
snapshot26.png
snapshot27.png
Screenshot (9).png
  1. We power the device through the micro USB plug. Press the connect button in pin D12. The orange LED will light up for 5 seconds, indicating that the time has been set with the value defined in the code.
  2. We place the assembly about 40 cm from the phosphorescent support, in the center. We can close or widen the distance depending on preferences.
  3. The servomotors will move, the laser will generate pulses and the exact time will appear on the support. This is set to 12:00 by default.

  4. Handle the device with care, keep it out of the reach of children.

Enjoy!