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 Vertical Hydroponics - Blog 14: Web Interface Part 2
  • 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: jamesod
  • Date Created: 30 Nov 2015 5:58 AM Date Created
  • Views 691 views
  • Likes 1 like
  • Comments 2 comments
  • vertical_hydroponics
  • scada
  • vertical_farming
  • BeagleBone
Related
Recommended

Vertical Hydroponics - Blog 14: Web Interface Part 2

jamesod
jamesod
30 Nov 2015

Tonight I completed the last portion of this project that I will be able to get done before the submission deadline. I wrote a c++ program running on the BeagleBone Black that processes and saves the serial data from the Gateway to a text file. The text file is read with a JavaScript program that serves up the SCADA webpage. A socket connection updates the state of the system in near real-time. Right now this is mostly working, but it will need further debugging. This is the first part of my Web based SCADA platform that I plan to implement fully for not just this project, but many more to come.

 

For now, I am only able to read live data. For future improvements, I plan on creating a total solution that will allow changing outputs, modifying control variables, and graphing data. This will all be implemented soon.

 

I have attached my c++ and JavaScript code for the BeagleBone Black. I have also modified my Arduino code some more and attached it. As with all of the code I have presented with this project, it is far from complete or optimized, but it does work. Here's is a screen shot of my system status tonight:

image

 

I hope to add much more in the future, but for now, I have a system that can be controlled by sending serial commands from my BBB command line, and a live graphical status display of the system. I am very happy with the progress I have made during this challenge. I know I would not have pushed myself this hard without the motivation I have gained through weekly blog posts and inspiration from other competitors. I will try to post again tomorrow to summarize the project and wrap things up if I have time before the deadline. Any feedback, suggestions, and questions would be appreciated.

 

Thanks!

Attachments:
FinalCodePack.zip
  • Sign in to reply

Top Comments

  • DAB
    DAB over 9 years ago +1
    I hope we see more updates in the future. There are so many interesting parts to your system and I know I would like to see how they perform over time. DAB
  • jamesod
    jamesod over 9 years ago in reply to DAB

    Thanks DAB.

    I will definitely post some more updates here. I am looking forward to taking my time and improving the weak points in the system instead of just throwing everything together as quickly as possible to get things done for the contest. I'm really interested in seeing how cost effectively I can grow produce to see if this could potentially be a commercially viable system. I think with further improvements it is possible, but it will take many grows to find out.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 9 years ago

    I hope we see more updates in the future.

     

    There are so many interesting parts to your system and I know I would like to see how they perform over time.

     

    DAB

    • Cancel
    • Vote Up +1 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