Search found 38 matches
- Mon Sep 16, 2013 11:21 am
- Forum: Dot Matrix Display
- Topic: Need to find DMD with temp only
- Replies: 27
- Views: 17316
Re: Need to find DMD with temp only
float t; // holds temperature value String finalString; // used to hold final sentence to display on DMD // connect the HUMID: to 5V, GND and D3 #include "DHT.h" DHT dht(3, DHT22); // for Freetronics DMD #include <SPI.h> #include <DMD.h> #include <TimerOne.h> #include "SystemFont5x7.h" #include "Ar...
- Sat Sep 14, 2013 2:28 pm
- Forum: Dot Matrix Display
- Topic: Need to find DMD with temp only
- Replies: 27
- Views: 17316
Re: Need to find DMD with temp only
Show us what you see in the Serial monitor. There is no problem with compatibility with sketches of that age and IDE v1.05 Cheers ! Geoff Serial Monitor showed; DHT output: 22.40 After rounding: 22.00 finalString: DHT output: 22.40 After rounding: 22.00 finalString: DHT output: 22.30 After rounding...
- Fri Sep 13, 2013 3:42 pm
- Forum: Dot Matrix Display
- Topic: Need to find DMD with temp only
- Replies: 27
- Views: 17316
Re: Need to find DMD with temp only
Who created a code temp but date was last April or more past which used Arduino version is 1.0.4 by March 11th 2013, but now 1.0.5 by May 15th 2013, and might not work with this code I have tried so nothing, maybe 1.0.5 not work for this code, anyone have try with code use 1.0.5?
- Fri Sep 13, 2013 2:39 pm
- Forum: Dot Matrix Display
- Topic: Need to find DMD with temp only
- Replies: 27
- Views: 17316
Re: Need to find DMD with temp only
I have tested with code who created, but huge problem! I checked read temp without createTextTemp(); read temp is fine by Serial Monitor. And removed all like; if (t==-8.50) { finalString=finalString+"-8.5 "; } I made short code for test only; void createTextTemp(){ finalString=" "; // wipe the sent...
- Mon Sep 09, 2013 2:53 pm
- Forum: Dot Matrix Display
- Topic: Need to find DMD with temp only
- Replies: 27
- Views: 17316
Re: Need to find DMD with temp only
The output from the debugging serial prints shows the sensor reading is working fine. Your issue is with the code that converts the value to a string, likely in createTextTemp() therefore. Yeah, something with createTextTemp() that problem, no idea, haven't solved problem for ages, I will try fix w...
- Sat Aug 10, 2013 3:52 am
- Forum: Dot Matrix Display
- Topic: Need to find DMD with temp only
- Replies: 27
- Views: 17316
Re: Need to find DMD with temp only
Hi, yeah I think to understand, I added code from yours, serial monitor show funny something this; DHT oRea¤DHT oRea¤DHT ouReadDHT ouReadDHT ou So I removed createTextTemp(), then running its working show monitor this; DHT output: 22.40 After rounding: 22.00 finalString: DHT output: 22.40 After rou...
- Fri Aug 09, 2013 6:01 pm
- Forum: Dot Matrix Display
- Topic: Need to find DMD with temp only
- Replies: 27
- Views: 17316
Re: Need to find DMD with temp only
Hi, yeah I think to understand, I added code from yours, serial monitor show funny something this; DHT oRea¤DHT oRea¤DHT ouReadDHT ouReadDHT ou So I removed createTextTemp(), then running its working show monitor this; DHT output: 22.40 After rounding: 22.00 finalString: DHT output: 22.40 After roun...
- Fri Aug 09, 2013 12:24 pm
- Forum: Dot Matrix Display
- Topic: Need to find DMD with temp only
- Replies: 27
- Views: 17316
Re: Need to find DMD with temp only
I changed code for test only, example I picked few code, only show this; String finalString="test"; void loop() { // get the temperature and round it to nearest 5 t=dht.readTemperature(); t=round5(t); //now create the text to display on the DMD //createTextTemp(); // now send the text to the DMD dra...
- Fri Aug 09, 2013 12:14 pm
- Forum: Dot Matrix Display
- Topic: Need to find DMD with temp only
- Replies: 27
- Views: 17316
Re: Need to find DMD with temp only
Steyker, really, am I very near having that thing solved for DS18B20? I will still try doing, but I bought DHT temp, I copied your code for DHT, I played up and then still nothing screen, but found out not because of Dallas or DHT, because same happened DMD nothing running but start with finalString...
- Mon Aug 05, 2013 3:08 pm
- Forum: Dot Matrix Display
- Topic: Need to find DMD with temp only
- Replies: 27
- Views: 17316
Re: Need to find DMD with temp only
All right, I'm still trying figure out, if still no good so give up then better buy DHT HUMID: Humidity and Temperature Sensor Module. simple way as most work.
Thanks.
Thanks.