OPEnS Wireless Sensor/Actuator Net (WSAN)

By: Chet Udell

Introducing a new, modular, open-source, open-hardware wireless sensor-actuator network toolkit for environmental and agricultural projects. The main idea is: may people in environmental and agricultural fields have need for (or could greatly benefit from) deploying sensor-actuator systems in their practice. However, the exact system of sensors for each individual is idiosyncratic to their unique environment, constraints, and line of inquiry, requiring customs systems be designed from scratch for each new project. This results in a barrier to entry for those who don’t have the background or time to learn and develop their own sensor-actuator systems. OPEnS WSAN proposes a plug and play, modular, reconfigurable architecture that would enable those with little-to-no expertise in engineering to quickly map out and assemble a unique system to fit their needs in relatively little time.


Transmitter prototype with Adafruit Pro Trinket 3V, nRF24L01+, with Sonar and FSR sensors.Transmitter prototype with Adafruit Pro Trinket 3V, nRF24L01+, with Sonar and FSR sensors.

Transmitter prototype with Adafruit Pro Trinket 3V, nRF24L01+, with Sonar and FSR sensors.

Hub

A single hub will collect all transmitted data from nodes and translate data streams into WiFi for uploading onto a cloud storage service.

Sensor Nodes

Will be comprised of parents and children. There can be up to 6 unique parents directly connected to the hub. Children placed further away can communicate to the hub by passing messages along to their parent.

Actuator nodes

These nodes will receive commands from the hub to drive relays, motors, servos, valves, and other commonly used actuators. Messages may be sent in real time by the user sending commands to the hub, or automated through a cloud service like IFTTT (If This Then That). In this manner, hub may be programmed to alter the behavior of sensors or trigger events of actuators based on the behavior or events from other nodes.

Repeater Nodes

These simply extend the range of communication of nodes to the hub by relaying messages to their target destination.

Library

I’m using the RF24Network library by maniacbug, which can be accessed on GitHub, or through the Arduino IDE Library manager. I’m also using the i2cdev library by jrowberg to manage communication with the MPU6050 IMU sensor (see below).

Progress to Date

I’ve begun preliminary work on evaluating the Nordic nRF24L01+ wireless transceiver radios with the Arduino Uno and Adafruit Pro Trinket 3V. These ultra-low power radios give significant range and adjustable data rate down to 250kbps. The datasheet is here. 2 sensor transmitters and one hub now work, will add more when more nRF radios arrive in the mail.

Sensors supported so far

Actuators

  • None yet

V84 of Soil Vapor Sampler

A few changes have been done to the Soil Vapor Sampler. The design has been flip upside down. This was done to accommodate the new cap. The angle at which the tubing came into the sampler was also modified. The hole is now directly extruded towards the center, this facilitates the insertion of the tubing. 


 New Vapor Sampler Cap    New Vapor Sampler Cap   

 New Vapor Sampler Cap

 

This new cap goes on the bottom soil sampler. This is the piece that gets inserted into the ground first. 


Cross section of vapor samplerCross section of vapor sampler

Cross section of vapor sampler

The gray long tubes are the pathways where the tubing goes through. With the direct path, the tubes have no troubles going in. 


This is the model of a vapor sampler with all the pieces put together. The white piece is the microporous tubing that would go between every sampler and between the last sampler and the cap. 

Making Photo Booth for OPEnS Lab Projects

At the OPEnS lab we prototype many projects and need to document them. Pictures are essential to our reports and publications. In order to have the best quality pictures we decided to make a photo booth. Here is the CAD of our booth. 

First version of CAD

This photo booth is a light box, a tool to take professional looking photos. Our is a  DIY version of the ones we could buy. The idea is to have all of the openings covered with tissue paper and a light source on each side of the box. The paper will serve as a filter, giving the object inside an even lighting. Here is an example:

To take the CAD into the laser cutter I converted separate sides of the box into DXF files. These files are then processed by the laser cutter software and then loaded to the laser cutter. Here is what our photo booth looks like so far:

Some materials are still needed but it is almost done. 

Testing foam on Laser Cutter & Making Foam Inserts for Tools

The foam finally arrived and we have started to experiment with it. I cut various small 10 x 10 mm squares at different power levels, speeds and heights to determine our best settings. The settings that I observed were cutting the best: Power 17, Speed 23 and Height 3315.9mm. 

 

Sample cuts on foam 

After doing some testing I intended to  cut the foam inserts for the drawers. When loading the DXF file from Fusion360 on to MetalCut, the file appeared to be changed. There were some extra lines that were not supposed to be there. After analyzing the MetalCut file, I noticed that the program was making some discontinuities in the design outlines and created lines towards the center to compensate for it. I believe it was doing this because the file had some sharp edges and I think it doesn’t precess these edges very well. 

The Fusion360 design is being fixed. Only some pieces seemed to be affected by these sharp edges. After all the changes have been made, the cutting process should go smoothly. 

New Rain Validator Experiment


 

 

Today I set up a new experiment using the old HP tablet and OHAUS usb scales. The setup was three scales connected to the tablet, which was running Jim Wagner’s custom logging software, ScaleWatcher v3. A beaker filled nearly to the top, a wickless validator filled nearly to the top, and a validator with wick saturated and filled nearly to the top with water will have their masses logged every 10 minutes for a month or until the validators are dry. The wicked validator has a dry weight of 191 grams, while the wickless validator has a dry weight of 75 grams. The beaker and wicked validator are on 4000g scales and the wickless validator is on a 600g scale.

 

Posted by Mitch

Transferring CAD of Rain Catcher Calibrator from OpenSCAD to Fusion360

Fusion360 a smarter tool for makers and professionals to use when making parametric designs. It uses a GUI to input the parameters and doesn’t require any previous knowledge in programming.  I have decided to transfer the design over. This will make it easier to modify when the user downloads our files, especially if they don’t have any programming experience.

 

Updated Validator Data

After another day of data, I created another set of graphs that displayed the relationship between the ratio of beaker mass to validator mass and validator’s water mass (calculated by subtracting the dry weight of the validator from each data point), per Selker’s request. What this graph shows is that the validator’s water evaporates at a faster rate relative to the validator’s total mass than the water in the beaker. Below is the set of graphs for trial 1 and trial 2.


ratio vs val waterratio vs val water

Using the Laser Cutter to Make a 3D Model

We took a 3D model of an Icosahedron and used 123D Make to create a 3D-laser cutter version. 

CAD Model

3D Model

We can now show demonstrate one of the uses for the laser cutter. This could be useful when someone needs to make a 3D model of a topographic map. This is also considerably faster than 3D printing this piece. 

Rain Validator Observational Experiment Results


validator datavalidator data

The rain validator test has undergone two trials, each spanning about two weeks. The results so far seem to be promising: the validator’s rate of evaporation is very similar to the beaker’s. Below is a graph of the average rate of evaporation at each point, calculated by taking the difference in mass between each set of points and dividing that by the change in time between them.

In all graphs, red represents the data from the beaker, while blue represents the data from the validator.


validator evaporation rate vs timevalidator evaporation rate vs time

It’s interesting that for both trials, the rain validator’s water evaporates at a faster rate for the first day and then it’s rate becomes increasingly slower than that of the beaker. The beaker has a larger radius, so this is likely due to a combination of the saturated wick having more surface area and a smaller percentage of the validator’s total mass remaining over time compared to the beaker. This can be seen in the right two graphs in the first picture: the beaker’s percent mass decreases more linearly than the validator’s, which has a slight upward concavity.

Some errors with these trials include the changing humidity of the environment as well as the temperature of the room, especially since the beaker and validator were set near an oven that ran at varying temperatures for varying amounts of time. Because the beaker’s and validator’s locations were constant and adjacent, the validator’s performance can accurately be compared to that of a plain, 1L beaker of water.