element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Bluetooth Unleashed Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Bluetooth Unleashed Design Challenge
  • More
  • Cancel
Bluetooth Unleashed Design Challenge
Blog Bluetooth Unleashed : AAPSAD #7 : Moisture Matters
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: sakthi.1260
  • Date Created: 16 Jun 2018 3:56 PM Date Created
  • Views 841 views
  • Likes 6 likes
  • Comments 4 comments
  • arduio
Related
Recommended

Bluetooth Unleashed : AAPSAD #7 : Moisture Matters

sakthi.1260
sakthi.1260
16 Jun 2018

Hello guys,

 

Most of the work with Rpi is over, the next part is to prepare the control unit.

This week we gonna break open a USB humidifier and try to control it using the arduino.

Does humidity affects emotions?

Even I had the question till this was started, and after little search found a lot of interesting facts over this, so the conclusion they do play a vital role over the mood, higher humidity makes you lazy, that's something you might want when you are angry.

imageimage

 

I opened it, there is small control board and a pair of wire connected to the piezo. I removed the board to inspect and found the IC marking to be erased.

image

Since its was ON OFF controller decided to do it in another way, permanently shorted the humidifier switch to ground and attached a NPN to the power supply

image

 

and as final touch sprayed a layer of conformal coating ()

image

 

The Bluetooth is yet to be unleashes so I'm gonna send data over the arduino serial monitor

Its already humid weather here, so the only test case possible was 'anger' (did a mistake over the case in the snippet), but still it works. I don't want the humidifier to be turned ON based on the Relative humidity so hooked up a DHT11 to the arduino.

 

The code

#include <TroykaDHT.h>
DHT dht(10, DHT11);
void setup()
{
  pinMode(9, OUTPUT);
  Serial.begin(9600);
  dht.begin();
}

void loop()
{ digitalWrite(9,LOW);
  dht.read();
  delay(1000);
  int hum = dht.getHumidity();
  char c = Serial.read();
  switch(c)
  {
  case 'a': //anger
  if (hum<80)
  Serial.println(hum);
  digitalWrite(9,HIGH);
  delay(10000);
  break;
  case 's': //sad
  if (hum<60)
  Serial.println(hum);
  digitalWrite(9,HIGH); 
  delay(10000);
  break;
}
}

imageimage

 

I started to visualize the final outcome, hoping for a great end.

Cheers,

  • Sign in to reply

Top Comments

  • DAB
    DAB over 7 years ago +3
    Nice update. I have found that humidity changes can affect my migraine headaches. It is amazing how little things can affect the human body. DAB
  • genebren
    genebren over 7 years ago +2
    Nice update on your design challenge project. It was not too clear to me the relationship between humidity and mood, does an increase in humidity improve your mood? I am only wondering as here in Texas…
  • sakthi.1260
    sakthi.1260 over 7 years ago in reply to genebren +2
    Hi Gene, Thanks. The humidity indirectly affects psychology, a higher humidity means a less perspiration which in turns give a lethargic feel if you are angry a humidity raise should somewhat bring your…
  • aspork42
    aspork42 over 7 years ago

    Cool update!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 7 years ago

    Nice update.

     

    I have found that humidity changes can affect my migraine headaches.

    It is amazing how little things can affect the human body.

     

    DAB

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • sakthi.1260
    sakthi.1260 over 7 years ago in reply to genebren

    Hi Gene,

    Thanks.

    The humidity indirectly affects psychology, a higher humidity means a less perspiration which in turns give a lethargic feel if you are angry a humidity raise should somewhat bring your energy levels down, an optimum of 40-60% RH is perfect for good mood. A lot of research papers on the weather and psychology are there which goes much deeper, I just went through a few and came to a conclusion.

     

    Cheers,

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 7 years ago

    Nice update on your design challenge project.  It was not too clear to me the relationship between humidity and mood, does an increase in humidity improve your mood?  I am only wondering as here in Texas we are moving into the high heat and humidity season and I feel as if my mood is worsening.

    Good luck on your continued to progress in finishing up your project.

    Gene

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube