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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Can raspberry pi 3b run multiple projects at the same time ?
  • 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
  • State Not Answered
  • Replies 4 replies
  • Subscribers 667 subscribers
  • Views 1629 views
  • Users 0 members are here
  • raspberry_pi
Related

Can raspberry pi 3b run multiple projects at the same time ?

elim67
elim67 over 8 years ago

Hello,

 

I am starting to interested with raspberry pi 3, and i have some questions:

 

1. Can raspberry pi 3b run multiple projects at the same time ?

    For example: let say i am going to connect to it some sensors: Motion sensor, Water plant soil sensor, A proximity sensor, Auto light switch etc.

    Every sensor project can work alone with a python script, but can i write a program / software that can monitor all sensors and act on them

according to the software instructions ?

 

2. Is there enough GPIO pins for all sensors to work together ?

    Can i add more input / output pins to use more sensors and other devices (like motors, LEDs, speakers...) ?

 

3. What programing language can i use to do all that (that includes a user interface on screen) ?

 

4. Does the power supply that comes with the raspberry good enough for all projects or should i add a PSU modules too ?

 

I have a lot of questions, but That's it for now.

 

 

Thanks

Eli

  • Sign in to reply
  • Cancel
  • clem57
    0 clem57 over 8 years ago

    To answer it in full would be a book.But the short answers are:

    1. The Raspberry Pi 3 runs Linux and can multitask. Therefore many things happen nearly at once. But, this is not a real-time system. If a sensor must get a response at exactly 250 nanoseconds, you will be hard pressed to handle.
    2. GPIO pins limited. But they have protocols like SPI and I2C that multiplex things somewhat, To expand, hats use these to add more functionality like ADC (analog to digital conversion) etc.
    3. Languages include Python, C, Basic, Forth,  etc Anything that runs under Linux!
    4. Power is limited to the power supply you use. If too much current is drawn the voltage drops giving trouble. Best consider a powered hub for USB devices.Relays work for other things requiring AC or higher voltage items. Consider cicuits to isolate those to prevent feedback and a fried processor.

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • elim67
    0 elim67 over 8 years ago in reply to clem57

    Hi Clem

     

    Thanks for your response :-)

     

    For my first questions, just to clarify my self, i do not mind if it is not in real time, don't mind if there is a delay of 1ms-2sec, as long as

    the raspberry pi can manage to monitor a big project that is constructed from small projects (light switch + motion detector + soil humidity +. . .etc),

    then it is ok by me, do you agree on that ?

     

    I so some books on amazon about python programming language and books about managing raspberry pi (installing,projects,programming...),

    Can you have recommend on a good book(s) ?

     

    Thanks

    Eli

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • oksbwn
    0 oksbwn over 8 years ago in reply to elim67

    Hi....I am not onto python that much but am using JAVA and JAVA supports multi-threading. So if you are comfortable with JAVA you can enjoy JAVA over the Pi and JAVA again supports numerous front-end and back-end processes like GUI, HTTP calls, GPIO Access etc. To use GPIO with JAVA you can take a look at Pi4J Library...I have some videos around JAVA on Raspberry Pi you can checkout those.

    http://bit.ly/2eB1O2K

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 8 years ago in reply to elim67

    Getting Started with Raspberry Pi - Free Download eBook - pdf is a good starting book

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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