element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs Disassembling BB8 (Part 1)
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: chriswhite
  • Date Created: 16 Sep 2015 6:17 PM Date Created
  • Views 2220 views
  • Likes 9 likes
  • Comments 7 comments
  • bb8
  • sphero
  • thelinker
  • reverse_engineering
  • embedded.fm
  • motor
Related
Recommended

Disassembling BB8 (Part 1)

chriswhite
chriswhite
16 Sep 2015

Written by Elecia White.

image

 

I gave a talk last week at the SupplyFrame/Hackaday metetup. It was supposed to be a reprise of my introduction to inertial sensors that I wrote about here a few months ago.

 

However, when my order for a pair of the Star Wars BB8 robots came, I decided I’d rather talk about a specific application of inertial sensors instead of the theory and math. (Chris got co-credit for the talk because he did a lot of exploration with me as well as taking the pictures. Plus, his is the robot I took apart. Mine is unharmed, naturally.)

 

After talking to Dan Hienzsch (115: Datasheeps), I wanted to try out disassembling something, to see what I could learn from reverse engineering. These robots had the allure of odd motor systems, consumer electronics, and incredible niftiness.

 

Even so, the BB8 is very much an interesting inertial sensor problem. The smart phone application that drives the robot can be set to show sensor plots, sometimes showing all three accelerometer axes as well as its other available sensors (gyro, temperature, proximity (via BLE signal strength, I believe).

imageimage

The system even showed some dead reckoning capability. It would reset often and wasn’t precise. However, it indicated the system was running some sort of sensor fusion algorithm to integrate accelerometer and gyro readings to get to position. This is neat!

 

All of this made me want to know what was inside the robot but the next step was somewhat difficult. Oh, not physically or mentally… but once you’ve driven one around or left it in its patrol mode, they seem quite friendly. Applying a Dremel tool to open my new little friend feels a little odd.

imageimage

image

 

The robot is based on the Sphero, the ball robot that has been around for several years. Somehow putting a magnetic head on a stalk made it more personable to me (or possibly it was the Star Wars branding, I’ll admit to being extreme susceptibility to that). The head doesn’t have any sensors or smarts, it is just a magnet encased in plastic. The device works perfectly fine without the head on.

 

Once I opened the robot, I could take off the stalk and reattach the head (which travels on the outside of the shell). The head stays “up” because it is magnetically connected to this stalk that is opposite the weighted bottom.

 

The BB8 has only two motors. And these are two normal DC motors, not the six needed from howbb8works (you can slide the button to see it with an invisible shell) or the four in the xkcd view. From a consumer electronics point of view, this makes perfect sense. Differential drive can suffice for all occasions: going forward/back is rotating the wheels together and turning is simply rotating the wheels in opposite directions. The solution seems obvious (now).

image

Like a Weeble, the device has a low center of gravity (CG) so pushing on it (either in the shell or outside) means that it will wobble, tending to right itself. This is due to the weight at the bottom of the internal assembly. (The copper rings are there to support inductive charging of the battery.) It is easy to consider the mass as a counterweight. However, that isn’t right: when the wheels move, the system becomes overbalanced causing the mass to fall which causes the ball to roll which is how the system moves.

 

There are clear Sphero SPRKs to show this unintuitive mechanism. Not having one, I put my disassembled unit in a clear plastic ornament from a craft store and got a finicky but enlightening version.

 

That is all neat and such, and I don’t know about you, but I’m here for the electronics. Forgive me for spending so long on the things that matter less, let's look at this board. The bottom side is filled with passives, connectors, and test points.

 

image

The test points are exciting: it gives me some confidence that I can see some software. The fact that the board is clearly labeled and parts are not potted means this disassembly is going to be fun. Of course, the top side of the board is the more interesting with processors, more pin labels, and some hints about how it all works.

 

image

 

I suspect the chip package markings are a little difficult to see on that photo. With judicious use of macro lens and camera, here is a view of the board with the identifiers marked more legibly.

 

image

One of the things I learned with this disassembly was that I appreciated the puzzle nature of this problem. The things I had to work for were far more satisfying than the concepts with immediate understanding. With that in mind, I’m going to finish the electronics part of this teardown tomorrow. I plan to cover the sniff-able parts of the software and the BLE next week.

 

In the meantime, there are other teardowns that are worth a look:

  • UBreakItIFixIt has a two minute video
  • Bill Detwiler at CNET has a five minute video
  • fictive has a great write up regarding the mechanicals

 

Sphero makes the BB8. They also make the ball robots (without heads) and have an extensive education support system.

The slides and video from the talk are on embedded.fm/hddg. (That also has a video link to the Solid Conference inertial sensor talk.)

  • Sign in to reply

Top Comments

  • DAB
    DAB over 8 years ago +1
    I agree, a very interesting puzzle to play with. DAB
  • spannerspencer
    spannerspencer over 8 years ago +1
    Like all such brilliantly inspired devices, it's actually very simple once you see behind the smoke and mirrors. Great work! Looking forward to Episode II (of this feature, that is -- hopefully it'll have…
  • chriswhite
    chriswhite over 8 years ago in reply to spannerspencer +1
    Episode II is here! http://www.element14.com/community/blogs/linker/2015/09/17/disassembling-bb8-part2
Parents
  • spannerspencer
    spannerspencer over 8 years ago

    Like all such brilliantly inspired devices, it's actually very simple once you see behind the smoke and mirrors. Great work! Looking forward to Episode II (of this feature, that is -- hopefully it'll have nothing to do with clones or trade agreements (your powers are growing weak, old man Lucas)).

     

    However, being a Star Wars and sci-fi pedant, I have to point out that the Rebellion's engineers really haven't learned their lessons from when they made R2 (or whoever made him; the Naboo, if we believe the Episode of which we do not speak). Okay, I guess he can fall down the stairs easy enough, but how's he going to get up them? It's an outrage!

     

    Erm, anyway. Must get back to work. Ahem.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago in reply to spannerspencer

    Patience young Jedi.  Remember, you need to really focus to understand the ways of the force.

     

    Have you not considered that BB8 has gravity control?

     

    Even R2D2 had little rockets for moving up and down.  Is not BB8 a newer model?

     

    May the force be with you.

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • DAB
    DAB over 8 years ago in reply to spannerspencer

    Patience young Jedi.  Remember, you need to really focus to understand the ways of the force.

     

    Have you not considered that BB8 has gravity control?

     

    Even R2D2 had little rockets for moving up and down.  Is not BB8 a newer model?

     

    May the force be with you.

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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 © 2023 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