WITH 4 DIGIT 7 SEGMENT TIME DS18B20 THERMOMETERS PIC16F628

Summary of WITH 4 DIGIT 7 SEGMENT TIME DS18B20 THERMOMETERS PIC16F628


This article describes a clock and thermometer project using the PIC16F628 microcontroller and DS18B20 sensor. The system features a 4-digit 7-segment display, an internal oscillator to reduce hardware needs, and Timer 1 for timekeeping without an external crystal. It alternates between displaying the time (5 seconds), temperature (5 seconds), and "ANTRAK" text (4 seconds). Users can adjust the time using two buttons triggered when the text appears.

Parts used in the PIC16F628 Clock Thermometer:

  • PIC16F628A Microcontroller
  • DS18B20 Temperature Sensor
  • 4 x 7 Segment Display (Common Anode)
  • 74HC595 Shift Registers
  • Two Adjustment Buttons
  • Internal Oscillator
  • Timer 1 Module

Pic16f628 microcontroller-DS18B20 sensor clock thermometer based on the project has been very useful and detailed narration. Pic16f628-DS18B20 On the streets, the streets often started to see their side – instantly claiming your dependability or... Electronics Projects, With 4 Digit 7 Segment Time DS18B20 Thermometers pic16f628 “microchip projects, microcontroller projects, pic16f628 projects, “

THERMOMETERS PIC16F628

Pic16f628 microcontroller-DS18B20 sensor clock thermometer based on the project has been very useful and detailed narration.

Pic16f628-DS18B20

On the streets, the streets often started to see their side – instantly claiming your dependability or your willingness to serve the public, Turkish people maybe advertisers pay attention çekmekdeki with the application of the new method of gauge, thermometer and clock.

In this study, 4 x 7 segment display, 4-digit, with a precision thermometer and 0.0625 C 00-23 time range, highly accurate digital clock. Hardware micro-controller Pic16F628A. The reason for this is, maybe it’s time to start my classic cümlelerimle, but have internal oscillator, and in this way reduce the need for hardware, I add a few low cost and feature, Timer 1 timer with external oscillator to run, and the callee can (sleep mode). Thanks to this feature, you need an external clock not only connected to 32,768 KHz (DS1302) Crystal saydırılarak hours were calculated

slightly larger than the 7 segments in hardware. 44 mm with a common anode 7segment displays, 74HC595 Shift registerlarıyla. The reason for this is that the hardware installation of the recorder’s preferred speed (1 of 1ns) and latch, and put çıkışlarıdır. In this way, the recorders installed in order, not necessary for the garbage characters and character erkanda 8 bit values after having been transferred to the outputs of the latch outputs recorders.

pic16f628-bit1-bit3-register

T1CO sucked inside the register, is shown above. In this study, T1CO 0b00001110 for the register value is stored in the startup configuration. So clock source (Bit.1) external oscillator, clock synchronization (Bit.2) has been passive and active oscillator (Bit.3).

pic16f628-termometre-timer

Sistem başlangıçta 00:00 saat değeriyle başlamaktadır. Saat değeri 5 saniye görüntülenmekte, termometre değeri 5 saniye görüntülenmekte ve Antrak yazısı 4 saniye görüntülenmektedir.

Saatin ayarlanması için devreye 2 adet düğme eklenmiştir. Bu düğmelerde Saat Seç düğmesi bu işlemler tamamlandıktan sonra kabul edilmektedir. Yani saati ayarlayabilmek için ANTRAK yazısı yazmaya başladığında düğmeye basın ve bekleyin.

schamatic

pic16f628-pin

pic16f628-bilgi

Termometre-DS18B20

Source: WITH 4 DIGIT 7 SEGMENT TIME DS18B20 THERMOMETERS PIC16F628 Clock Thermometer project files: Segment Time DS18B20 Thermometers pic16f628.rar

Quick Solutions to Questions related to PIC16F628 Clock Thermometer:

  • What components are used in this project?
    The project uses a PIC16F628A microcontroller, DS18B20 sensor, four 7-segment displays, 74HC595 shift registers, and two adjustment buttons.
  • How does the device display information?
    The system shows the time for 5 seconds, the temperature for 5 seconds, and the text ANTRAK for 4 seconds in a repeating cycle.
  • Can I adjust the time on this device?
    Yes, two buttons are added to the circuit to set the time by pressing them when the ANTRAK text is displayed.
  • Does this project require an external crystal for the clock?
    No, it uses the internal oscillator of the PIC16F628A and Timer 1 with an external oscillator connection, eliminating the need for a separate 32.768 KHz crystal.
  • Why were 74HC595 shift registers used?
    They were used to handle the recording speed and latch outputs efficiently, preventing garbage characters during data transfer.
  • What is the accuracy of the thermometer?
    The device provides high-accuracy digital readings with a precision of 0.0625 C within a range of 00 to 23 degrees.
  • How is the clock source configured in the startup?
    The T1CO register value is stored as 0b00001110, configuring the clock source to external oscillator mode.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter