Meeting Ax for the first time
The Sphero seems like a great platform for a myriad of applications. It is rather robust and smooth in design. I also like that it is water proof and charges via induction. This combination may allow it to put a new spin on some recreational activities. By the way, Ax is short for Aximili-Esgarrouth-Isthill.
Swimming & Mindstorms (but not the NXT kind)
After playing with Ax for a bit, I did a decent amount of brainstorming and decided on the project you see now. Also, since the Sphero is waterproof I decided to take Ax for a swim.
Project Description
Sphero Trainer adds a new dimension to a host of recreational activities. It uses the ball's sensors to provide feedback about the ball’s motion through space. It will enable people to practice a sequence of motions and provide statistical and visual feedback on the person’s performance. This can be used to help novice athletes develop their skills in activities ranging from Track and Field to Lacrosse. One great application for this is learning simple martial arts techniques. In particular, it may aid in developing accurate forms.
Examples & Insight
The examples helped me gauge how precise and sensitive Ax’s sensors are. Sensitivity is high but the precision of each sensor varies. Some seem to have a relatively low margin of error while others vary much more. While testing, I thought of creating an initialization step to get more accurate results. Here are a few videos I made for some professors who were interested in the project.
Rainbows & Color Wheels En Route a Record Function
While figuring out a way to record sensor values and give statistical feedback, I decided to hone in on some good settings to get decent feedback values. To make things more interesting, I thought of creating a color wheel script that would make Ax change color based on sensor feedback. First I made a rainbow, then controlled the rainbow with backEMF. I only made a linear rainbow, but it turns out that one of the best ways to make a rainbow, with RGB lights, is to use three out of phase sin waves...maybe next time.
Ax Makes a Record With New Friends
I’ve discovered how to communicate between Arduino and Sphero. However, since the approach requires the Arduino to be tethered it doesn’t seem like I’ll be using the Arduino for this project. After the project, I might expand on my work and add extra devices, but for now I’ll just stick to the Sphero. Another kind of hardware I looked into was the Myo. My friend, Edwin Santos, came over on Thursday with his Myo and the smarts to make it work. He wrote a script that generated keystrokes based on the yaw and pitch of his arm. These keystrokes were then used to drive the Sphero via the keyboard example provided in the Javascript SDK. Besides interfacing with different hardware, I found a way to generate excel files using node.js. This will serve as my record function and the basis of the statistical feedback for the user.
Space & Time Is In The Acceleration
I'm sure velocity is too, if only my accelerometers would be more cooperative.... Despite the recalcitrant sensors, I figured out a work around that allows the accuracy of a move to be determined without any integrations. Instead, I'm using a margin of error setting to determine the range in which values can drift. This works consistently, but I would still like to compute velocity and distance from accelerometer values. Nevertheless, the project is functional. So, give it try and let me know what you think.
Comments
Please log in or sign up to comment.