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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Light or solenoid control between multiple Pis
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 7 replies
  • Subscribers 664 subscribers
  • Views 1302 views
  • Users 0 members are here
Related

Light or solenoid control between multiple Pis

anderson3250
anderson3250 over 4 years ago

I have a project I want to work on that would involve multiple Pis. I want to have them talk to each other via wifi/bluetooth with a main one with a display while the others each control a light or solenoid. Would this be possible with a bunch of Pis or would an arduino be the better option? Also would it be possible to daisy chain them so the main pi would know which state each pi would be in? Even if it is too far from the furthest unit? My experience so far has been with building the handheld emulators, so this is a big leap for me since those had walkthroughs. I'm thinking a Pi4 and a bunch of zeroes for the smaller units to reduce the cost.

  • Sign in to reply
  • Cancel
Parents
  • feiticeir0
    feiticeir0 over 4 years ago

    Hi Josh !

    It can all boil down to what are you more comfortable with.

     

    It doesn't need to be a Raspberry PI. To control a light or a solenoid probably an Arduino would be better:

    • less power consumtion
    • no problems with the SD card or not having a proper shutdown

     

    My solution would be to have a Raspberry PI with the display (the main one) and all the others being Arduinos or similar. You have arduinos with wifi and/or bluetooth - something that already comes with a Raspberry PI .

    You can make them send a kind of "heart-beat" every x seconds or minutes with it's status . If it's far from the furthest unit, it still possible, but that's a programming issue and not hardware related. You can program them to send a status to the closest unit and that unit sends both it's status and the other unit status to the next unit and so on and so on.. Like a mesh network. In my mind, that will only be a programming issue.

     

    Note: You can also make it work with RPI zeros', but if power could be an issue, or better off with arduinos

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • anderson3250
    anderson3250 over 4 years ago in reply to feiticeir0

    I never thought of mixing them together. Thank you, your explanation was very clear. I figured the programming would be my biggest hurdle in getting this to work.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • anderson3250
    anderson3250 over 4 years ago in reply to feiticeir0

    I never thought of mixing them together. Thank you, your explanation was very clear. I figured the programming would be my biggest hurdle in getting this to work.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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