Thermometer PIC code


Site Admin

Posts: 921

Joined: Tue Jul 24, 2012 8:05 pm

Post Fri Jan 06, 2017 12:14 am

Re: Thermometer PIC code

.ASM of the AM2303/DHT11 dual sensor code:
Attachments
AM2303 dual piccode.rar
(10.01 KiB) Downloaded 301 times

Posts: 37

Joined: Sat Nov 11, 2017 1:18 pm

Post Mon Nov 20, 2017 7:54 pm

Re: Thermometer PIC code

Hi Tony,
I ordered the thermometer a couple of weeks ago. Could you tell me if the PIC is programmed with the version that recognize an external DHT22/AM2302 ?
Or should I re-programmed it with the right version?

Thank you in advance for your answer

regards

Site Admin

Posts: 921

Joined: Tue Jul 24, 2012 8:05 pm

Post Fri Nov 24, 2017 5:56 am

Re: Thermometer PIC code

Hi,
I know you've built it by now but for future reference the PIC is supplied preprogrammed.

Posts: 37

Joined: Sat Nov 11, 2017 1:18 pm

Post Sat Mar 24, 2018 6:17 pm

Re: Thermometer PIC code

Here is a modified version of the Piccode that is optimized to get the full precision of DHT22 or AM2303 external sensor.
For these sensors, I removed the "smoothing temperature" part and changed a little the code so that the decimal part of the measure is now taken into account.
The results is very good: the thermometer is now very fast to react to temperature change and the precision is top.
The source code is for a PIC16F1827
Attachments
DHT22_AM2303piccode.7z
(12.48 KiB) Downloaded 234 times

Site Admin

Posts: 921

Joined: Tue Jul 24, 2012 8:05 pm

Post Wed Mar 28, 2018 4:04 am

Re: Thermometer PIC code

I'll give it a try - thank you for taking the time to modify it, the original DHT22 mod was a quick patch to allow it to be used in place of a DHT11 for a more accurate reading.
Previous

Return to Nixie thermometer V1

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software