top of page

Week 10 & 11 (Mar 12 - Mar 23)

  • verticalfarmprojec
  • Apr 5, 2018
  • 2 min read

We have decided to combine these 2 weeks into one post because what we did was the same which was putting everything together.

Early in Week 10, we started to work on the code of the main microcontroller. In fact, we connected all the sensors and relays to the Arduino and started to test it. Below you can find an image that illustrates our words.

The following lists include each individual pin of the Arduino and what we connected to it. If there is nothing next to the pin number, it means nothing was connected to it.

Arduino Pins:

0 ----

1 ----

2 ---- Water Flow Sensor

3 ---- Temperature Sensor

4 ---- Relay for Laser

5 ---- Relay for Motor

6 ---- Relay for Water Pump

7 ---- CE for RF

8 ---- CSN for RF

9 ---- Relay for Ultrasonic Sensor

10 ----

11 ---- MOSI for RF

12 ---- MISO for RF

13 ---- SCK for RF

14 (A0) ---- Laser Input

15 (A1) ---- Ultrasonic Trigger Pin

16 (A2) ---- Ultrasonic Echo Pin

17 (A3) ----

18 (A4) ----

19 (A5) ----

Note that the Analog pins were used as Digital Pins.

After the code was tested and ready to roll, we start to hard-wire everything into the framework. In addition, we bought an enclosure for the trays' microcontrollers and the main microcontroller. The pictures below represent the enclosures while we were testing each tray and while we were hard-wiring the main microcontroller

We have decided to put the main microcontroller on top of the framework for safety reason. Pictures below illustrates the progress of hard-wiring the system and incorporating everything.


NOTE: The white bucket on the side of the system is the water reservoir. In it, we have a water pump and on top of the lid we will have the water flow sensor. A more finalized work can be seen towards the end of this post.


 
 
 

Comments


bottom of page