Introduction: Automatic Indoor Greenhouse Based on Ikea Socker

Hi, this is my first instructable. I learned a lot with this comunity, and i think it's time to return my humble ideas. I'm sorry about my english, is poor, but i will do all i can.

The idea was to make a deskop greenhouse that let me grow seeds and little plants inside in my room, giving them outdoor like light and air conditions. Since it is indoors i don't have to control the temperature, but i have in mind to add some kind of heating mat in a future (for this reason i added a DHT11 sensor). I don't added yet a watering system, but is the next step.

Basically what he does is:

-During day time (10AM to 8PM) the top doors are closed for avoiding the annoying light get off the greenhouse, the fan is on for ventilate the greenhouse and the LCD screen light is on showing temperature, humidity and hour inside the greenhouse (and, of course, the led light is on).

-During night time the light is off, the screen backlight is off, the fan too and one of the top doors is opened by a servo, so there is any annoying noise or light during the night (keep in mind this is in my bedroom) and letting the plants to breathe.

Supplies

Electronics:

1x "Arduino" nano

1x LCD I2C

1x 4 relay board (i'm using 3, but i couldn't find any 3 board)

1x High torque servo https://www.banggood.com/MG995-High-Torgue-Metal-G...

1x DHT11

1x Step down converter

1x 12v Power suply

1x 12v Fan

1x I2C RTC

Hardware:

1x Growing led lamp https://www.amazon.es/dp/B07X3HRRSB?ref=ppx_pop_mo...

1x Ikea Socker https://www.ikea.com/es/es/p/socker-invernadero-bl...

Others:

Black spray or black self adhesive vinyl

Step 1: Making Opaque the Greenhouse

I bought an Ikea Socker greenhouse and i disassembled the plastics. Then i tested 3 ways for making the clear plastics opaque:

1- Black vinyl: I used this in the left, right and top sides. Is cheap, quick and it's OK, but is very difficult to avoid air bubbles.

2- Aluminum foil: I used on the back side. Is very bad looking, but is the cheapest and easiest option. You can use this in the side behind (as i done).

3- Black spray: The best option so far, that i used in the top side. Paint the indoor face of the plastic, and let clean the outdoor. Is absolutely fantastic looking.

You can decide which method to use, all three are functional, but by far the best is the black spray.

Step 2: Electronics

The circuit is really simple, but i think i have to explain what i did a few strange things:

-I opened the control box of the lights and soldered one wire to each pin of the power button. I did this instead of controlling directly the lights because I already have the power electronics and I can turn it on and off manually without having to go through arduino. What i do is simulate the button pulses with the relay.

-I have passed the servo power through a relay cause the servo ever makes a little noise, and when i'm on the bed i listen all the little sounds, so i power it just before moving and i power off a second after it.

The other connections are very simple (i done it in a solder breadboard, but you can make a PCB).

Apart of these, there are connected to 220V the 12v power supply and the USB adapter (for the led lights).

Step 3: Arduino Code

There are comments in important lines of the code. Tell me any doubt or error :)

Step 4: Temporary Auto Watering

Since i don't have installed any kind of watering system but I want the greenhouse to have some autonomy i 3d printed some self-watering planters that fit in jam jars.

With this customizable file you can create your own. They work very well! https://www.thingiverse.com/thing:3052150

Step 5: Conclusions

So i'm very happy with this made. I finished it only a week ago and i can see notable differences between having the little plants at the edge of the windows and in the greenhouse. Also i made my first instructable, and i'm very happy. I wish you like, and ask me any doubts or comments. I will be happy to receive your review! Thank you!