temp_sensor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
temp_sensor [2014/03/02 18:09] – [Connect the SHT15] breaker27 | temp_sensor [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Building up a Temeprature and Humidity Sensor ====== | ||
- | ===== Needed Parts and PCB ===== | ||
- | |||
- | You need a **PCB**. You may use the layout from [[https:// | ||
- | |||
- | The temp sensor is designed to run 24/7 on two alcaline batteries with an estimated battery lifetime of > 5 years. | ||
- | |||
- | ==== Partlist (in buildup order) ==== | ||
- | |||
- | ^ Amount | ||
- | | 1 | PCB Generic Midi 1 | | {{ parts: | ||
- | | 1 | Resistor 560R green-blue-brown | ||
- | | 1 | Resistor 150k 0,1% brown-green-black | ||
- | | 1 | Resistor 330k 0,1% orange-orange-black | ||
- | | 1 | Resistor 1M brown-black-green | ||
- | | 1 | Resistor 100k brown-black-yellow | ||
- | | 1 | Resistor 10k brown-black-orange | ||
- | | 1 | IC holder | ||
- | | 1 | LED 2mA | LED1 | ||
- | | 1 | Connector AVR ISP 6pin | JP1 | {{ parts: | ||
- | | 1 | Connector 1 pin header (for serial TX) | PD1 | {{ parts: | ||
- | | 1 | Capacitor 10µF | C3 | ||
- | | 1 | Battery Holder 2xAAA | | {{ parts: | ||
- | | 1 | IC ATMega168 | ||
- | | 1 | Transceiver PCB RFM12B | ||
- | | 1 | Antenna (82,2mm wire) | ||
- | |||
- | maybe extra pins, at your opinion. | ||
- | |||
- | ===== Buildup of PCB ===== | ||
- | |||
- | As always: start from flat to high. Go through the partlist and solder the parts from the top ones to the last ones. | ||
- | |||
- | For some parts, you have to consider something special: | ||
- | |||
- | * **IC holder:** Look at the notch and place it in the right direction. | ||
- | * **LED:** Solder it to a wire if you want to place the PCB in a housing later. Read the instructions on how to [[LED_soldering|solder the LED to a cable]]. The longer wire of the LED is +. It goes into the hole more in the middle of the PCB. | ||
- | * **ISP Connector: | ||
- | * **10 uF Capacitor: | ||
- | * **Battery holder:** + is the pin towards the middle of the PCB. | ||
- | * **ATMega:** Before inserting it, you may want to check the voltage levels when switching the power on. Pin7 should have VCC (3V) against pin8 (ground). If you have different voltages: don't panic, nothing is broken, nothing is fried. Search your error. To insert the ATMega, bend the pins at 90 degreed by placing the ATMega on the table and bending it carefully. Then insert it into the IC holder. Be sure that you are not charged with electricity (ESD!) when touching the IC pins. | ||
- | * **RFM12B:** You should also check the voltages first before soldering the module. At the place for the radio module the pad beside the antenna and at the opposite side the third pad should read about 3.3 V. For soldering, read [[rfm12b_soldering|the RFM12B mounting instructions]]. | ||
- | |||
- | {{https:// | ||
- | |||
- | //(Image directly loaded from external GitHub source. If it doesn' | ||
- | |||
- | ===== Flashing the firmware ===== | ||
- | |||
- | If you have a new ATMega where nothing is flashed onto, [[http:// | ||
- | |||
- | You can leave the batteries inserted all the time, no matter if you're currently flashing or using the device. | ||
- | |||
- | To make a " | ||
- | |||
- | After flashing and switching the power on, your temp sensor should blink quickly for some seconds. After that, it only flashes shortly once whenever a temperature data packet is sent (>5 min). | ||
- | |||
- | ===== Connect the SHT15 ===== | ||
- | |||
- | {{: | ||
- | |||
- | After that, solder the other end of the wires to the PCB. The picture is from the top side of the PCB. The border of the PCB is at the bottom of the picture. | ||
- | |||
- | |||
- | ===== Integrate it into a housing ===== | ||
- | |||
- | describe it... |