💬 Insulated Whole House Fan
-
What library do you use ? The one from MySensorsArduinoExamples-master.zip ?
Actually, no. It turns out when I looked through my IDE that I am using the prior version of the DHT library. That did also force me to comment out the read sensor line just to make it compile. Maybe the combination of the two changes is what does the trick. I hadn't made those changes together, so I missed the possible significance of this change:
void loop() { // Force reading sensor, so it works also after sleep() // dht.readSensor(true);Running a diff on both the library you point out and the one I'm using shows that adding that bool to the readSendor function is the only code difference.
@flyswiftly
I also did that try an older version library for DHT and receive data. So conclusion is that on current (latest) DHT library for DHT11 is not working. Now I'm on a business trip to China for a week and With this chance i will buy there DHT 22 to be sure. I will be back in a week with conclusion. -
I can confirm that DHT library that is in example do not work with DHT11 and DHT22 in my case, using other (older) library i can see data.
-
@rechin304 Sorry, just to make sure I understand, are you saying it works with a DHT22 or not? I may still be on an old library too.
@petewill
Works with DHT22 and other library (old one). I could not make it work withe one from example.I'm almost ready with build, waiting for final pieces. hope to receive them this week.
one more ting i noticed is that clock is behind with 2minutes, so i need to check the code again. -
Added new lead screw pitch of 2Mm that decrease open/close time from 3 minutes to 40 sec. see pics https://goo.gl/photos/mQvF1S9FrdNYPpdH9
buyed from here http://www.ebay.com/itm/322139119923?_trksid=p2057872.m2749.l2649&var=511054006707&ssPageName=STRK%3AMEBIDX%3AIT
for who is interested. -
I have an working prototype, see video https://goo.gl/photos/VSQeaevHh7UbbStr9
Many thanks to @petewill for his work and inspiration.
I will post final pictures when ready. -
@rechin304 Awesome! Glad you got it working!!
-
@petewill Hi Pete
Just Start building the system and got an error at sketch verify.
"exit status 1
'class Adafruit_ST7735' has no member named 'setFont'"@lis610 Sorry for the delay. Work has been very busy. I have attached the libraries I'm using. I was able to get it to compile when I just tested. https://drive.google.com/file/d/1wauxHRf5pyqLnBGsfCP8UPJQR1wNdkoF/view?usp=sharing
Let me know if you have issues with this.
-
THANK YOU so much for sharing. Most of the errors gone, but one left (using Arduino v.1.8.5; MySensors v 2.3.0):
[C:\Users\BEAST\Documents\Arduino\Whole-House-Fan\code\New folder\WholeHouseFan2.0\WholeHouseFan2.0.ino: In function 'void presentation()':
WholeHouseFan2.0:197: error: 'TEMP_CHILD_NAME' was not declared in this scope present(TEMP_ID, S_TEMP, TEMP_CHILD_NAME);
exit status 1]
'TEMP_CHILD_NAME' was not declared in this scope -
THANK YOU so much for sharing. Most of the errors gone, but one left (using Arduino v.1.8.5; MySensors v 2.3.0):
[C:\Users\BEAST\Documents\Arduino\Whole-House-Fan\code\New folder\WholeHouseFan2.0\WholeHouseFan2.0.ino: In function 'void presentation()':
WholeHouseFan2.0:197: error: 'TEMP_CHILD_NAME' was not declared in this scope present(TEMP_ID, S_TEMP, TEMP_CHILD_NAME);
exit status 1]
'TEMP_CHILD_NAME' was not declared in this scope -
Thank you. The box is ready. Next step connect all hardware. So far no luck with the display (KMR-1.8 SPI). What kind of display model you used in this project.
-
Got the same display. It is working with Adafruit graphicstest example. I did not connect any components just display. If I ran the FAN sketch should be something showing on the display?
Or need to connect everything?@lis610 is #define TFT_DISPLAY_ON uncommented? Also, you will at least need the radio attached so the MySensors code can fully load (you can also setup defines to proceed without connecting to gateway but I don't remember them off the top of my head). I don't remember if there are any other dependencies since it as been so long since I built this.
-
Please help
Display is working with Adafruit graphicstest example pins:
#define TFT_CS 10 #define TFT_RST 9 #define TFT_DC 8# define TFT_SCLK 13 #define TFT_MOSI 11
I did try the same pins in FAN sketch -nothing on display
Tryed pin# from FAN sketch on Adafruit graphicstest- nothing on display.
Nothing come up
I did connect to the radio. Got something from MY_DUBUG not sure is it good or bad:624893 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
626903 !TSM:FPAR:NO REPLY
626905 TSM:FPAR
626941 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
628951 !TSM:FPAR:NO REPLY
628953 TSM:FPAR
628989 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
630999 !TSM:FPAR:NO REPLY
631001 TSM:FPAR
631037 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
633047 !TSM:FPAR:FAIL
633049 TSM:FAIL:CNT=7
633051 TSM:FAIL:DIS
633053 TSF:TDI:TSL
693057 TSM:FAIL:RE-INIT
693059 TSM:INIT
693067 TSM:INIT:TSP OK
693069 TSF:SID:OK,ID=5
693071 TSM:FPAR
693108 TSF:MSG:SEND,5-5-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
693432 TSF:MSG:READ,0-0-5,s=255,c=3,t=8,pt=1,l=1,sg=0:0
693438 TSF:MSG:FPAR OK,ID=0,D=1
695117 TSM:FPAR:OK
695119 TSM:ID
695119 TSM:ID:OK
695121 TSM:UPL
695160 !TSF:MSG:SEND,5-5-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
697171 TSM:UPL
697178 TSF:MSG:SEND,5-5-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=OK:1
699187 TSM:UPL
699224 !TSF:MSG:SEND,5-5-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
701233 TSM:UPL