We put a DHT11 sensor on location JP1 and from www.AVRprojects.ru we have downloaded software to read the DHT11.
[img:b65222de5a]http://members.home.nl/hobbycorner/images/7inch_display/dht11_7inch.jpg[/img:b65222de5a]
Now we got the time and date from the DS1338-33 and temperature and humidity from a DHT11.
Time to make a WordClock. Fontsize 25x32. So on a 800 x 480 pixel display we can make 13 lines of 31 characters.
It is a running clock, the text is refreshed three times a minute so it is very dynamic.
In real the blue is less intensive.
[img:b65222de5a]http://members.home.nl/hobbycorner/images/7inch_display/wordclock.jpg[/img:b65222de5a]
Code follows.
Have fun
Ben Zijlstra
Theo Kleijn
↧