max7219 64x16
max7219 64x16 leddisplayclock and temperature displayin the evening switch on lights
Nog geen account? Registreer hier!
Voer uw e-mailadres in. De instructies om uw wachtwoord te resetten worden naar u toegemaild.
Heeft u al een Elektor ID account? Klik dan hier om in te loggen.
Voeg hieronder eventueel commentaar toe!
Reactie bij uw beoordeling plaatsen? Log hieronder in. Geen behoefte aan? Sluit dan gewoon dit venster.
Discussie (1 opmerking(en))
Content Director, Elektor 2 jaar geleden
ElektorLabs 2 jaar geleden
- 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: