{"id":1656,"date":"2015-10-02T10:32:39","date_gmt":"2015-10-02T09:32:39","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=1656"},"modified":"2015-10-02T10:32:39","modified_gmt":"2015-10-02T09:32:39","slug":"project-136-thermal-imager-project-update-13-tft-screen","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/project-136-thermal-imager-project-update-13-tft-screen\/","title":{"rendered":"Project 136: Thermal Imager Project Update 13: TFT Screen"},"content":{"rendered":"<p>I have wired up the Adafruit TFT Screen to my Thermal Imager project. I am pleasantly surprised at the quality of it, it is working very well.<\/p>\n<p>I also took some pictures outside, but I could only display them on the screen since I haven&#8217;t implemented saving to an SD card yet.<\/p>\n<p>Other than the SD card storage, the only remaining goals will be to add a status RGB LED to the project, and build the housing, as well as some debugging.<\/p>\n<p>I don&#8217;t think I will be able to implement video, at least not at the moment. The screen takes quite a lot of time to refresh, and I am not sure if the Due would be powerful enough to handle even slow video.<\/p>\n<p>I am still having an issue with taking thermal images reliably. I have had to modify my code to take a picture on start up, then print it to the serial port and the screen, and stop the program. This means that I have to press the reset button (restarting the Arduino) every time I want to take a picture. This is obviously not ideal, but when I tried to add a loop and a button, even using an interrupt, the lepton lost sync and stopped returning data. This is the only way that I can find so far to reliably generate images most of the time.<\/p>\n<p>These are pictures of a glass of hot water. The first image has interpolation on, the second has it turned off. I actually think the image looks better with interpolation off, in this example at least.<\/p>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment53-Oct.-02-09.39.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1658\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment53-Oct.-02-09.39-300x232.jpg\" alt=\"PhoenixGameDevelopment53 Oct. 02 09.39\" width=\"300\" height=\"232\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment53-Oct.-02-09.39-300x232.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment53-Oct.-02-09.39-1024x791.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment53-Oct.-02-09.39.jpg 1030w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment51-Oct.-02-09.38.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1657\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment51-Oct.-02-09.38-300x232.jpg\" alt=\"PhoenixGameDevelopment51 Oct. 02 09.38\" width=\"300\" height=\"232\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment51-Oct.-02-09.38-300x232.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment51-Oct.-02-09.38-1024x791.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment51-Oct.-02-09.38.jpg 1030w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>These images were taken at least 75-100 meters away from my house. The image quality isn&#8217;t the best, since it is a picture I took with my mobile phone of the screen of the thermal imager, however, it is possible to see a reasonably clear outline of the house, and driveway, with a blue haze over it. This was taken in quite heavy fog, which is presumably what the haze is. I am looking forward to see what the high res image of this would look like on a computer screen, once I wire up the SD card, I will know.<\/p>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0734.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1648\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0734-300x225.jpg\" alt=\"DSC_0734\" width=\"300\" height=\"225\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0734-300x225.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0734-1024x768.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0734.jpg 2048w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0732.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1649\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0732-300x225.jpg\" alt=\"DSC_0732\" width=\"300\" height=\"225\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0732-300x225.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0732-1024x768.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0732.jpg 2048w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment51-Oct.-02-09.38.jpg\"><\/p>\n<p><\/a>A metal kettle of boiling water, and am metal jug, also with boiling water.<\/p>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment49-Oct.-02-09.261.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1655\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment49-Oct.-02-09.261-300x232.jpg\" alt=\"PhoenixGameDevelopment49 Oct. 02 09.26\" width=\"300\" height=\"232\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment49-Oct.-02-09.261-300x232.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment49-Oct.-02-09.261-1024x791.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/PhoenixGameDevelopment49-Oct.-02-09.261.jpg 1030w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0721.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1653\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0721-300x225.jpg\" alt=\"DSC_0721\" width=\"300\" height=\"225\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0721-300x225.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0721-1024x768.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0721.jpg 2048w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0723.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1652\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0723-300x225.jpg\" alt=\"DSC_0723\" width=\"300\" height=\"225\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0723-300x225.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0723-1024x768.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0723.jpg 2048w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0725.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1651\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0725-300x225.jpg\" alt=\"DSC_0725\" width=\"300\" height=\"225\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0725-300x225.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0725-1024x768.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0725.jpg 2048w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0731.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1650\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0731-300x225.jpg\" alt=\"DSC_0731\" width=\"300\" height=\"225\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0731-300x225.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0731-1024x768.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0731.jpg 2048w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0739.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1647\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0739-300x225.jpg\" alt=\"DSC_0739\" width=\"300\" height=\"225\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0739-300x225.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0739-1024x768.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2015\/10\/DSC_0739.jpg 2048w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have wired up the Adafruit TFT Screen to my Thermal Imager project. I am pleasantly surprised at the quality of it, it is working very well. I also took some pictures outside, but I could only display them on the screen since I haven&#8217;t implemented saving to an SD card yet. Other than the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,12],"tags":[],"class_list":["post-1656","post","type-post","status-publish","format-standard","hentry","category-inventions","category-tutorials","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1656"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=1656"}],"version-history":[{"count":2,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1656\/revisions"}],"predecessor-version":[{"id":1660,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/1656\/revisions\/1660"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=1656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=1656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=1656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}