Arduino and the HH10D humidity sensor

The HH10D is a relatively cheap humidity sensor that can be bought from Sparkfun. It has a capacity sensor on board, which is connected to a 555-based frequency generator. Thus the device gives a frequency out that depends on the humidity in the air. But this is not all. The device also has an I2C Eeprom, where a calibration value is stored. This is programmed at the factory, and only has to be read once. When you have the value, it can be hardcoded in the Arduino code (and put on a sticker on the HH10D).

Dev2

Wired node #2. Mounted inside, measures values, collects data, displays data.

-Atmega 168.
-MAX485 RS485 transceiver.
-433 MHz rf receiver.
-LCD.
-MPXA4115A air pressure sensor.

MCP9701A temperature sensor
A simple temperature sensor from Microchip. Gives out 19.5mV/degree celsius, at 0C the output is 400mV. Connected to a analog input on the Atmega.
For accuracy it has to be calibrated. I used a small can filled with snow/ice that had just melted. The output of the MCP9701 was then measures, in this case it gave xx volt.

Dev1

Arduino projects

Ardweather

Ardweather
This project's goal is to collect data from the surroundings

The device uses different sensor nodes. Some of them are connected via RS485, some are wireless. The wireless sensor are used for temperature and humidity. The wireless devices are not homebuilt, they are cheap extra devices for a commercial weather station (From Esic, Clas Ohlson item number 36-1797).
In the network there is also a number of wired devices. They connect via RS485, and to a PC via a RS485/RS232 adapter. For simplicity, these devices are built like Atmega168-based Arduino-clones.

Buildning a small Arduino clone

Here I will build a really small Arduino clone. A MCU a Atmega168 is used. To save space and solder the device is preloaded with the Arduino bootloader, before the other components are mounted.

1 - Program the bootloader.

-The Mega168 is placed in the socket on a Arduino Duemilanove, replacing the original Mega328.

-An Avrisp mkII programmer is attached to the programming header on the Duemilanove, to this card I also connect an external power supply.

-Windows XP is booted in Virtualbox on my Ubuntu system.

Project ideas

-Big volume nob for the computer. Maybe a big red panic button that mutes the sound? Or a device that auto mutes when the phone rings (complicated with cell...).

Low-volt home network

The aim of this project is to create a low-voltage network in my home.
I use a lot of led lights. They like low voltage, and I don't like mains attached adapters everywhere. Better to run a low-voltage line where they can be connected.

First test with Atmega168

sudo avrdude -p m168 -c avrispv2 -P usb -t

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1eff06
avrdude: Expected signature for ATMEGA168 is 1E 94 06
Double check chip, or use -F to override this check.

Works better with the "-B" option:

sudo avrdude -p m168 -c avrispv2 -P usb -t -B 32

USB Connectors

Syndicate content