Sphero is 100% Summer Compatible [VIDEO]

summer2

This summer, make Sphero your go-to gadget. Not only is Sphero waterproof, sand proof, and shock proof ­– it’s the only appcessory that will leave you wishing your smartphone could keep up (in case you really want a waterproof smartphone, check these out). From the beach to the bonfire, this robot is 100% summer compatible. See how it’s done in the video below!

Send us your photos on Facebook or Twitter for the chance to be featured, and check out Instructables to see fun DIY projects like how to make your Sphero swim like Phelps. On your mark, get set, SUMMER!

Sphero Celebrates Military Appreciation Month

Military

May is Military Appreciation Month, and here at Orbotix we wanted to find our own special way to say thank you to all the brave men, women and families for the sacrifices they make in serving our nation.

In honor of the month long celebration, we decided to give what we know best to our military – fun and entertainment! First, we are donating Spheros and mobile devices to the USO. The USO is an incredible organization with a long history of bringing entertainment to our troops. We’re glad that Sphero now joins the ranks of the likes of Bob Hope, Marilyn Monroe, John Wayne, Jay Leno, Toby Keith, Ben Stiller and many others.

Second, we are offering a special Sphero discount to all military members and their families for $99 via TroopSwap. TroopSwap offers special discounts for service members, veterans and dependents. Founded by veterans, TroopSwap is dedicated to working with reputable, military-friendly businesses to offer special deals and everyday discounts. Check out their site for more information and to learn how you can get involved.

Thank you to our military and their families, from Sphero and the Orbotix team!

Sphero: from Concept Robot to Polycarbonate II – The Software

Two Years Down – Sphero History Part II (view Sphero History Part I here)

The ball is the most popular entertainment device ever invented by man. It is synonymous with fun, and comes in all shapes and sizes. So why has there never been a wildly successful remote controlled ball?  My answer ­– because they are too hard to control.

Inside the simple polycarbonate shell, the story of Sphero’s technology is really two-fold. It takes both firmware and software to make the ball go ‘round. You can think of the firmware as Sphero’s brains, and the software as his thoughts.

Sphero’s firmware is essentially the software that runs inside the ball (watch the video to learn more). It is largely invisible to the average user, but it’s where all the magic happens. Sphero’s electronics, mechanics and design function only because our firmware creates order where chaos should reign. When we showed the mechanical design to our contract manufacturer, they said, “It won’t work. You don’t think we thought about making an R/C ball? We’ve been building electronics and toys for over 20 years.” And if you think about it, they’re right.  A ball only has one tiny contact with the surface, it has no front or back, it wants to roll down any slope, and every child wants to kick or throw it.  To make Sphero we would have to give it a very sophisticated brain.

We knew from the very beginning that creating Sphero’s firmware was not going to be a simple task. First off, we realized we were not going to perfect it on our initial release. We needed a way to update the ball’s “brain” in a simple and foolproof manner. Our team spent months writing and testing a little piece of code, called a bootloader, that allows us to replace Sphero’s firmware over Bluetooth connection in less than a minute. Today this is common in many devices, but virtually none in Sphero’s price range and very few devices perform this over a wireless connection.

Driving the ball is really a delicate dance of controlled chaos. The firmware inside Sphero has to do three things very quickly. First, it must understand what the internal robot’s orientation is in 3D space. Second, it must use that information to control the motors to balance the robot inside the ball and simultaneously execute the commands of the program controlling it. Finally, Sphero’s firmware must talk to either itself (autonomous operation) or the device controlling it (e.g. smartphone) to send and receive commands.

Understanding what Sphero is doing in 3D space is a huge challenge. To accomplish this, we included three sensors: a gyroscope, accelerometer and magnetometer (compass). But these sensors are really noisy, and it is hard to extract great fidelity from the data without a lot of calibration and mathematical processing. Luckily, we have a pretty smart team of engineers on hand. We fuse the data received from Sphero’s sensors with a mathematical algorithm collectively called an IMU (the navigation system that directs the robot). IMUs are hard to do well, especially at a low price point. Thanks to our number crunching and super secret calibration process, Sphero’s IMU is as good or better than some that cost $1,000. For you hacker type folks, you might want to re-read that last sentence – you can’t find a cheaper or better IMU with a more robust SDK for 10x the cost than a Sphero.

This allows Sphero to behave in a consistent manner. The IMU provides a dependable heading during aggressive speed changes or even an external collision –  like when someone kicks Sphero or it runs into a wall. This means from a user’s perspective, forward is always forward.

Another unique challenge was Sphero’s magnetometer. Most IMUs use a GPS, compass or external reference to correct for drift in navigation (for example using magnetic north or a group of satellites as a guiding point). But because Sphero’s compass is very close to the field created by its drive motors, using the magnetometer became somewhat of challenge. We had to engineer a custom shield to get Sphero’s compass back on track. This worked well until we moved offices. All of a sudden, Sphero was completely out of control! It turned out that our old office had mostly concrete flooring, and the new one had a lot of steel (we sit on top of a bank vault). With this realization, we abandoned the magnetic compass and came up with a new solution – to make our IMU even better via more math and calibration, using just the accelerometer and gyro.

The next step is to translate the output from the IMU to drive Sphero’s motors. While we control Sphero in three dimensions, it only has two motors. Think of an airplane with yaw, pitch, and roll. For Sphero, yaw is the direction you want to go along the floor. Pitch is the speed and roll is the rate of turn. To get the fidelity in the controls we employed a control system that uses a closed PID loop (proportional, integral, and derivative).

PID loops are a very common feedback system employed to manage things that have to achieve stasis at some predetermined level (e.g. a given temperature). With Sphero, we are trying to achieve a balanced robot at a certain speed, along a certain heading. While this is a common method to control things, it is a bit of an art form of perfecting values. Our team has invested a lot of time tweaking these values, even enabling “super Sphero users” to hack them.

Control loops work great when the data feeding them makes sense, but with Sphero there are some instances when certain values from the IMU simply do not mean anything (e.g. when the robot points straight up inside the ball). The challenge for us was to not ignore the seemingly meaningless information but fix the IMU so it’s data was always meaningful to the control system.

To fix the IMU, we had to invent our own yaw, pitch, and roll coordinate system that changes dynamically based on the pitch angle of the robot inside the ball. Cue the complex math! We actually had to hire a PhD in mathematics ­– with an emphasis in chaos theory. As it turns out, Sphero’s IMU operates in four dimensions using quaternions but Sphero the robot ball lives in the three dimensional world. A simple translation from four to three dimensions (simple for folks with PhD’s in math) didn’t work. Instead, we developed our own translation algorithm (and yes, we patented it). If you had asked me if we would need this kind of horsepower to make a ball roll two years ago, I would have said “No. It’s just a ball.” But as we are learning every day, Sphero appears deceptively simple on the outside while making him roll is incredibly complex.

Stay tuned for the final installment of the Sphero: from Concept Robot to Polycarbonate series – The Apps.

Sphero: from Concept Robot to Polycarbonate I – The Ball [VIDEO]

Two years ago, Sphero was just an idea. Orbotix was nothing but a pair of young founders, Ian Bernstein and Adam Wilson, hacking on robots, trying to brainstorm something fun. Fast-forward to a passing grade from TechStars plus three rounds of funding and Orbotix was off to the races. We haven’t looked back. Just how much can happen in two years? Read on to find out in this first installment of the Sphero: from Concept Robot to Polycarbonate series.

Orbotix is now a growing company of 35 employees, all focused on making the most amazing robot in the world – Sphero. Glowing in the palm of your hand, Sphero seems simple. But it takes each and every one of our skilled team members to make a robot as complex as Sphero as intuitive as it is today. Our goal remains the same as the original idea of our co-founders: to make a gaming system that is fun for anyone who picks it up, something that can become many different things; a ball that you can race around, that can be used for tabletop games, that can be used as a controller, that can be programmed, and that continues to get better. We have some pretty lofty goals!

When we first started, we couldn’t control the ball. It wouldn’t even roll in a straight line.  Our co-founder, Ian, and myself (CEO, Paul Berberian) were so depressed one day in November 2010 that we decided to pull out of CES 2011. The Consumer Electronics Show in Las Vegas was to be Sphero’s big debut, but without a drivable ball, it would be silly to attend. We gathered our handful of employees and made the announcement that we’d have to miss the event. And then something magical happened. Dave, our Lead Engineer, said “No, don’t pull out, I can make it work.”  In my 20 years of running tech companies, never before has an engineer stepped up and committed to something that even Ian and I weren’t willing to risk (and I take a lot of risks). But Dave delivered and got Sphero rolling. CES 2011 was a huge success for our team.

The event wasn’t easy. Sphero was still massively under construction. In fact, we had our junior developer, Skylar, stuffed in a 2-foot by 4-foot room for 4 days straight, repairing units as we broke them on the floor. At this point, Sphero was held together with rubber bands and needed to be taken apart to re-charge. It was only a rough draft of what we planned to build. And more importantly, we still had to figure out how to make it all work from an engineering standpoint.

For example, we told the world Sphero would charge by induction, but we had no clue how to make that work. As if making the ball roll wasn’t hard enough, we weren’t even sure if we could re-charge it! Opening the shell would destroy the experience altogether, making Sphero less maneuverable, less durable, and certainly not waterproof. I remember in March thinking, “Oh man. This ball idea isn’t going to work.”

Charging wasn’t our only challenge within Sphero’s first year. We also ran into these issues:

  • The shell seemed impossible to manufacture because it had to be perfectly round, super thin, and super strong – three things that don’t go well together. We had no clue what the ball would look like until late Fall 2011 – literally just two months before launching.
  • We couldn’t find motors that would last as long as we needed. Apparently the average toy motor is only spec’d for five hours (ours is over 150).
  • Designing the robot to survive over 30 drops onto concrete from one meter high wasn’t exactly a piece of cake.
  • We changed processors and had to rewrite all of our firmware.
  • The gyroscope we used was so new to the market that obtaining parts was a nightmare. We had to order parts six months before production.
  • We had no choice but to design the packaging months in advance, before we even knew what Sphero would look like.
  • Completing FCC and other certifications in such a short time frame was a challenge.
  • ESD!

ESD stands for electrostatic discharge, and it represents one of our biggest challenges in the development of Sphero. ESD is what happens when you get a shock if you rub your feet on the carpet and then touch metal. It’s annoying, but even more so for Sphero. Two weeks before production started, we got our final engineering samples. At this point, everything was supposed to be perfect. And in China, everything was. But when Sphero rolled around on nylon carpet in the cold, dry mountains of Colorado, ESD set its electronics haywire.

Because Sphero is 100% sealed, there was no way to ground out the static it develops rolling on the carpet. Instead, the static discharged onto the main circuit board. The solution was a last minute fix  that worked up to 30,000 volts (we soldered a wire from the crystal to the ground plane and put heat shrink tubing on the antenna).

We missed on two fronts that first year. First, we underestimated how expensive Sphero would be to build. We also missed on timing. No one had told us that it normally takes two years to go from a piece of paper to shipping an original consumer electronic device with complex electromechanics. We did it in 16 months.

Since we launched in December 2011, we have shipped tens of thousands of Spheros worldwide. We have launched in major retailers including Apple stores, Brookstone, Target, Amazon.com, Future Shop and a dozen others. We built 15 apps on two major platforms (iOS and Android), hosted hack events for hundreds of developers, and had the joy of seeing people share their experiences with Sphero. And while this all sounds like a lot of challenges for a startup, the real story is in the software.

Stay posted to learn about the next installment of Sphero’s history – the software.

 

Get a New and Improved Sphero, for Free

Get ready to roll with Sphero like never before. We have released a brand new firmware update with some big changes to make sure Sphero is the quickest, smartest robotic ball around.

Wait a second, what’s firmware? You are probably already familiar with updating the operating system on your iOS or Android device to get the latest features and capabilities. That’s exactly what you’ll need to do to get the coolest new features for Sphero. Sphero’s firmware is an incredibly sophisticated program that makes Sphero what he is. Everything from how he rolls and communicates to how he functions is wrapped into this program.

So what features does this firmware update provide? Vector Drive, Auto-Leveling, and Fast Aiming for starters. Vector Drive enables you to get Sphero off walls and out of corners by letting you change directions instantly instead of driving in an arc. Not only that, but with the help of his accelerometer, Sphero now auto-levels in his inductive charger when going to sleep. This optimizes Sphero’s charging, allowing you to get rolling again more quickly. And just in case you want to aim Sphero with lightening-speed, you can now do so 10x faster than before. In total, there are 43 distinct improvements included in this firmware update. Watch the video below to see these updates in action.

http://vimeo.com/47199219

To install the new firmware, follow the steps below.

1. Connect to Wi-Fi with your device.
2. Turn on your Sphero by giving it a hard double shake.
3. (iOS) Be sure your Sphero is connected in the Bluetooth settings or (Android) make sure your Sphero is paired.
4. Launch the main “Sphero” app and it will prompt you to update the firmware. The firmware update should take about 20-30 seconds to complete.
5. Go have a ball!