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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum DIY Project Solution: BBB vs RPi+Arduino
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 21 replies
  • Subscribers 60 subscribers
  • Views 2143 views
  • Users 0 members are here
  • openhardware
  • stem
  • beaglebone_black
  • robotics
  • oshw
  • raspberry_pi
  • single-board-computers
  • bbb
  • BeagleBone
  • rpi
  • bb_black
  • beagle_bone_black
  • arduino
  • open_source_hardware
Related

DIY Project Solution: BBB vs RPi+Arduino

fustini
fustini over 12 years ago

An acquaintance of mine organizing a STEM event asked me today:

"we're going to has some DIY astronomy stuff there. Would your BeagleBoard be a bit overpowered for that? I'm thinking there are going to be people there interested in making telescopes and needing to position them.  Perhaps that is more Arduino & Raspberry Pi [...]

Like I said, if you can point me to something (like Youtube video) as to why the Beagleboard is slicker, I'm more than happy to spread the word."

Here is my response:

 

Check out the video from this post: http://beagleboard.org/blog/2013-07-29-Five-years-of-DIY-hacks/


Five Years of BeagleBoard.org Video

http://www.youtube.com/watch?v=bIvkerJr5wE&feature=player_embedded


To clarify BeagleBoard vs. BeagleBone: BeagleBoard has additional features like DSP and is a more expensive board.  BeagleBone Black is $45 and fits in an Altoids tin (aka credit card sized).  It has higher processing power than the Pi (except for HD video due Pi's VideoCore GPU).  I also includes 2GB onboard Flash storage so no separate SD card is needed.  It is ready to boot up out of the box (no flashing SD cards, etc).


It would be great for any type of project that needs automation, motion control, remote sensing & web-accessibility (or all the above).  A telescope control system would be a great use case!  A BeagleBone Black is cheaper than Pi + Arduino.  Pi has limited hardware interfacing.  Networking with Arduinos is expensive and difficult.  BeagleBone Black handles all of that - and its completely Open Source Hardware.  This is great for engineering education and for design engineer & makers who need to optimize the Bone for their use case!

 

It has tons of I/O compared to Pi:

 

  • 7 Analog Pins [Pi has no analog input aka ADC]
  • 65 Digital Pins at 3.3V [Pi has only 26 pins total on its P1 header]
  • 2x I2C
  • 2x SPI
  • 2x CAN Bus [Pi has None; great for automotive projects, diagnostics, etc]
  • 4 Timers
  • 4x UART aka plain old serial [Pi has 1]
  • 8x PWM [Pi has 1 PWM and it is used for analog audio]
  • A/D Converter [Pi has none]


BeagleBone Black also has two 200MHz 32-bit microcontrollers built-in which can handle real-time tasks like generating signals, software emulation of protocols, reading sensors, controlling motors, etc.  In addition the BeagleBone Black has a more reliable power system and USB 2.0 system as compared to the Pi.

It has easy programming environments for hardware interfacing such as:
  • Python (via Adafruit's tutorial and library)
    • http://learn.adafruit.com/category/beaglebone)
  • Javascript (via Jason's Bonescript library):
    • http://www.element14.com/community/community/knode/single-board_computers/next-gen_beaglebone/blog/2013/07/31/beaglebone-black-hands-on-workshop
  • Arduino (via user-space Arduino funded by Google Summer of Code project)
    • https://www.google-melange.com/gsoc/project/google/gsoc2013/hatguy/24001
  • ROS (Robot Operating System)
    • http://www.youtube.com/watch?v=v1BLg_uoQ9k
    • http://www.youtube.com/watch?v=JCJ94rTWcJY
In short, I believe BeagleBone Black is a more cost effective solution than RPi + Arduino.

 


 

I'd appreciate the feedback from element14 Community members: Am I making a sound argument?  Are there additional points I should make?  Are there advantages of the Pi and Arduino that I am glossing over?

 

Thanks,

Drew

  • Sign in to reply
  • Cancel

Top Replies

  • jamodio
    jamodio over 12 years ago +2
    I totally agree with your analysis and comments. At first the Rpi may look more attractive from a price standpoint, but when you start to analyse the architecture and features, the BBB is a much better…
  • shabaz
    shabaz over 12 years ago +1
    Hi Drew, Interesting topic! As I understand, most telescope positioning uses high-res optical encoders, so having a high-speed processor dedicated to counting pulses is really good I think, and use the…
  • morgaine
    morgaine over 12 years ago +1
    That's sound advice for your friend, Drew. Pi would match astronomy requirements very poorly, if at all. Embedded control applications such as this are really BBB's target market, and it shines there for…
Parents
  • shabaz
    shabaz over 12 years ago

    Hi Drew,

     

    Interesting topic! As I understand, most telescope positioning uses high-res optical encoders, so having a high-speed processor dedicated to counting pulses is really good I think, and use the other to control the motors.

     

    It is more convenient outdoors to run the BBB from a Li-Po cell since it has a built-in charger (I need to make this a blog post because it gets lost) than a RPI which needs a more inconvenient supply.

     

    LCDs are easily connected for selecting the desired object on either platform, but capes already exist for the BBB, or use a mobile/tablet for the UI. If not wifi, then possibly USB OTG cable from an android device, to the BBB - not sure if that is possible with an RPI.

     

    The tables for star positions, and the formulas for planetary motion are all open source since this information is as old as astronomy, and it is not difficult to compile for Linux. It would run faster on the BBB most likely.

     

    I'm not sure if many astronomers use CMOS now, maybe they do. However, there are some CCD cameras and decoders that connect via USB, and so possibly a good USB capability is needed for the high-speed data. At any rate, the ability to be able to select the sensor is important (whether that is CMOS or CCD), so a good USB capability is important. Or, for reduced cost but still high performance, a lower cost analog CCD cam could be interfaced.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to shabaz

    shabaz wrote:

     

    It is more convenient outdoors to run the BBB from a Li-Po cell since it has a built-in charger (I need to make this a blog post because it gets lost) than a RPI which needs a more inconvenient supply.

    That's a very good point.  Battery backup would be an excellent feature for telescope electronics and also for a whole observatory, as power loss could ruin a time exposure or even a whole night's observing session.  The BBB's Li-Po ability provides an easy start in that direction.

     

    Yes please on the blog article. image

     

    If you have additional info on the BBB's charging characteristics or electronics, that would be very cool, but even if you just resubmitted your (already very informative!) discussion post, it would give this important topic greater visibility.

     

    Maybe we should suggest to Jason/Gerald that  providing a mounted Li-Po socket on the next colour of BB would be an attractive bullet point for embedded projects, and it would have minimal effect on BOM costs.  The mod is easy, but even simple soldering is a hurdle for huge numbers of people.

     

     

    Addendum:  I've been thinking about ways of routing the Li-Po path through a cape with the purpose of V and A monitoring by the BBB, not only of its own power but also of multiple external supplies and sinks.  Having its own backup power would make it a very effective power monitor and manager for a system, able to survive target voltages dropping all the way to zero even if it's normally powered by them.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 12 years ago in reply to morgaine

    I see that one UK supplier was doing the BBB for £23 so in fact even cheaper than the Pi in this case.

    More I look the more impressed with the BBB...I really like the run from LiPo Idea image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 12 years ago in reply to Problemchild

    Well that's done it ordered my first BBB from CPC ! image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 12 years ago in reply to Problemchild

    Is there much in the way of examples for the CAN bus ... My first project is for a Car would be nice to read the basic info direct from the vehicle .

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to Problemchild

    John Alexander wrote:

     

    Well that's done it ordered my first BBB from CPC ! image

     

    Oh dear, better fit a lock to your wallet quick.  You'll understand why once they start sending you their catalogues every few days.  It's a very dangerous site.  image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 12 years ago in reply to Problemchild

    Oh, I missed it! It's £30.99+vat now.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 12 years ago in reply to morgaine

    Done! Added a blog entry (as you guessed, I planned to have some more information, but it may be sufficient for now anyway).

    It's a good point that you mention, it would be worthwhile to alert them that a connector on their next board design would be great.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • shabaz
    shabaz over 12 years ago in reply to morgaine

    Done! Added a blog entry (as you guessed, I planned to have some more information, but it may be sufficient for now anyway).

    It's a good point that you mention, it would be worthwhile to alert them that a connector on their next board design would be great.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • morgaine
    morgaine over 12 years ago in reply to shabaz

    Wonderful! image  In case new readers haven't seen the BBB blog yet, shabaz's article is at:

     

    BBB - Rechargeable on-board battery system

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 12 years ago in reply to shabaz

    How long do you get as an "average" running off that battery alone?

     

    From that photo it looks like a 1400/1500ma battery is as big as you can hide in there is that right ..could you squeeze a jumbo 2000ma in there and still use the capes ?

     

    good article BTW

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 12 years ago in reply to Problemchild

    Hi John,

     

    I get about 3-3.5 hours I think, but this was not timed, it was calculated using a very rough current consumption measurement. You might get about 5 hours with a 2000mAH battery. I've added some more information in the comments in the blog post, so that we can keep the battery information from getting lost.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Problemchild
    Problemchild over 12 years ago in reply to shabaz

    What's the peak current of the BBB I was thinking of using a jelly bean Ebay switchmode to regulate 12V to5 V they say 3A but I figgure 1.5A with out decent heatsinking.

    Mind you I assume that it wont be over an Amp even whilst charging the battery  and if too high you actually start to drain from the battery ...Iassume image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 12 years ago in reply to Problemchild

    Hi John,

     

    Selsinork made some measurements from the 5V rail a while back, they are here, I think a 1.5A supply would be  enough even when charging the battery. 1A may be just about fine, I think it will still charge the battery. Anything lower than that (e.g. USB power) should charge the batter, just slower. I use a mains 5V 2A switch-mode brick usually, or USB. You're right, if the supply voltage drops (e.g. cannot supply not enough current), then the battery takes over, I can unplug the power supply and the BBB keeps running non-stop :-)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • 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