Close
0%
0%

Agricoltura - IO

A connected control system for all agriculture applications based on RS485 control nodes and multiple wireless sensor networks

Similar projects worth following
Agricoltura is the culmination of multiple projects I've worked on in the past related to the sensing and control of agriculture systems, notably HydroPWNics and SunLeaf.
Agricoltura aims to unite all the concepts of those past projects into a new system based primarily on RS485 nodes for control of pumps, sensor sampling, and light control.

The base system will be a gateway controller linked to daisy chainable RS485 nodes designed for specific functions. These nodes are built around a board called Vine.
Vine allows interfacing of QWIIC connect sensros and devices as well as relay control. Coming in as two varients Vine can be used to setup and control complete hydroponic farming systems or any other agriculture system.

Agricoltura IO

Overview

The Agricoltura System is an RS485 chain and multiple wireless network of connected devices for all sorts of agriculture, farming, and gardening applications. The system is comprised of the following family of devices:

Vine

 Dasiy Chain-able RS485 sensor interface, connectors for Sparkfun QWIIC devices, UART sensors, along with 5V IO for driving relays and other related devices. Designed as a generic general purpose board to support many functions. This ist he RS485 spiritual successor to the SunLeaf platform.

- ST Microelectronics STM32F446RET6 ARM Cortex M4F 180MHZ MCU
- 5V Tolerant Analog Inputs
- 8x I2C interfaces
- 4x UART interface (via mux)
- 8x 5V outputs
- 8x 5V digital IO ports
- USB 2.0 connectivity
- RS485 port
- 24VAC power input
- 2A 3.3V DCDC Regulator, for supporting lots of sensors
- 2A 5V DCDC Regulator, for 5V IO and other devices

Finished KiCAD Layout:

3D Render from KiCAD:

Ivy 

 Daisy Chain-able RS485 customize-able device. Very similar to Vine almost the same in everyway except instead of having Sparkfun QWIIC conenctors, Ivy will have a single strip header (2.54mm pitch) similar to the Raspberry Pi that will allow for the development of daughter cards for specific functionalities and purposes. Ivy is primarily for the development of new variants of Vine and for customized hardware for functions that are not as common place.

- ST Microelectronics STM32F446RET6 ARM Cortex M4F 168MHZ MCU
- 5V Tolerant Analog Inputs
- 8x 5V outputs
- 4x 5V digital IO ports 
- USB 2.0 connectivity 
- RS485 port 
- 24VAC power input
- All MCU Pins broken out to header
- Relies on daughter cards for specific functionality 
- 2A 3.3V DCDC Regulator, for supporting lots of sensors
- 2A 5V DCDC Regulator, for 5V IO and other devices

Madre

RS485 master controller and wireless gateway. Madre is designed to control and interface with all RS485 devices in the system as well as manage and coordinate all 915MHZ and 2.4GHZ wireless networks. Madre will be based on Beaglebone Green in the prototype stage with a custom cape for RS485 and the radio modules in use, eventually being rolled into a custom integrated PCB around the Octavo Systems Beagle SiP chip. Madre will also interface with the internet and be the gateway for getting all sensor data into the cloud database and control dashboard.

- OSD335x Family System-in-package, running Debian Linux
- 4x RS485 ports
- Sub 1GHZ wirless modem with SMA Antenna Connector
- 2.4GHZ wireless model with SMA Antenna connector, supporting all 2.4G types
- WiFi modem with SMA antenna connector
- 2X USB 2.0 ports
- USB serial monitor connection
- Ethernet

Wireless devices

The Agricoltura system is not exclusive to wired RS485 networks. The wireless portion is split into two families based on the type of wireless network. One group will be using sub 1GHZ style RF radios, mostly 915MHZ modules, the other group will be using 2.4GHZ radios.  These families are the successor to the SunLeaf platform but will be split into two categories, solar chargeable and ultra lowpower coin cell power:

PicoLeafs:

PicoLeaf-2.4G

- ST Microelectronics BLUENRG-M2SA ARM Cortexc M0 RF Module
- Lthium Coin Cell Power Supply
- I2C ports
- UART ports
- Analog ports

PicoLeaf-S1G

- ST Microelectronics SPSGRF-915 STM32 ARM Cortex M0 915MHZ RF Module
- Coin cell Lithium Battery
- I2C ports
- UART ports
- Analog ports

SunLeafs:

Sunleaf-2.4G

- ST Microelectronics STM32WB55CCU6 ARM Cortexc M0 RF Module
- BQ240210 Lithium Ion Solar/USB charge controller and battery management 
- 500mA Lithium Polymer battery with thermistor 
- I2C ports
- UART ports
- Analog ports

Sunleaf-S1G

- ST Microelectronics SPSGRF-915 STM32 ARM Cortex M0 915MHZ RF Module
- BQ240210 Lithium Ion Solar/USB charge controller and battery management 
- 500mA Lithium Polymer battery with thermistor 
- I2C ports
- UART ports
- Analog ports

  • Vine Is Done! (well first pass)

    AVR (lordKiCAD)3 days ago 0 comments

    Hey folks!! Got some exciting news over the weekend and this past evening I have finished routing the PCB for Vine!! I had to do some tweaks to the board shape giving it a small increase in size so I coudl accommodate the proper relay driiving circuity , the rest of the work was just powerplane design and routing. I am very pleased with the results:

    3D Renders:

    Overall I'm very pleased with how this first board in the project has come out. I took a long time deliberating on feature set and orientation/location of parts/features until I got it to look just right. Its hard to describe the aesthetic I want for my hardware I want things to look great but also be functional this particular design took a bit longer than others but again I'm very happy with the layout. The next step with this design will be to put it through DRC testing and get it ready for fabrication. I will be using OSHPark for getting PCBs made and getting parts from Digikey. The plan is to hand assemble a few of these so I can build a small scale RS485 network of them and deploy them on the NFT hydroponic garden I built in 2015 thats currently in my basement.  (NFT Unit project: https://hackaday.io/project/7116-low-cost-nft-hydroponic-garden-under-250)

    Stay tuned for more updates!! I'll be working on two other variants of Vine one with more relays and one that is all sensors, as well as the Ivy board which is a version that has all the MCU pins broken out for daughter card addons. Stay tuned we are just getting started and like all my past entries expect a lot of hardware designs!!!

  • Here We Go First Piece of Hardware: Vine

    AVR (lordKiCAD)6 days ago 0 comments

    Hey folks this is the first big update aside form the anouncement and rundown of the overall project. So before the page even went up I had been working out what sort of boards and subsystems I'd need to implement for this sensing network, I then began implementing these ideas and made the page once i felt things got to a certain point. The first board I started working on was Vine, well now at this point I've gotten it to the point where i want to share what I've been doing with it. 

    In the first announcement I mentioned general specifications of the Vine board and mentioned that there will be multiple versions of Vine to cover all the needs in a potential system, sensing, 5V IO, and high voltage switching. I decided to implement all those features into the first Vine making it a kitchen sink kind of board, its got a little bit of everything to get started and what not. These are the new specs:

    - ST Microelectronics STM32F446RET6 ARM Cortex M4F 180MHZ MCU
    - 5V Tolerant Analog Inputs
    - 8x I2C interfaces
    - 4x UART interface (via mux)
    - 8x 5V digital IO ports
    - 2x G5LE-14 DC5 SPDT Relays
    - USB 2.0 connectivity
    - RS485 port
    - 24VAC power input
    - 2A 3.3V DCDC Regulator, for supporting lots of sensors
    - 2A 5V DCDC Regulator, for 5V IO and other devices

    The only real change form the perspective of features is losing 8 5V outputs in place of two relays for high voltage switching, but in the end this simplified the design and removed the need for a few digital components. I'm now using an IO expander that does the level conversion from 3V3 to 5V all built in, simplifying the BOM and PCB layout.  Here is the latest mockup of the design:

    2D Progress in KiCAD, still need to add the relay driver circuit, but this is the mockup

    3D raytracing render:

    Im in the process of selecting components for the relay driver circuit and will be implementing that before the next update. The Relays and 5V IO are all being driven off the IO expander IC which will make sofware and the rest of the layout simple. Stay tuned for the next update on Vine and the rest of the family of hardware, I'm hoping to go on a design binge this weekend so expect a lot of progress. 

    Lets Rock!

  • So It Starts!

    AVR (lordKiCAD)7 days ago 0 comments

    Hey folks, its been a while since I've done a good honest entry into the Hackaday prize, I won't bore you with the details just know that I'm back and ready to shine again!  

    Lets get thins started with a general overview of the Agricoltura IO system! The System is an RS485 chain and multiple wireless network of connected devices for all sorts of agriculture, farming, and gardening applications. The system is comprised of quite a few hardware devices to cover the areas of wired sensing and wireless sensing, the project description of the page has a comprehensive rundown of the whole damn thing but in this post I am going to be talking about the two projects I'm working on at the beginning. 

    To Start things out I am tackling the RS485 side of things with two boards Vine and Ivy, Viny is a general purpose sensing and IO board of which there will be two variants, one will be focused on sensing while the other will support some sensing but also support relay switch and control of higher voltage devices. Ivy is designed to be a development platform with the same brains/power/serial coms as the Viny board but instead of featuring muxing and interfaces for a variety of sensors and devices it will have all the pins of the microcontroller broken out to a large pin header for adding functionality through daughter cards.  What follows is a short rundown of each board followed by a graphical diagram explaining the subsystems of each board and how they are related.

    Vine

     Dasiy Chain-able RS485 sensor interface, connectors for Sparkfun QWIIC devices, UART sensors, along with 5V IO for driving relays and other related devices. Designed as a generic general purpose board to support many functions. This ist he RS485 spiritual successor to the SunLeaf platform.

    - ST Microelectronics STM32F446RET6 ARM Cortex M4F 180MHZ MCU - 5V Tolerant Analog Inputs - 8x I2C interfaces - 4x UART interface (via mux) - 8x 5V outputs - 8x 5V digital IO ports - USB 2.0 connectivity - RS485 port - 24VAC power input - 2A 3.3V DCDC Regulator, for supporting lots of sensors - 2A 5V DCDC Regulator, for 5V IO and other devices

    Ivy 

     Daisy Chain-able RS485 customize-able device. Very similar to Vine almost the same in everyway except instead of having Sparkfun QWIIC conenctors, Ivy will have a single strip header (2.54mm pitch) similar to the Raspberry Pi that will allow for the development of daughter cards for specific functionalities and purposes. Ivy is primarily for the development of new variants of Vine and for customized hardware for functions that are not as common place.

    - ST Microelectronics STM32F446RET6 ARM Cortex M4F 168MHZ MCU - 5V Tolerant Analog Inputs - 8x 5V outputs - 4x 5V digital IO ports  - USB 2.0 connectivity  - RS485 port  - 24VAC power input - All MCU Pins broken out to header - Relies on daughter cards for specific functionality  - 2A 3.3V DCDC Regulator, for supporting lots of sensors - 2A 5V DCDC Regulator, for 5V IO and other devices

    Stay tuned for more updates on the hardware development side of things, I have been working very hard in secret designing all the circuits in the subsystems of these boards and implementing the first variant of Vine, when thats done, the 2nd variant of Vine will follow then Ivy. I am so excited to keep sharing my progress as I go.

    Lets Rock!

View all 3 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates