Introduction: CoPiino Humidity Control - Joining Raspberry Pi and Arduino

About: Electronics is great!

I recently came across a friend of mine. We talked about our recent projects where he finally told me about his basement which has very high humidity and is currently not that good place where you like to run projects.

This made us think about a new project idea: "develop a control unit for intelligent humidity regulation"

Of course it had to be something smart with RaspberryPi and WiFi, so we are able to monitor and configure all sensors and fan units by tablet from the living room :)

On the other hand we wanted to have a reliable realtime control that is not affected by network issues and still operates when the Linux OS is stuck.

That's why we combined an Arduino compatible board with a standalone processor and combined it with Raspberry Pi.

Step 1: Schematics

So this is how it all looks like. The main parts are

We also needed a bunch of small parts

  • cables (we used a roll of 25m CAT5 patch cable - cheap and twisted pairs for long distances)
  • connectors
  • bolts, nuts


  • PC
  • screwdrivers
  • drilling machine
  • pens
  • wire cutter
  • soldering iron

Step 2: Detailed Views

Now its all about

  • preparing the case for the control unit (including holes for the connectors)
  • prepare the big case for the fan unit
  • prepare the small cases for our humidity sensors
  • prepare the cables (including soldering the connectors)

Step 3: Software

I do not have a screenshot of my tablet so I used the one from

CoPiino provides a Web IDE package that can be installed on RaspberryPi. It includes an apache web server and all required libraries for the CoPiino board which is stacked on top (as HAT) of the RaspberryPi.

Programming can be done from anywhere having WiFi access to RaspberryPi. So we basically needed to prepare the hardware first and then sat back and enjoyed programming the CoPiino board from the couch :).

The source code we used can be downloaded here:

We will add more software pictures and sensor/control log data after running one month :).

Step 4: Thank You!

Thanks for reading!

Spring Cleaning Challenge

Participated in the
Spring Cleaning Challenge

Pi/e Day Contest

Participated in the
Pi/e Day Contest

Automation Contest

Participated in the
Automation Contest