element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Hardware RPi to controller interaction
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mcb1
  • Date Created: 14 Aug 2013 8:31 AM Date Created
  • Views 700 views
  • Likes 0 likes
  • Comments 0 comments
  • wifi
  • i2c
  • pi
  • frdm-kl25z
  • dc-dc_brick
  • frdm_kl25z
  • ds18b20
  • raspberryp-pi
  • raspberry_pi_camera
  • arduino
  • antenna
  • solar
  • charger
  • kl25z
  • rack
  • temperature_measurement
Related
Recommended

RPi to controller interaction

mcb1
mcb1
14 Aug 2013

Processes, Applications and Function

Having resolved some of the hardware issues, it's now time to put some thought into how the whole thing will work.

The controller has overall control because it runs 24/7, but could go into a sleep mode when the system is shutdown.

 

The controller is responsible for :-

  • RTC (Real Time Clock).
  • Battery charge.
  • Systems power (RPi and Wireless link).
  • Battery voltage.
  • External shutdown button.
  • External Status indication.
  • Receiving future data.

 

The RPi is responsible for :-

  • Camera (photo and video).
  • Receiving Battery Voltage data.
  • Receiving Temperature data.
  • Sending data (or hosting data).
  • Signalling when the tasks are complete.
  • Updating the RTC in the controller (based on the time across the link).
  • Sending changes to settings to the controller.

 

Since the RPi is not on at all times, and power is limited, it was suggested that most of the processing should be done at the 'office' end.

This gives me flexibility to manage the data in various ways, which includes data logging and warnings for the Battery state.

 

 

Data transfer

Some of the signals are digital (on/off), while Battery and Time are serial information (either via TTL or USB depending on the final controller hardware).

 

Rather than simply push the data out over the link, my current thinking is to host the data on the RPI and allow the 'office' end to interact while the link is up.

This may involve simple automatic transfer of the data, (in a raw form), or present it as a webpage.

 

The webpage will allow for human interaction, and could include changing some of the settings.

  • RTC
  • Picture Frequency
  • Video capture
  • Early Field closure

It could also display the current Temperature, Battery Voltage, charge control state, last picture information as well.

 

Software

Now that the data and means of displaying it are identified, the various bits of software need to be cobbled together.

I have limited experience here (Arduino = yes, Linux = no) but I have an idea of the concepts and some of the methods.

I also know that searching and reaching out to a few forum members will no doubt point me in the right direction.

(I also have a some very clever linux gurus at work if I get really stuck)

 

One of the challenges of this project was trying not to comprimise the goal, due to lack of resource (knowledge), and it is easy to fall into a comfort zone and stick with what you know.

If we always did that, we'd probably not be here on the internet, and may still be living in a cold damp cave somewhere, hoping our next meal walks past.

 

This project has two goals, to learn new skills/stretch the boundaries and provide something useful.

The errors and hiccups along the way aren't failures. Not trying is a failure.

 

Mark

  • Sign in to reply
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