What is it?
When we first used this device, a Medisana Humidifier AH 665, around the house, you could notice the increased level of humidity. I guess it was really needed as I did not really measure the humidity before that good.
After using this humidifier for a couple of days, it woke us up in the middle of the night by beeping the shit out of us. The water level was low, are you kidding me? Turn of automatically and let me sleep.
Okay, this needed to be handled with, this project was setup to remove the complete interface (lights, buttons, etc.) and replace it with an arduino hooked up to the MySensor network.
In my Vera3 environment this looks like
Eagle layout
Arduino code
All the code can be found on my github: https://github.com/timdows/AMD/tree/master/AirHumidifier
AirHumidifier.ino sets up the MySensor, DHTClass, Debounce and Switch objects.
At the setup some objects’ Init methods are called, the rest uses constructors to handle the initialization steps needed.
The Switch class handles the different NPN transistors around the board. It just holds it current value and handles switching it on or off. Every change is send to the gateway.
The DHTClass class reads the current values of its DHT11 sensor, this value is then send back via the gateway.
The Debounce class wraps around the existing Bounce2. It is used to check if the waterlevel is low via the floatswitch.
End result
TODO
- Hook up the existing buttons and display, but as it is used while sleeping I guess we will only be annoyed by the lights of it
Project costs in € or $
Object | Price |
---|---|
Arduino Pro Mini 5V | $ 1.92 |
DHT11 | $ 0.89 |
NRF24L01 | $ 0.86 |
Air humidifier | $ 70.00 |
Other materials | $ 2 |
Total | $ 75.67 |
What could be better
- The ultrasonic speaker controller uses a potentiometer to control the intensity. By hooking up the oscilloscope to the existing controller board the PWM values could be gathered
Comments are closed.