logo elektroda
logo elektroda
X
logo elektroda

LED vintage watch on a breadboard with AT90S8535 and DS1302

_._ 4383 9
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • Design "for fun", vintage watch à la 90s, made on a contact plate. A gadget perfect for the shelf. :)

    I had an AT90S8535 controller in stock, and since I recently returned to programming, I decided to use it for something useful. The once exorbitant 8 kB of flash on board is rather different from today`s standards, and it is so slow that uploading a 4 kB program takes almost 6 minutes using the USBASP programmer.

    DIY 90s-style clock on a breadboard with an LED display. Breadboard with electronic components forming a 90s-style vintage clock. Electronic schematic of a retro-style clock on a breadboard.

    The construction is quite standard. The controller`s task is to get/set the time from the RTC clock (DS1302) and control the multiplexed display. The control is based on a timer that generates an interrupt every 1 ms with an 8 MHz quartz. The interrupt procedure turns off and on the next segment and keeps the light on for 200 µs. The main loop deals with data retrieval, button and beeper control.

    Basically, I made the project as a training and reminder of AVR programming in C, while the assembly on a breadboard involves a bit of modeling to make it work and look good. :)

    The watch has found a place of honor on the shelf and does its job - it shows the time. ;)

    Cool? Ranking DIY
    About Author
    _._
    Level 11  
    Offline 
    _._ wrote 46 posts with rating 247. Been with us since 2013 year.
  • ADVERTISEMENT
  • #2 20941206
    efi222
    Level 19  
    I wonder how long this watch will work without failure on the contact board. Congratulations on installing this system :)
  • #3 20941293
    MikeC
    Level 32  
    _._ wrote:
    Design "for fun", vintage watch à la 90s

    In the 1990s, contact sheets were not used, they used universal ones.
  • ADVERTISEMENT
  • #4 20941488
    maliniak80
    Level 17  
    Nevertheless, it would be better to solder it even on a universal machine, and if it is "vintage", add some period elements if they are to be visible, e.g. this DS would look nice here:

    Black Dallas DS12887 integrated circuit with visible pins.
  • #5 20942076
    SuMariok
    Level 9  
    If electronics can look nice, it`s probably in this form. These colorful cables seem to be doing the job here.
    Just three things. It would be necessary to lay these cables from the transistors to the display cathodes on the substrate/board and add a photosensitive element to control the brightness of the LEDs under the lighting,
    and cover it in some plexiglass to protect it. To prevent corrosion of the contacts, you can spray some technical Vaseline. and enclose it in plexiglass :)

    maliniak80 wrote:
    This DS would look nice here:

    If these clocks were, for example, pistachio and not black, it would be perfect, but it would spoil the picture.
  • #6 20942396
    gulson
    System Administrator
    I personally like it on the breadboard and respect it for cramming it onto the breadboard :) It is aesthetically made, that`s the most important thing.
    Write to me at Paczkomat and I will send you a small gift.
  • ADVERTISEMENT
  • #7 20945526
    rb401
    Level 39  
    _._ wrote:
    however, mounting on a breadboard involves a bit of modeling to make it work and look good :)


    The atmosphere is there, at least when it comes to appearance. But like other colleagues here, I have some concerns about the reliability of structures using this technology in the long term.

    Therefore, for information, I would like to mention that there are interesting boards that allow you to "consolidate" such a project with little effort, rearranging the elements and connections exactly as they are and soldering them:

    Set of Perma-Proto prototype boards on AliExpress page.

    https://www.aliexpress.com/item/4000372753001.html

    I just bought them from this Chinese company and I can say that these boards are made very carefully (e.g. gold-plated soldering points), you can choose from a variety of colors, and using them is pleasant. And it saves time, compared to, for example, transferring a concept proven on a contact sheet to a normal universal PCB. And the price is acceptable.
    As a side note to this digression, this is a minor problem, because while the "half" contact sheets match exactly those PCBs (30 columns here and there), there is a discrepancy in the case of long contact sheets. Contact sheets (at least the ones I have) have 64 columns and PCB ones only have 60.
  • ADVERTISEMENT
  • #8 20953278
    jarekgol
    Level 39  
    @_._ what is the deviation from the synchronized time over a month/year? From what I remember, the ISP programmer on LPT did not take so long to load these programs.
  • #9 20962745
    _._
    Level 11  
    It hasn`t worked for that long, but it has already made a difference of a few seconds, so it`s probably not the most accurate, but it`s still pleasing to the eye.
  • #10 21012904
    arrakiszexelon
    Level 1  
    >>20940542

    Where does somebody obtain the code to operate the -- AT90S8535 -- in this clock mode?

    And... what does it take to program the AT90S8535 so it works like the breadboard does? If I were to build this, I would just design a PCB.

Topic summary

A user designed a vintage-style watch using an AT90S8535 microcontroller and a DS1302 real-time clock (RTC) on a breadboard, aiming for a nostalgic aesthetic reminiscent of the 1990s. The project involves controlling a multiplexed display with a timer interrupt for segment activation. Responses from the community express concerns about the reliability of breadboard constructions over time, suggesting soldering components onto a universal PCB for durability. Some users recommend enhancing the design with protective elements like plexiglass and photosensitive components for LED brightness control. Additionally, inquiries were made about programming the AT90S8535 and sourcing the necessary code for the clock functionality.
Summary generated by the language model.
ADVERTISEMENT