SmartTerra

by janneswaelkens in Circuits > Raspberry Pi

576 Views, 5 Favorites, 0 Comments

SmartTerra

62637846_431927777359564_8662090850026651648_n.jpg

Here is a instructable how to make your own Smart Terrarium for your bearded dragon.

Supplies

  • Planks (MDF 18mm) (in mm)
    • 1x 600 * 300
    • 2x 400 * 300
    • 1x 400 * 564
    • 1x 100 * 564
    • 2x 264 * 564
    • 1x 50 * 564
    • 2x 77 * 51
    • 2x 77 * 30
    • 1x 77 * 10
  • Plank (MDF 14mm) (in mm)
    • 1x 70 * 554x
  • Metal profile(U-shape) (width-height-thick) 50cm-1cm-1mm
  • 2x Lampholder E27
  • 2x Metal plate (L-shape)
  • +- 30 Universal Screws (3mm * 16mm)
  • +- 100 Universal Screws (4mm * 30mm)
  • 5m Electrical cable VTMB 2 * 1.5mm
  • 10m Electrical cable VTMB 4*0.6mm
  • A handle you like for the hatch on top
  • A handle you like for the door
  • 2x or 1x hinge for the hatch on top
  • 1x powerplug and socket
  • 2x plexiplate 30cm * 24.1cm
  • Grass mat
  • UV sensor for Raspberry pi
  • UV lamp terrarium
  • Ceramic heat lamp terrarium
  • 3x DS18B20 temperature sensor
  • LCD 0.96" Inch 4x16 with IICMCP3008
  • Magnetic reed switch
  • Relay module (5V 2channel 10A) for raspberry PI
  • Steppermotor with driver board
  • 3Dprinted feedhatch part
  • Connector (for powersupply)
  • Heat shrink400 pin breadbord
  • Jumpers male - female, male-male and female to female
  • 5x Small nails
  • Secondglue
  • Resistance
    • 1x 4.7kOhm
    • 1x 330Ohm
  • +- 25x Electrical round clamps Ø6
  • Tools
    • Handscewmachine
    • Universal Drill set 0.5mm - 10mm
    • Soldering iron
    • Measuring tools
    • Saw
    • Jigsaw
    • Hammerflat screwdriver
    • counterbore 50mm

Configure Your Raspberry Pi

In terminal

  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install mysql-sever
  • sudo apt-get install mysql-client
  • mysql -uroot -p
    • copy past the content of the dump
  • sudo nano /etc/rc.local
    • paste this underneat everything
      • nohup python3 /var/www/html/back/start.py

Prepare the Sides of the Terrarium (2* 40cm X 30xm)

IMG_20190406_153442_New.jpg

Sign your planks and predrill them(see image for the dimensions).

Prepare the Back of the Terrarium (40cm X 56.4xm)

IMG_20190406_160353_New.jpg

Sign your planks and predrill them(see image for the dimensions).

Put Together the Sides to the Back (40cm X 56.4xm)

Put Together the Inside Plank of the Terrarium (54.4 X 26.4)

Put Together the Bottom Plank

IMG_20190406_155047.jpg

You may become something like this

Prepare the Front Plank (56.4cm X 5cm)

IMG_20190406_16222221_New.jpg

Prepare the Other Front Plank (10cm X 56.4cm)

IMG_20190612_193216.jpg

Cut a hole with the jigsaw for your LCD (measure it on the middle)
Attach your LCD with the plank with screws (3x16)

Place the U-shapes on Your Front Planks With Screws

IMG_20190614_162156.jpg

Put your Plexi in it and glue the magnetic contact on one plexi.
Attach the other side of the magnetic contact on your terrarium. (see on picture)
Then screw the plank with the LCD on his place.
(We connect the lamps in one of the next steps)

Prepare the Feeder Hole (2* 7.7cm X 5.1cm)(2* 7.7cm X 3cm)

IMG_20190406_17255541.jpg

Put the planks together with nails

Drill a Hole on Top With a Drill Ø10

IMG_20190406_174738_New.jpg

30cm from the side
6.2cm from the back
Prepare the holes for the screws for the hatch.

Drill a Hole on the Spacer With a Drill Ø10

IMG_20190406_175204.jpg

4.4cm from back
28.2cm from the side (inside) (make sure that the hole is drilled equal with the hole on the top)
Attach the hatch on the top.

Drill a Hole for the Axis and Another for the Cable of the Motor

IMG_20190406_185532_New.jpg

hole for the axis Ø6
hole for the cable Ø10

Cut a Hole With the Jigsaw for Hatch for Electricity (additionally)

IMG_20190407_174811_New.jpg

Give the Hatch a Lid

IMG_20190612_195608.jpg

Take the plank that you cut out of the hatch hole and make sure the corners are nice.
Attach your hinge and knob to the plank.
Attach the plank on top.

Set Your 3Dprinted Item on the Stepper

Make sure its good connected. (see video for working)

Drill Holes for Your Sensors in the Corners

IMG_20190612_194926__01.jpg

Connect the electrical wiring and bulbs.
Something like the picture.

Drill a Hole in Your Stone for the Temperature Sensor

IMG_20190608_163419.jpg

Wiring

Untitled.png

Database

3D Print

Downloads

Github

Bill of Materials

a total of €221