Just to let you know the deluxe version of the data logger is almost done. The hardware is ready and tested – currently I finish the menu based software for the data logger. Menu based control with 5 capacitive inputs Record, view records, send records to serial, erase all, settings. Wireless charging.
Month / September 2015
Update 2015-09-10: I also added a timer 2 based version of the driver which does not need any manual refresh. I created a fast and compact driver for the Sharp memory display LS013B4DN04. The driver is text based and uses 8×8 pixel characters on the screen. The screen can display 12×12 characters using this size of […]
While working on the display driver for the Sharp display, I found some missing features in my “Font to Byte” application. I added this features and released a new version.
- All bits can be inverted.
- There is an option to print the converted characters into a useful code chart.
A first version of the driver is running. It requires only ~160 bytes RAM to run. You can change the font easily, use up to 128 characters and invert any portion of the screen (e.g. for selections).
New Character Map
After converting the font into bytes, you can click the “Print Character Map…” button to generate a nice character map for your font.
This is especially useful if you added some special character. With the map you can easily lookup the correct values for the characters.
You can also save the character map as PDF from the print dialog and use the PDF as reference.
Update 2015-09-05: Added a example font and Adobe Photoshop template.
Currently I am working on the deluxe version of the data logger. This version has a LCD screen and capacitive buttons to control the software. The Adafruit library for the display is quite large and almost uses the whole RAM, because it is a pixel oriented library. My own implementation is a text only library using 8×8 pixel characters. This simplify everything and reduces the RAM costs.
To convert the bitmap font into bytes, I wrote a small application for OS X (minimum version 10.10). It accepts a PNG image with the characters in it and converts it into bytes with the correct bits set.
First you select the mode on the left side of the application window. In this example the mode is set to “8×8 Fixed Top-Down”. Select the output format in the bottom left corner of the window.
Now drag your font file onto the area on the right side. If the dragged file is accepted, the window turns blue.
After fixing the timing problem with the sensor library, I started the data logger and recorded data in 10 seconds intervals until the memory was full. This time the AM2302 (DHT22) sensor was read every time, no cached values were used. It created a really interesting data set you can see in the diagram below (click […]