Monthly Archives: July 2014

Fail! Redo! Or you better know your toys.

I was a bit upset last night. I couldn’t get my DHT11 to work. Tried several libraries until I got the idea (through a forum post) that I should use the old multimeter. Ahh, the power rails on my breadboard are split! After some rewiring everything is working.

 

Now I have a simple thermometer/hygrometer.

Next headache: the SD card acts strange. It just makes a loop of 256 lines of information, and I just can’t figure it out… Another program writing to SDcard, using the same library seems to work. Ah, well, debugging time then…

The toys are here!

So, the mail arrived with my new toys. Too bad the weather is supposed to be sunny for some time.

IMGP4563

 

Well, I have some interesting time ahead getting the Arduion copy to work with all the parts. At least the Nanocopy works.

Also the TFT screen is connected and checked. The good news: it works! The bad news: The UTFT library takes some 80% of the flash space in the Arduino. So I need to remove more things from the library to get space for the other libraries I need.

IMGP4566 IMGP4568

Hack libraries was actually something I was expecting to have to do, since most libraries seems to have some things more or less hard wired that is not always needed or wanted.

Now, the library I found that works with my screen is a modified UTFT ver 1.3. Current version is 2.7 (Here is the latest version), so I will stick with on old version for some time. My code is on Github as UncleBod.

Now I have to continue some library hacking…