LCD Display with Date and Time

It’s a good idea to use LCD’s with projects like this instead of led digits, because LCD’s don’t need to be refreshed, they allow you to display many characters and it requires less I/O pins. In this project a 161 LCD Display with 4-bits interface it’s used. Time and date are displayed as HH:MM:SSx mmm dd, where: HH = Hours MM = Minutes SS = Seconds x = AM/PM mmm = Month (Jan, Feb, Mar) dd = Day.

LCD Display with Date and Time: [Link]

Install SNMP (Simple Network Management Protocol) on Debian     It could happen to anyone to have problems with date and time. For example I had a problem a few day’s ago with an older server of mine which has problems with hardware time, it resets everytime I disconnect it from power. Its something to do with the motherboard I changed the battery but that didn’t solved the problem. That’s why sometimes I need to correct its date with the following method:

date –set 2007-10-15
to set yyyy-mm-dd
date –set 16:47:30
to set hh-mm-ss
hwclock –systohc
to sync hardware clock to what we introduced earlier

    At least from Debian version 2.2 onwards, the system automatically saves the system time to hardware clock on shutdown, and sets the system clock from hardware clock when Debian boots up. This is done in the script /etc/init.d/

    Another thing you might ran into is changing the timezone.
If the timezone is not set or is wrong, log in as superuser and run tzconfig to configure the timezone.

That’s it a short tutorial about date in Debian.

© 2007-2011 YourITronics | Any logo, trademark and project represented here are property of their respective owners | Wordpress | Privacy Policy    RSS