The temperature in my office at work varies quite a bit depending on the time of day, season, and the whims of the other people I share the floor with. When I’m sitting at my desk shaking uncontrollably or sweating profusely it would be nice to know if it’s due to the temperature or just work related stress. A simple $5.00 thermometer would suffice, but where’s the fun in that? Making my own thermometer might cost ten times as much, but I might learn something in the process and it would be way cooler than any cheap store bought thing? I’d rather make something myself even if I have to pay a “maker’s premium.”
<p>help me pleaseeeeee</p>
did you ever figure your problem out with declaring dht?
Would it be possible to add the schematic view from Fritzing as well? It may make it clearer which components are connected.
The Perma-Proto part does not act like a breadboard in Fritzing. Connections made on the Perma-Proto in the breadboard view do not translate to the schematic screen. The schematic view only has the components on it.
Would you mind pasting the sketch here, instead of the picture?
Sure.<br> <br> =====================================<br> <br> //tempduino (temperature and humidity display)<br> //by jeff clymer (jeff@techunboxed.com)<br> //2013.01.14 http://techunboxed.com<br> //version 3.1<br> <br> #include &quot;DHT.h&quot;<br> #include<br> #include &quot;Adafruit_LEDBackpack.h&quot;<br> #include &quot;Adafruit_GFX.h&quot;<br> <br> #define DHTPIN 2 //DHT22 is connected to digital pin 2<br> #define DHTTYPE DHT22 //set the type of sensor<br> <br> DHT dht(DHTPIN, DHTTYPE);<br> Adafruit_7segment matrix = Adafruit_7segment();<br> <br> void setup() {<br> &nbsp; dht.begin();<br> &nbsp; matrix.begin(0x70);<br> &nbsp; matrix.setBrightness(1);<br> }<br> <br> void loop() {<br> &nbsp; float h = dht.readHumidity(); //h = DHT humidity<br> &nbsp; float t = dht.readTemperature(); //t = DHT temp<br> <br> &nbsp; &nbsp; matrix.print(t*1.8+32); //display temp in fahrenheit<br> &nbsp; &nbsp; matrix.writeDisplay(); delay(30000); //wait 30 seconds<br> &nbsp; &nbsp; matrix.print(h); //display humidity percentage<br> &nbsp; &nbsp; matrix.writeDisplay();<br> &nbsp; &nbsp; delay(10000); //wait 10 seconds<br> }
Thanks! (but I meant in the body of the instructable so everyone can read it on that step) :)
Find similar <a href="http://www.geniusdevils.com/search/label/Arduino" rel="nofollow">Arduino based projects here</a>

About This Instructable




More by Ktulu_1:How to Repair a Broken Raspberry Pi SD Card Slot USB Breakout Board Tempduino - Arduino Based Temp and Humidity Display 
Add instructable to: