EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / Building digital clock thak have alarm and fire alarm

Building digital clock thak have alarm and fire alarm

|

Electronics › Electronics › Building digital clock thak have alarm and fire alarm

  • This topic has 3 replies, 3 voices, and was last updated 13 years ago by AJISH ALFRED.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 5, 2012 at 12:48 pm #1525
    Ahmad Izzudin
    Participant

    Hi. Can anyone give me idea on this topic.

     

    I’m planning to use seven segment display to show time 

     

    and lcd display to show the alarm time.

     

    April 18, 2012 at 2:11 pm #7484
    AJISH ALFRED
    Participant

    If you are going for a digital clock you should use RTC like DS1307, and you should learn I2C to interface it with the controller. Also there are seven segment driver ic’s available.

    Which is the microcontroller you are planning to use, or are you going to do it without using any microcontroller ?

    May 7, 2012 at 4:36 pm #7606
    ashish
    Participant

    1)how synchronisation  takes place we  are using different crystal frqncy in ds1307 and 8051??

    2)how programming we should start when we are using sca and sda pins ??

    3)how we use registers in order to set date time. i actually dont know how to do a programming in assembly or inc . i read datasheet bt can anyone help me where i can learn programming so that at lcd we can show date and time and set an alaram after that??

    project is over collge bell

    May 19, 2012 at 6:27 pm #7858
    AJISH ALFRED
    Participant

     

    Answers to your questions inline

     

    1) There won’t be synchronisation issues due to different crystal frequencies. 32khz crystal is used for 

         the internal clock of ds1307 only, means only to update the registers of rtc. While we try to read, the 

         data is copied to a register from where we read it, while the actual data keep on updated without any

         disturbance

     

    2) You should get I2C code running in your MCU, which will enable a pair of pins as sda and scl. The

        code will be complex, but you can download it from internet

     

    3) You can set the time and date by setting the registers of rtc. It can be done in both 12 hour or 24 hour

        mode. Those details are available in the datasheet.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Actin group needed for effective PCB software tutorials May 18, 2025
  • Kawai KDP 80 Electronic Piano Dead May 18, 2025
  • Doing consultancy work and the Tax situation? May 18, 2025
  • How to repair this plug in connector where wires came loose May 17, 2025
  • Lightbox circuit May 17, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise