max7219 64x16
max7219 64x16 leddisplayclock and temperature displayin the evening switch on lights
No account yet? Register for free!
Please enter your email address. Instructions for resetting the password will be emailed to you now.
Already have an Elektor ID account? Click here to log in.
Leave further comments in the fields below.
If you wish to leave a comment with your rating, please first use the login below. If not, just close this window.
Discussion (1 comment)
Content Director, Elektor 2 years ago
ElektorLabs 2 years ago
- Time is kept by a DS1307 real-time clock
- Time is set when the clock boots, so only do this once
- Temperature is measured with a one-wire DS18B20 sensor
- Display alternates between time and temperature every 20 seconds
- The clock keeps a table with periods per month to switch output 8 ('swt') on, which can be used to control a lamp as e.g. a light that only switches on at night. The table must be filled in by the user. Time is defined as 100*hour + minutes (i.e. 630 corresponds to 6:30).
- Clock can handle daylight saving time programmatically (not automatically), must be set by the user.
Here is how to wire the displays & temperature sensor to the Arduino: