| Literature DB >> 35860787 |
Jarrod Trevathan1, Simon Schmidtke2.
Abstract
This paper details the physical and hardware design of a flexible open-source IoT (Internet of Things) platform for environmental sensing. The application is a remote water quality monitoring buoy that can be deployed in calm, shallow near-shore aquatic environments with fresh or brackish water. The system's development has been informed by experience through conducting multiple actual water quality studies over a prolonged period. The system runs an Arduino Mega 2560 microcontroller using off-the-shelf Adafruit lux and temperature sensors. A light attenuation turbidity sensor is adapted and integrated into the design. A TinySine 3G GSM module transmits data to a server that is displayed via a ThingsBoard IoT dashboard. The system is stable over time, provides reliable remote sensor readings, has low energy consumption, and is powered by renewable energy (up-cycled batteries). The hardware aspires to be general-purpose so that future environmental monitoring applications can repurpose the electronics by adding new compatible sensors and modifying the physical design to match the requirements.Entities:
Keywords: 3D printing; Arduino microcontroller; Environmental data; I2C sensors; Internet of Things; Lux; Remote environmental monitoring; Temperature; Turbidity; Wireless sensor network
Year: 2022 PMID: 35860787 PMCID: PMC9289737 DOI: 10.1016/j.ohx.2022.e00336
Source DB: PubMed Journal: HardwareX ISSN: 2468-0672
Design file summary.
| Design file name | File type | Description | Open-source license | Location of the file |
|---|---|---|---|---|
| PCB.brd | Eagle | Eagle board file for the main PCB | GNU GPL v3 | |
| PCB.sch | Eagle | Eagle schematic file for the main PCB | GNU GPL v3 | |
| Turbidity.brd | Eagle | Eagle board file for the sensor head PCB | GNU GPL v3 | |
| Turbidity.sch | Eagle | Eagle schematic file for the sensor head PCB | GNU GPL v3 | |
| Lid.stl | STL | Design file for the buoy lid 3D print | GNU GPL v3 | |
| Sensor Head.stl | STL | Design file for the sensor head 3D print | GNU GPL v3 | |
| Sensor Head Cover.stl | STL | Design file for the sensor head cover 3D print | GNU GPL v3 | |
| Ballast.stl | STL | Design file for the ballast 3D print | GNU GPL v3 | |
| Tie-Off Point.stl | STL | Design file for the tie-off point 3D print | GNU GPL v3 | |
| Battery Holder.stl | STL | Design file for the battery holder 3D print | GNU GPL v3 | |
| PCB Frame.stl | STL | Design file for the PCB frame 3D print | GNU GPL v3 | |
| gpsb_firmware_v1.0.zip | Arduino Sketch | Arduino source code to run the GPSB | GNU GPL v3 |
Purchased materials for physical buoy components.
| Designator | Component | Number | Cost per unit -currency | Total cost - currency | Source of materials | Material type |
|---|---|---|---|---|---|---|
| Access Cap | 100 mm PVC DWV Threaded Access Cap | 1 | $5.85 | $5.85 | Bunnings | Polyvinyl Chloride |
| Coupling | 100 mm PVC DWV Threaded Access Coupling | 1 | $4.90 | $4.90 | Bunnings | Polyvinyl Chloride |
| PVC Pipe | 100 mm × 20 cm PVC DWV Pipe | 1 | $4.00 | $4.00 | Bunnings | Polyvinyl Chloride |
| End Cap | 100 mm PVC DWV Push On Cap | 1 | $3.30 | $3.30 | Bunnings | Polyvinyl Chloride |
| Tank Outlet | 15 mm Poly Tank Outlet Female | 1 | $8.93 | $8.93 | The Irrigation Shop | Polyethylene |
| Poly Riser | Poly Riser PVC 15 mm × 300 mm | 1 | $3.77 | $3.77 | The Irrigation Shop | Polyethylene |
| Elbow | 15 mm Poly Male × Female Elbow | 1 | $0.55 | $0.55 | The Irrigation Shop | Polyethylene |
| Plug | ½” BSP Threaded Pipe Plug End | 1 | $1.35 | $1.35 | The Irrigation Shop | Polyethylene |
| Mooring | 4 mm × 50 m White Polypropylene Rope | 1 | $5.00 | $5.00 | Bunnings | Polypropylene |
| Float | 150 mm Poly Crab Pot Float | 1 | $4.99 | $4.99 | BCF | Polystyrene |
| Anchor | 8 kg Plastic Kettle Bell | 1 | $8.00 | $8.00 | K-Mart | Plastic/Metal |
| Paint | Yellow Industrial Enamel Paint | 1 | $4.40 | $4.40 | Bunnings | Paint |
| Grease | Silicone High Vacuum Grease | 1 | $15.00 | $15.00 | Labfriend | Silicone Grease |
| Teflon Tape | Teflon Tape | 1 | $0.80 | $0.80 | Bunnings | Polytetrafluoroethylene |
| Primer | PVC Priming Fluid | 1 | $4.50 | $4.50 | Bunnings | Acetone and Cyclohexanone |
| PVC Cement | PVC Cement | 1 | $5.90 | $5.90 | Bunnings | Solvent |
| Silicone | Waterproof Silicone Sealant | 1 | $13.95 | $13.95 | Bunnings | Silicone |
| Epoxy1 | ClaritiTM – Ultra Clear Epoxy Resin | 1 | $82.50 | $82.50 | Barnes | Epoxy |
| Desiccant | Silica Gel Pack (Dehumidifier) | 1 | $6.00 | $6.00 | Bunnings | Off-the-shelf component |
| Expoxy2 | Scotch-WeldTM 8005 | 1 | $53.36 | Element14 | Epoxy | |
| Screws | M3 Screws | 7 | $0.006 | $0.036 | Aliexpress | Stainless Steel |
Consumables items such as hot melt glue and sandpaper may be required but are not included in the bill of materials. Required tools are also not included.
Component can be used for multiple builds. As such, the price listed can be averaged out over the number of builds.
3D printed components.
| Designator | Component | Number | Total cost - currency | Source of materials | Material type |
|---|---|---|---|---|---|
| Lid | Lid | 1 | Aliexpress | Acrylonitrile Butadiene Styrene | |
| PCB Frame | PCB Frame | 1 | Aliexpress | Acrylonitrile Butadiene Styrene | |
| Battery Holder | Battery Holder | 1 | Aliexpress | Acrylonitrile Butadiene Styrene | |
| Tie-Off Point | Tie-Off Point | 1 | Aliexpress | Acrylonitrile Butadiene Styrene | |
| Ballast | Ballast | 1 | Aliexpress | Acrylonitrile Butadiene Styrene | |
| Sensor Head | Sensor Head | 1 | Aliexpress | Acrylonitrile Butadiene Styrene | |
The total cost is estimated based on ∼ 350 g of 3D print filament required from a 1Kg roll ($18.75).
Purchased materials for electronics and electronics set up.
| Designator | Component | Number | Cost per unit -currency | Total cost - currency | Source of materials |
|---|---|---|---|---|---|
| Temp | MCP9808 Temperature Sensor (1782) | 1 | $8.85 | $8.85 | Core Electronics |
| Lux | TSL2561 Lux Sensor (439) | 2 | $6.95 | $13.90 | Adafruit |
| Turbidity | Gravity Analog Turbidity Sensor (SKU:SEN0189) | 1 | $9.90 | $9.90 | DF Robot |
| Temp-Humidity | DHT22 Temp-Humidity Sensor | 1 | $2.40 | $2.40 | Aliexpress |
| Cat5 Cable | Cat5 Cable | 1 | $2.00 | $2.00 | Umart |
| LED1 | Green LED (C2895478) | 1 | $0.444 | $0.444 | |
| I2C-1, I2C-2, TEMP1-TURBIDITY, SV1 | Plug, AMP Connector (C2913381) | 4 | $0.9212 | $3.6848 | |
| I2C-1, I2C-2, TEMP1-TURBIDITY, SV1 | Socket, AMP Connector (C2913359) | 4 | $0.073 | $0.292 | |
| R1, R2, R3, R5, R14, R52, R13, R15, R16 | 10 K Resistor (C2903266) | 9 | $0.0064 | $0.0576 | |
| R4 | 100 K Resistor (C2843019) | 1 | $0.0069 | $0.0069 | |
| R6, R7, R8, R12, R17 | 4 K7 Resistor (C274465) | 5 | $0.0106 | $0.0530 | |
| R9 | 100 K Potentiometer (C118963) | 1 | $0.2025 | $0.2025 | |
| R10 | 1 K Resistor (C58590) | 1 | $0.0093 | $0.0093 | |
| R11 | 15 K Resistor (C119351) | 1 | $0.0088 | $0.0088 | |
| R26 | 33 K Resistor (C119358) | 1 | $0.0088 | $0.0088 | |
| R39 | 2 K7 Resistor (C119333) | 1 | $0.0088 | $0.0088 | |
| C1 | 10n Capacitor (C914518) | 1 | $0.0229 | $0.0229 | |
| C2 | 2.2uF Capacitor (C914524) | 1 | $0.0969 | $0.0969 | |
| C3, C5, C8 | 100n Capacitor (C914519) | 3 | $0.0229 | $0.0687 | |
| C6, C7 | 220uf Polarized Capacitor (C2831715) | 8 | $0.0529 | $0.4232 | |
| D1 | 4V7 Zener Diode (C261192) | 1 | $0.0379 | $0.0379 | |
| D4 | 1 N5400 Diode (C698905) | 1 | $0.1561 | $0.1561 | |
| Q1, Q4 | P-Channel Power MOSFET (C701027) | 2 | $0.615 | $1.230 | |
| Q2, Q3, Q6 | 2N7000, 2N7000_TO92, 2N7000, 2N7002, NDS7002A (C9114) | 3 | $0.0472 | $0.1416 | |
| Q7 | BS250 P-Channel MOSFET (C151455) | 1 | $0.2549 | $0.2549 | |
| F1 | 3A TE5 Fuse (C369106) | 1 | $0.0812 | $0.0812 | |
| IC1 | 78M05 Voltage Regulator (C347289) | 1 | $0.2467 | $0.2467 | |
| IC2 | 12-Stage Binary/Ripple Counter (C73220) | 1 | $0.4941 | $0.4941 | |
| IC3 | TLV431 Shunt Voltage Reference (C184253) | 1 | $1.0946 | $1.0946 | |
| IC4 | NE555N, DIL08 Timer (C398063) | 1 | $0.1262 | $0.1262 | |
| U$3 | XL6009 DC-DC Boost Converter | 1 | $0.85 | $0.85 | Aliexpress |
| U$4 | TinySine 3G GSM SIM5320A (G5763B41F1A276) | 1 | $59.95 | $59.95 | TinySine |
| U$4 | TINY_SINE_3G, 2.54 mm 40 Socket Header, AMP Connector (C47940) | 2 | $0.2624 | $0.5248 | |
| SV1 | RGB LED, AMP Connector (C2837020) | 1 | $0.139 | $0.139 | |
| GPIO1 | Plug MTA06-156 AMP Connector (C577781) | 1 | $0.2347 | $0.2347 | |
| GPIO1 | Socket MTA06-156 AMP Connector (C577792) | 1 | $0.1124 | $0.1124 | |
| PCB | 2 Layer PCB | 1 | $8.00 | $8.00 | |
| J2, PCB1 | Wake, Arduino MTAxx-100 2.54 mm 40 Pin Header AMP Connector (C113597) | 2 | $0.2078 | $0.4156 | |
| PCB1 | Arduino Mega 2560 | 1 | $9.92 | $9.92 | Aliexpress |
| PC817 | SHARP OPTO COUPLER (C390734) | 1 | $0.1019 | $0.1019 | |
| S1 | TINY SWITCH ON – MOM (C2837020) | 1 | $0.7502 | $0.7502 | |
| SOLAR-IN, BATTERY-IN | XT30_CONN, 2 × Plug (C99101) | 2 | $0.5032 | $1.0064 | |
| SOLAR-IN, BATTERY-IN | XT30_CONN, 2 × Socket (C99102) | 2 | $0.6618 | $1.3236 | |
| 6 V 1 W | 6 V 1 W Solar Panel | 2 | $1.55 | $3.10 | Aliexpress |
| Antenna | GSM Quad-Band Antenna SMA Plug (1859) | 1 | $5.95 | $5.95 | Adafruit |
| 18,650 cell | NCR18650B 3400mAh | 8 | $2.02 | $16.16 | Aliexpress |
Consumables items such as solder, isopropyl alcohol and hook-up wire are required but are not included in the bill of materials. Required tools are also not included. Some vendors have minimum quantity limits on purchases, which will increase the prices slightly on what is listed. A SIM card and data plan is necessary for the GSM communications.
Fig. 1Remote aquatic environmental monitoring.
Fig. 2The IoT remote aquatic environmental monitoring buoy.
Fig. 3General-Purpose Sensor Board block diagram.
Fig. 4GPSB assembled electronics (front and back) and sensor head.
Fig. 5Buoy external and internal physical components.
Fig. 6Canister and upper shaft assembly.
Fig. 7Buoy lid assembly.
Fig. 8Mooring system and ballast assembly.
Fig. 9PCB frame and battery holder.
Fig. 10Sensor head assembly.
Buoy subsystems.
| Subsystem | Description |
|---|---|
| Microcontroller | System control |
| Power and Solar Charging | Batteries, power management logic, solar panels and solar charge controller |
| Timing | Duty cycling control |
| Sensors | Sensor head, connections, sampling, calibration |
| Communications | Transmissions of sensor samples and system status to the server |
Remote environmental monitoring buoy deployment outcomes over a 12-month development period.
| Buoy Id | Location | Deployment Duration | Failed / Challenged | Reason |
|---|---|---|---|---|
| Buoy 1 | Slacks Creek | 56 days | ||
| Buoy 2 | Slacks Creek | 25 days | Vandalised | |
| Buoy 3 | Slacks Creek | 56 days | Lack of sufficient solar power | |
| Buoy 4 | Wyaralong Dam | 70 days | Stolen | |
| Buoy 5 | Wyaralong Dam | 270 days | Solar panel water ingress | |
| Buoy 6 | Keyatta Lake | 120 days | ||
| Buoy 7 | Fairfield Waters | 120 days | ||
| Buoy 8 | Ross River | 130 days | ||
| Buoy 9 | Ross River | 130 days | ||
| Buoy 10 | Burdekin River | 200 days | ||
| Buoy 11 | Hinze Dam | 168 days | Submerged due to water level rise |
Fig. 11Arduino Mega 2560 electronics schematic.
Fig. 12Battery pack.
Fig. 13Power and solar charging electronics schematic.
Fig. 14Timing electronics schematic.
Fig. 15Duty cycling and watchdog timer logic.
Fig. 16Sensors.
Fig. 17Turbidity sensor electronics schematic.
Fig. 18TinySine 3G/GPRS/GSM Shield for Arduino with GPS - American version SIM5320A.
Fig. 19A) Example electrical response of the turbidity sensor to different input pulse width modulation values. B) Voltage versus Nephelometric Turbidity Units (NTU): Least squares fit.
Fig. 20A) Battery voltage for 200 days. Hourly voltages are averaged over the preceding/succeeding 30 min (5 readings); Daily voltages are averaged over the preceding/succeeding 12 h (97 readings). B) Battery voltage for two 5-day intervals. Hourly voltages are averaged over the preceding/succeeding 30 min (5 readings).
Fig. 21Calibrated turbidity data from the Wyaralong Dam deployment.
| Hardware name | |
|---|---|
| Subject area | Environmental, planetary and agricultural sciences |
| Hardware type | Field measurements and sensors |
| Closest commercial analog | |
| Open-source license | |
| Cost of hardware | |
| Source file repository | |
| OSF registration DOI | |
| OSHWA certification UID |