18/06/2012

The above picture is a screenshot of a fully functional seven segment display clock that I made in labview.  It works by calcuating the amount of seconds in a day that have passed, and then separating this figure into hours, minutes and seconds.  These figured were then sent to indicators to display on the screen:



In order to make the seven segment display, these double digits need to be separated into single ones.  For the seconds figure, the value is divided by 10 where the value becomes the left hand digit, and the remainder becomes the right hand digit.  This is then repeated for minutes, and hours:

These individual values can now be used to program a seven segment display for the clock.  The seven segment display digits are assigned to an array where each combination of LEDs are stored for the numbers 0-9.  The calculated digits from earlier can then be used to extract the correct LED combination from the array to display the number.  The next step is to document it all into easy to follow instructions.

No comments:

Post a Comment

Comments: