Skip to content

Set up Guide for Hub

Kenneth Kang edited this page Jul 12, 2020 · 2 revisions

Table of Contents

Hardware Setup for Sensor Package


Before You Start the Hardware


Before you start doing the setup for the eGreenHouse Sensor Package hardware setup, you need to get the right sensors and hardware to follow the order:

  • 2 of M0 Feather Board with LoRa Radio M0 Feather Board with LoRa Radio
  • Ethernet FeatherWing 3201-00
  • 2 of Antenna with uFL to RP-SMA antenna adapter cable uFL to RP-SMA antenna adapter cable
  • 2 of uFL SMT Antenna Connector uFL antenna adapter
  • 3 of Stacking Header Pins for M0 Feather Board 2830-00
  • 2 of Micro USB Cable Micro USB Cable
  • Ethernet Cable 81-Qer-Fq-Lub-L-AC-UY218
  • Soldering Kit

If you don't have these sensors, cables, or pins, then check out these websites to purchase them.

Once you have all of the equipment, we are ready to start setting up the hardware.

Hardware Setup


M0 Feather Board and Ethernet FeatherWing Setup


  • You can find the M0 Feather Board setup guide here.
  • You can find the Ethernet FeatherWing guide here.
    • Or you can just look at the M0 Feather Board setup guide. There are exactly the same.

Once you are done soldering the M0 Feather Board, then check out here to know how to install LoRa.

Once you are complete with the soldering part, one of the M0 board will be connected to the EthernetWing while the other one will be by itself. The one that is connected with the EthernetWing will be the Hub_Receive and the other one will be called Hub_Transmit.

Software Setup


Before You Start the Software


You need to install Arduino IDE and Loom for both Hub_Transmit and Hub_Receive. Click here to set up both Arduino and Loom. Please follow the guideline for it.

  • You can check out here to learn more about Loom itself.

You also need to install Processing that can be found here.

Software Setup for Hub_Transmit


Almost ready. Give me time until July 14th

Software Setup for Hub_Receive


Almost Ready, Give me time until July 14th

Software Setup for GUI


  1. Connect the Hub_Transmit board.

    • As the name says, the Hub_Transmit will receive User input from the GUI and send data to the HyperRail.
  2. Make sure what is the COM port number is.

    • You can check by going Arduino -> Tools -> Port. There should only be one port number. In this case, it will be COM7. COM
  3. Open eGreenhouse.pde, not Timer.pde

    • This file should be located to GUI -> eGreenhouse.
    • It will ask you what application should be open as, then select the Processing application that you downloaded.
  4. Go to Sketch->Import Library->Add Library, then type ControlP5 and Arduino.cc and download both libraries. Capture Capture Capture

  5. Change the COM port value.

    • You can find this in line 38 as it shown below. Capture
  6. Once you change it, then click the green arrow button on the top left. Then you opened the GUI.

    • In the GUI, you can only input integers.