Instructables

Tempduino - Arduino Based Temp and Humidity Display

Featured
Picture of Tempduino - Arduino Based Temp and Humidity Display
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.”
 
Remove these adsRemove these ads by Signing Up

Step 2: Design

Picture of Design
The first thing to do is layout the placement of devices on the Perma-Proto board. This was the first time I've used Fritzing. Fritzing is an open-source electronics design application available for Windows, Mac OSX, and Linux. I chose to try it out on this project because I knew that Adafruit had a large Fritzing library of parts that included the Perma-Proto board. The software makes the layout of parts and connections on the Perma-Proto a snap. The Fritzing file can be downloaded along with the Arduino sketch from GitHub.
ssarunrat2 months ago

help me pleaseeeeee

Capture.PNG
Would it be possible to add the schematic view from Fritzing as well? It may make it clearer which components are connected.
Ktulu_1 (author)  tonymcdaniel1 year ago
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?
Ktulu_1 (author)  mikeasaurus1 year ago
Sure.

=====================================

//tempduino (temperature and humidity display)
//by jeff clymer (jeff@techunboxed.com)
//2013.01.14 http://techunboxed.com
//version 3.1

#include "DHT.h"
#include
#include "Adafruit_LEDBackpack.h"
#include "Adafruit_GFX.h"

#define DHTPIN 2 //DHT22 is connected to digital pin 2
#define DHTTYPE DHT22 //set the type of sensor

DHT dht(DHTPIN, DHTTYPE);
Adafruit_7segment matrix = Adafruit_7segment();

void setup() {
  dht.begin();
  matrix.begin(0x70);
  matrix.setBrightness(1);
}

void loop() {
  float h = dht.readHumidity(); //h = DHT humidity
  float t = dht.readTemperature(); //t = DHT temp

    matrix.print(t*1.8+32); //display temp in fahrenheit
    matrix.writeDisplay(); delay(30000); //wait 30 seconds
    matrix.print(h); //display humidity percentage
    matrix.writeDisplay();
    delay(10000); //wait 10 seconds
}
Thanks! (but I meant in the body of the instructable so everyone can read it on that step) :)