element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Vertical Farming
  • Challenges & Projects
  • Design Challenges
  • Vertical Farming
  • More
  • Cancel
Vertical Farming
Blog Modular Farm Blog: Post 4 - Automatic Nutrient Dispenser Part II
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jmbranco76
  • Date Created: 26 Aug 2015 2:19 AM Date Created
  • Views 978 views
  • Likes 5 likes
  • Comments 6 comments
  • modular_farm
  • hydroponic
  • net_zero_energy_farming
  • growsharp
  • magnetic_level_sensor
Related
Recommended

Modular Farm Blog: Post 4 - Automatic Nutrient Dispenser Part II

jmbranco76
jmbranco76
26 Aug 2015

Hi vertical farmers,

 

In the previous post we discussed ways to implement our nutrient doser prototype and simulated its operation while waiting for the delivery of solenoid valves.

In this post we will talk about the nutrient doser prototype, the challenges in its implementation and the solutions found.

 

The Implementation

We decided to make a magnetic based implementation of the doser because our attempt with an optical solution revealed susceptibility to ambient light.

So we attached eight hall sensors (AH3503 from Nanjing AH Electronic Science & Technology Co.,Ltd.) to a cable-trunking and we fit on it the buffer tube of our doser as can be seen in the following pictures.

 

image

Figure 1. Front view of the sensor showing hall sensors. The tube fits above.

 

image

Figure 2. Rear view of the sensor during soldering process showing power and signal cables.

 

As you may remember we are using 4 reservoirs containing 2 concentrated nutrient components, water and a pH corrector (typically an acid). Sequentially the buffer reservoir is filled with each of the 4 liquids while its volume is controlled via the magnetic sensors. The sensors were placed linearly to have a resolution of 2 milliliters of liquid in the tube. Once the required liquid volume is reached the respective electrovalve stops filling the buffer reservoir and the discharge electrovalve discharges the liquid directly into the main reservoir.

Inside the tube there is a floating container filled with air and a neodymium magnet.

Hall sensors are connected to the eight channels of EZR32WG ADC. The following diagram illustrates the connections of the sensors to the board.

image

Figure 3. Connections to EZR32WG.

 

Challenges

This approach revealed some difficulties.

As the magnetic field decreases strongly with the distance we had weak initial measurements. So we needed to file the tube in order to decrease the distance between hall sensors and the magnet.

Another challenge arises from signal processing. As the fluid rises into the tube and the magnet passes by the sensor we get a signal of magnetic field measurements similar to a sinusoid (see figure below). This signal needs processing to result in useful level information.

image

Figure 4. Doser diagram illustrating the signal, where V is voltage and P is magnet position.

 

The weight and shape of the magnet are also cause for concern due to signal strength and the need to float on the fluid.

 

Demonstration

Follows a video demonstrating the nutrient doser prototype in operation.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

The level detection circuitry and sensors are functional but since we could not get the electrovalves on time it was not possible the build the full automatic nutrient dispenser prototype. Also the pH readings and control needs to be implemented. We will come back to this topic later. On the next post we will introduce our artificial LED lighting system concept, the circuitry and hopefully a working model demonstration.

 

Feel free to put any questions or share your thoughts and suggestions on our design and methodologies.

 

Keep in touch!

  • Sign in to reply

Top Comments

  • amgalbu
    amgalbu over 10 years ago +1
    Hi Josè Nice explanation! Did you consider a simpler approach like a set of electrodes at different ehgihts? The first electrode that is submerged by the liquid gives you the amount of fluid in the tank…
  • jmbranco76
    jmbranco76 over 10 years ago in reply to amgalbu +1
    Hi Ambrogio, we considered the solution you mention but it was discarded due to some practical and reliability issues. We use a small pipe diameter to get a high liquid volume resolution so it would not…
  • Former Member
    Former Member over 10 years ago in reply to jmbranco76 +1
    Hi everyone, A few years ago I did some research on river monitorization and I tried to measure the water conductivity using a resistive probe (it was basic a voltage divider) and the results with copper…
Parents
  • amgalbu
    amgalbu over 10 years ago

    Hi Josè

    Nice explanation!

    Did you consider a simpler approach like a set of electrodes at different ehgihts? The first electrode that is submerged by the liquid gives you the amount of fluid in the tank

     

    Ambrogio

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to amgalbu

    image Hey psst.... Ambrogio, it seems he is Jose, not Joey image ...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to amgalbu

    image Hey psst.... Ambrogio, it seems he is Jose, not Joey image ...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • amgalbu
    amgalbu over 10 years ago in reply to balearicdynamics

    Thanksimage

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube