logo elektroda
logo elektroda
X
logo elektroda
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • HDDClock - clock from hard drive
    Hello all.
    Unusual start the post from thank you. First of all, I would like to thank my friend Natalii , which using a gel pen she breathed life into this piece of electronics :) . Thanks are also due to colleague Radek, who served good advice during the design of the system. I also thank my mother, who negotiated good prices with suppliers ;) . It is also worth mentioning Piotr's colleague, who at the very early design stage has allocated one of his disks for grinding :) .

    And now about the project. The inspiration for this device was video . I decided to recreate such a clock in my own workshop, introducing several improvements and placing a special emphasis on the aesthetics of the whole.

    :arrow: Principle of operation
    In short, the principle of operation is simple - the rotating plate has a cut-out slot. Under the plate there are RGB LEDs, which act as an even backlight. Properly modulated diode light gives the effect shown in the photograph.

    :arrow: Mainboard
    The controller was based on the ATMEGA128 microcontroller. I will immediately anticipate the malcontent forum questions, saying that the program does not take up to 10% of the flash memory. However, I needed quite a large number of peripherals to not exercise too much with the application (all written in C). As a real-time clock, I used the DS1307 chip. The engine is controlled by a dedicated TDA5140A controller working in a standard configuration with datasheet. The device is equipped with an RS232 interface, through which, after putting everything together, you can load new software using the bootloader MegaLoad . The control is performed using a small universal remote control operating in the RC5 standard. PCB itself made by photochemical method, irradiated by the "on envelope" method.
    HDDClock - clock from hard drive HDDClock - clock from hard drive

    :arrow: Backlight
    As a backlight I used relatively bright tri-color SMD diodes. I placed the diodes on small tiles that I combined into a chain. In addition, under the plate I placed a ring made of white paper that reflects light well.
    HDDClock - clock from hard drive HDDClock - clock from hard drive

    :arrow: Synchronization
    Synchronization provides the system with a reflection sensor. In contrast to the slotted sensor, it can be positioned opposite the edge of the plate, thanks to which it completely hides in the casing. The impulses from the sensor were not very clear, so before being fed to the uC they are shaped by a comparator with hysteresis.
    HDDClock - clock from hard drive

    :arrow: Housing
    The housing was of course original from the disc. However, I had to make some additional masking elements. I made them from plastic, whose commercial name is reynobond. Everything was painted with black spray. Leading head made of two-millimeter plexiglass. An artwork made by Natalia, mentioned in the introduction, was placed under the plexus :) . The power and programming sockets were placed on the back of the housing. The hole from the infrared receiver was drilled from the side to not break the front panel, but the system reacts without any problem to the pilot's commands. Below are some additional photos of the clock.
    HDDClock - clock from hard drive HDDClock - clock from hard drive HDDClock - clock from hard drive
    HDDClock - clock from hard drive HDDClock - clock from hard drive HDDClock - clock from hard drive
    HDDClock - clock from hard drive HDDClock - clock from hard drive HDDClock - clock from hard drive
    HDDClock - clock from hard drive




    I am open to any questions and encourage you to discussions :) .

    You can find an article about your clock here: http://hackaday.com/2009/09/07/hard-drive-rgb-clock/

    ============= ==== Added 19/02/2019 ====================
    Hi everyone!

    After almost 10 years, I felt like wanting to restart my watch and make one change. As with the tools from that era it is already a bit hard and you had to do a lot of hard work, to restart the project I will add another file BOOTLOAD.hex being the right bootloader for this project (communication on UART1, baud 38400)

    Below I also paste the code of a simple script that emulates the operation of the MegaLoad program, which can be used to upload the final application.
    Code: Python
    Log in, to see the code


    Skrypt testowany był na Pythonie 3.6.4 i wymaga zainstalowania dodatkowych pakietów np. poprzez wywołanie komendy:
    >>> python -m pip install pyserial bincopy

    Pozdrawiam wszystkich,
    mb1988

    Cool? Ranking DIY
    About Author
    mb1988
    Level 12  
    Offline 
    mb1988 wrote 93 posts with rating 258. Been with us since 2006 year.
  • ADVERTISEMENT
  • #2 6985395
    mggarbi
    Level 15  
    A great idea admire :)
    - what are the costs of the project?
    - have you spent time on the implementation?
    - a cut in the plate was cut out with something ???
    Regards ((((((((((MG))))))))))

    Added after 1 [minutes]: < br />

     and one more thing if your watch is loud in your work ???
  • ADVERTISEMENT
  • #3 6985408
    markovip
    Level 34  
    The project is circulating somewhere on the Internet, give the page you used.
    I do not see the weight on the plate, there are probably high vibrations and noise.
  • ADVERTISEMENT
  • #4 6985675
    mb1988
    Level 12  
    @ mggarbi
    Not counting the disk, but including other elements, plexiglass, impulse power supply and shipments, the construction amounted to over PLN 150. I designed the device over a month and a half, but it was due to other duties that I was burdened with at home. A groove in a plate cut out with an ordinary angle grinder with a thin 1mm disc. A quick, safe hand is useful :) .

    @ markovip
    As I mentioned, the project was made only on the basis of the video posted on youtube. I did not contact the author, I did not use a different page. The appropriate counterweight, made of a piece of a CD, of course on the plate is, but because it has two sides, it is not surprising that I put it on the side that can not be seen. :P . Vibration is almost missing, noise at the cooler level in the laptop (audible, but very poorly).
  • ADVERTISEMENT
  • #5 6985772
    SzymonHK
    Level 21  
    A piece of good work, and the effect is amazing, probably the audience falls off their jaws. The only thing I can suggest is to change the plate to another with a correctly made gap, this unfortunately is not a ray and slightly spoils the effect, especially on the second hand.
  • #6 6985803
    daniell4
    Level 13  
    Something beautiful. That's what I've been waiting for. :)
    About two months ago, the project with the movie you were modeling was in DIY. Immediately I wanted to make such a clock but because of the source which turned out to be a Chinese side I was forced to wait for a "Polish cook" :D
    Schemes, ripples .... everything you have shared (for which I am very happy) so this week I'm starting to work: p
  • #7 6986133
    leonow32
    Level 30  
    The effect is really first-class !!! Miracle, honey :) Great esteem!

    How much electricity is it pulling?
  • #8 6986211
    mb1988
    Level 12  
    The most currents are drawn by the diodes and the motor, and in total it is about 1A at 5V.
  • #9 6986236
    knivre
    Level 14  
    mb1988 wrote:

    :arrow: Synchronization
    Synchronization provides the system with a reflection sensor. In contrast to the slotted sensor, it can be positioned opposite the edge of the plate, thanks to which it completely hides in the casing. The impulses from the sensor were not very clear, so before being fed to the uC they are shaped by a comparator with hysteresis.


    And is this TDA1540 that you used to make the tacho exit?
  • #10 6986340
    organista
    Level 15  
    Breathing down :D

    My question is how you realized the time display, I mean, how does it work with this slit in the plate? How many of these LEDs are there under this plate, and are they arranged around the plate or on the plane under the plate?
  • #11 6986394
    mb1988
    Level 12  
    knivre wrote:

    And is this TDA1540 that you have used, by chance, the exit of the tacho?
    Yes, there is. But the specifications show that it will not give me the information I want. In the fact that the project needs exactly one interrupt per turn. In addition, the datasheet also speaks of an inductive additional sensor placed near the magnet.

    organista wrote:
    How many of these diodes are there under this plate, and are they arranged around the plate or on the plane under the plate?
    Hmmm, I can not describe it better than shown in the pictures :P . The LEDs are placed around and are lit at the right moment. Light penetrates through the moving gap. Everything is done cyclically so we have the impression of a permanent image.
  • #12 6986830
    Marcin_PS
    Level 11  
    Is the poor drive of WD Caviar? Cool design, but not for me to do, the possibilities are many, creativity pays PLN.150 the cost of a drive, in my opinion, it's not much, and the effect is ... I'm adorable.
  • #13 6986927
    hubartes
    Level 11  
    It looks amazing but a bit I do not understand the principle of operation.
  • #14 6986982
    chicken123
    Level 12  
    The breath is breathtaking. My opinion is well made and very aesthetically pleasing. I guess I'll even be tempted to have such a watch as long as I find some hard disk ...
  • #15 6987602
    tank_driver
    Level 17  
    Congratulations. I really liked your design. I think that if you took care of such wonders in your free time, there would be a lot of clients.
    And as for the noise - if you could make a sealed housing, you could be tempted to create a vacuum inside, which should reduce the noise. Of course, if the disk bearings are in working order.
    Greetings !
  • #16 6987731
    MG550
    Level 1  
    :D For me, a bomb project, a thundering effect. Congratulations.
    I'm just wondering about doing this one. :D but I have two seemingly stupid questions for some. :D
    1. Is any hard disk suitable for such a trinket, but rather I mean I saw disks that could not be disassembled because they did not have screws only rivets. :D < br />.
    2. I wonder where did you get such tiny LEDs and other elements, somehow I have not seen anywhere like that :cry: .
  • #17 6987826
    creator
    Level 10  
    Hello, I am new here. I would like to make such a watch myself because I have a broken disk but I have a problem similar to my colleague above ... where to get this motherboard ...
  • #18 6987880
    Ptolek
    Level 36  
    I can say it, because it did not reach everyone, that as you can see the main PCB was designed and made by the author himself, in addition it is designed specifically for this particular hard disk enclosure, which makes a very good impression. :) Therefore, the question arises whether each disk is suitable. Yes, but you need to design a printed circuit board.
  • #19 6987944
    maly.borkowo
    Level 15  
    I will answer the questions of fellow MG550 and creator - Any disc will be suitable for such a construction, as long as it has an efficient engine I think that the speed does not make a difference. And if they are riveted (although I probably have not seen them), you can always drill, the top will be removed anyway, and the screws can be adapted later or not at all (adhesive or silicone?)
    These small diodes are just like the author wrote SMD RGB diodes for surface mounting. And this whole "motherboard" ... you have to do it yourself, or order a plate and solder elements :)

    As for the project itself - the impression is really impressive. I'd love to do something like that, but it's probably beyond my capabilities; /
    I will ask for certainty as to the principle of operation, that is the highlighted bottom of the plate and at the right moment the appropriate color lights up, i.e. on the principle of popular spectral displays (this is what I think is called?) Except that the diodes do not spin, and the plate itself with a gap Yes?

    Best wishes and congratulations for a great project!
  • #20 6987950
    creator
    Level 10  
    1. Where do such tiles do?
    2. mb1988 could you throw the project of this tile? In this project you have only plexiglass to download.
  • #21 6988256
    Brutus_gsm
    Level 25  
    In the first post there is a tile design in the protela format.
  • #22 6988390
    mb1988
    Level 12  
    Hello,
    Elements were purchased in TME, diodes in MARITEX. The disk you see is Seagate 160GB and the board is designed exactly for this enclosure. Of course, the electronics on the PCB itself are able to drive any disk, but if you use a different model you will probably need to redesign the PCB yourself.

    As a rule, I will write it again: the only thing that moves in the device is a plate with a slit. Under the plate there are diodes that evenly illuminate the paper ring. At any time, all LEDs shine to the same color, but the light can only come out through the slot. Therefore, by changing the color of the backlight to the rhythm of the gap, we can get the impression of a different colored disc.
  • #23 6989233
    misiupan
    Level 35  
    How to read files contained in downloadable directories ?, if you can convert it into hex or bin for the batch, and schematics to pdf.
  • #24 6989353
    mb1988
    Level 12  
    misiupan wrote:
    What to read files contained in downloadable directories ?, alternatively if you can convert it into hex or bin for a batch, and schematics to pdf.
    PCB and schematic created with PROTEL 99 SE. The code written in the WinAVR environment, compiled using arv-gcc.


    ----------


    Thank you all for the words of appreciation. I added in the first post an attachment with a schematic in pdf for those who do not have a protel.
  • #25 6990018
    bassior
    Level 13  
    HAha 10/10 super project but I have only 1 question

    What is this muse in this video? :D
  • #26 6990131
    raca3
    Level 12  
    Nice design. I watched similar on http://perf.modder.ru/. Unfortunately, not described in so much detail (moreover, almost all of them used ordinary watches and not "dedicated" electronics), in addition, descriptions in Russian :) .

    Good because Polish 10/10 for the idea and performance
    A respectable friend of Natalia 11/10 for the artwork ;)
  • #27 6990136
    uhyt
    Level 14  
    I was looking at the code a bit, a little more comments would have been useful.
  • #28 6990292
    Kosmit
    Level 11  
    Kolego bassior from what I associate is Harry Gregson - Williams - Spies (Ryebot RMX)

    Of course for the design and execution of the watch 10/10 :)
  • #29 6990630
    morswin89
    Level 23  
    Is this visible "streak" spinning around in the film is visible in reality or is it only shown in the film?
  • #30 6990682
    maras2003
    Level 29  
    It seems to me that it is the fault of the camera / camcorder and recording at 24 frames per second. ;) The same as if you were recording a monitor or TV while working.

Topic summary

The discussion revolves around the creation of a clock using a hard drive (HDDClock), where participants share their experiences, challenges, and solutions related to the project. The clock operates by utilizing a rotating plate with RGB LEDs that illuminate through a cut-out slot, creating a visual display. Key topics include the design and assembly of the clock, the selection of components such as the TDA5140A motor driver, programming the ATmega microcontroller, and troubleshooting issues like motor control and sensor calibration. Participants also discuss the importance of balancing the disk, the impact of power supply on performance, and the use of various sensors for detecting the slot in the rotating plate. The conversation highlights the collaborative nature of DIY electronics projects, with users providing insights and assistance to one another.
Summary generated by the language model.
ADVERTISEMENT