Connected Greenhouse

Connected Greenhouse

A big step for eGreenhouse today - we're connected to the internet!  PushingBox code is integrated into the HyperRail hub code that pushes sensor data directly to Google Sheets. I set up my own account, so I can log up to 1000 data points per day (roughly every minute and a half).

Other new developments:

By digging into the documentation and doing some testing, we've determined that the whole system can run well on 5V. This means we can use a 3.7V battery pack with a Powerboost 1000C breakout board to boost up to 5V. This setup should be nice and efficient. 

Also, the UART data lines (RX/TX) on the CO2 and particle sensors both run on 3.3V logic, so there's no need for a logic level converter.

I've crafted the new streamlined version with everything included into a custom PCB that's ready to send off for manufacture when can verify the Powerboost works as anticipated. 

I built a 3-meter HyperRail in the OPEnS Lab, so I'm ready to scale up to the full version at the experimental location when parts arrive. 

Next steps:

  • Run a 3-4 day experiment on campus to work out any kinks in the system before full deployment
  • Calibrate the K30 using an Irgason on campus
  • Design an attachment system for the sensor package on the rail 

 

Screen Shot 2018-08-03 at 2.54.28 PM.png

Successful readings on the HyperRail!

Great progress today - we got CO2, lux, temp, and humidity to transmit to the hub while the HyperRail moved the sensor package in specified increments. Video posted below. 

The HyperRail GUI now allows for specification of the travel length, speed, and distance between stops. When the sensors get to each new location, the hub tells which sensors to take readings. Once the readings are complete and the hub receives the data, it moves the package down the rail to the next sensing location.

Next, we'll add a box to the GUI that allows the user to select which sensors to take readings from, without having to hard-code it. Also, the user will be able to select the time interval between runs down the rail and make it automatically loop throughout the day. 

 

Bi-directional communication up and running

Bi-directional communication up and running

Crossed a major hurdle yesterday - the sensor package now communicates back and forth with the HyperRail hub. 

The sensors wait for a signal from the hub, which sends an array of zeros and ones telling each sensor whether or not to take a reading. Once the readings are complete, the data is saved to the Adalogger SD card, then the values are sent back to the hub.

Next, we'll work on the timing at the hub to move the sensors a specified distance, wait for data, then move on. After that, I'll work on a live stream to the internet (Adafruit.io or Google sheets) from the hub.

Cheers,

Lars

A much smaller footprint for the Digital Greenhouse

A much smaller footprint for the Digital Greenhouse

I moved the sensor package to a 1/2 sized Perma-Proto board today.  It's now mobile and ready to start interfacing with the HyperRail. See the new setup pictured below.

The new setup is logging data successfully and nRF is working.  

The next step is to create a conveyance and data transmission protocol to fully integrate with the HyperRail.  

Lars

IMG_1088.JPG

CO2 and Lux communicating via Nordic transmitter from the M0

CO2 and Lux communicating via Nordic transmitter from the M0

Great progress to report.

The CO2 and luminosity sensors are transmitting data from one Feather M0 to another via OPEnS' Nordic transmitter. Data is also saving locally with RTC time stamp to an Adalogger SD card. 

Notable changes:

I'll work on getting everything up on the GitHub page including wiring.

More to follow,

Lars

Moving platform to Adafruit Feather M0

Moving platform to Adafruit Feather M0

Taking it back to basics with the eGreenhouse package, reprogramming the sensor suite one component at a time to ensure a smooth transfer to the Feather.

Here's the plan:

  • Adafruit Feather M0 Proto
  • Adalogger FeatherWing for saving sensor data to an SD card
  • OPEnS custom nRF PCB for communication with the HyperRail

Currently, the Feather saves data to the Adalogger successfully; running the lux sensor as a start. Moving on to the rest!

One notable stumbling block with the transfer between Arduino Uno and Adafruit Feather M0: SoftwareSerial is not supported by M0 --> must recreate serial communication via hardware serial. This is accomplished by setting up a Serial SERCOM, following this Adafruit tutorial: https://learn.adafruit.com/using-atsamd21-sercom-to-add-more-spi-i2c-serial-ports/creating-a-new-serial

More to follow,

Lars

Entire Suite Working on the Uno

Entire Suite Working on the Uno

A successful Monday - got the entire sensor suite running properly.  

One notable - and very easily preventable - issue that I ran into: I had wired the RTC into a ground rail that didn't tie back to the Arduino's ground.  Always double-check your grounds!  It's easy to overlook, but it can cause a lot of confusing data problems.  A teachable moment, at least.

Moving forward:

Testing in the greenhouse begins this week.  I'll replicate the previous study's conditions as much as possible to see what kind of correlation we find.

 

Lars

 

Success on the Uno!

Success on the Uno!

The CO2 sensor problems from earlier this week were due to a faulty breadboard which left insufficient current for the sensor.  After swapping the whole array to a new board, the CO2, temp, RH, and SD card are up and running.  

Average values in the OPEnS Lab today:

CO2: 835 ppm, temp: 23˚C, RH: 45%

Next steps: coordinating with Elad to set up a more rigorous testing protocol, and wiring in the luminosity sensor when it arrives.  

 

Preliminary Testing on the Uno

Preliminary Testing on the Uno

Hi all,

Sensor testing has begun.  I've wired up everything to match Elad's configuration, excluding the problematic O2 sensor.  MicroSD, SHT31-D temp/RH, and DS3231 RTC are initializing successfully. However, the code is getting hung up on the K-30 CO2 sensor startup process.  I've isolated the CO2 sensor and will run test code on this sensor only.

Lars

Beginning Researcher

eGreenhouse back online for 2018

Hi all, 

I'm Lars, ecological engineering student at Oregon State University, and I'll be collaborating with Elad to push the eGreenhouse project forward.  

Next Steps:

  • Wire sensor suite and test previous code 
  • Port Arduino Uno code into Adafruit Feather (much smaller, lighter, more efficient)
  • Implement 2-way communication with the OPEnS Lab HyperRail for dynamic data 

Looking forward!

 

Lars Larson, Beginning Researcher

 

CO2/O2 Summer Research Summary and Data

CO2/O2 Summer Research Summary and Data

Integration of the different device sensors was successful and two 5-days measurement periods were conducted inside a laboratory and a greenhouse. Main conclusions at this stage are: (1) temperature, RH, and luminosity sensors were reliable and in the desired accuracy range, (2) problematic dependency of O2 sensor with temperature, (3) CO2 accuracy was not sufficient to measure the daily CO2 oscillations inside the experimental greenhouse.