{"id":861,"date":"2014-02-23T15:40:04","date_gmt":"2014-02-23T14:40:04","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=861"},"modified":"2014-03-01T12:25:36","modified_gmt":"2014-03-01T11:25:36","slug":"arduino-use-your-internal-atmel-328p-temperature","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=861","title":{"rendered":"Arduino : use your internal atmel 328p temperature"},"content":{"rendered":"<p>Reading the atmel 328 spec, one can see that its ADC (analog digital converter) has an internal temperature sensor.<br \/>\nNote that this applies to the atmel 168 too.<\/p>\n<p>Although not as accurate as a dedicated temperature sensor (like the DS18B20), it can be useful to keep track of the arduino temp for an few extra bytes.<\/p>\n<p>Note that it will be probably be higher to your environemental temperature : you may have to adjust.<br \/>\nAlso, note that it is depending on the voltage \/ arduino activity : you may have to adjust again.<\/p>\n<p>Here attached how to read the internal temp  (rename to ino or pde) : <a href=\"https:\/\/labalec.fr\/erwan\/wp-content\/uploads\/2014\/02\/internal_temp.txt\">internal_temp<\/a><br \/>\n(this was taken from a <a href=\"http:\/\/www.avrfreaks.net\/index.php?name=PNphpBB2&amp;file=printview&amp;t=129354&amp;start=0\" target=\"_blank\">thread <\/a>on avrfreaks).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reading the atmel 328 spec, one can see that its ADC (analog digital converter) has an internal temperature sensor. Note that this applies to the atmel 168 too. Although not as accurate as a dedicated temperature sensor (like the DS18B20), it can be useful to keep track of the arduino temp for an few extra <a href='https:\/\/labalec.fr\/erwan\/?p=861' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-861","post","type-post","status-publish","format-standard","hentry","category-arduino","category-18-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=861"}],"version-history":[{"count":8,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/861\/revisions"}],"predecessor-version":[{"id":888,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/861\/revisions\/888"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=861"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}