PIC16F628A based PC controlled digital clock

PIC16F628A based PC controlled digital clock Video Clips. Duration : 2.67 Mins.


Project site: sites.google.com This is my first electronics project, designed and made by myself. The idea is to present a digital clock which displays the Desktop PC time. The time data is sent to the digital display through COM port. The pic16f628A microcontroller recieve the data and using multiplexing technique controls the 7-segment leds by activating each one with the proper value using a transistor per each. Only one 7-segment is switched on in a single time (for 100ms), than it turns off, and the next one is activated and so it goes on in an endless loop. The display value is sent to a 4511 bcd-to-7-segment driver which converts the binary value sent from the microcontroller to the 7-segment leds. The microcontroller program was developed in assembly language using the free microchip's MPLAB IDE. The chip was programmed by using a controller which allows low-voltage programming (LVP) through Parallel port and using WinPic800 software. The PC driving software is a simple Win32 console application which samples the local time, constructs the data using a simple protocol I made, and sends the data through serial COM port. A drawing design of the whole circuit was made in Visio software and the project was built on a project board according to the drawing. The project board is actually divided into 3 sections: 1. Power supply circuit. 2. Microcontroller and accessories. 3. Display leds and their driver. The circuits are inter-connected using cables so although all is ...

0 comments:

Post a Comment