Wii MotionPlus Gyro to Microchip PIC

Sometimes the most mundane products have surprisingly sophisticated internals. What’s in a game controller? If it is a Wii remote, you’ll find a lot inside–an IR sensor, Bluetooth, an accelerometer, and EEPROM. It also has a six pin expansion port that allows I2C peripherals connect to the controller.

[DotMusclera] wanted to experiment with a gyroscope and decided to hook up to the Wii MotionPlus to a Microchip PIC. Using information from the WiiBrew wiki, [DotMusclera] connected a PIC18F4550, an LCD, and a handful of components (mostly to do 3.3V level conversion), he set up the hardware on a breadboard. The only odd part you might have to work around is a Wii breakout board that converts from the breadboard to the Wii interface.

The software is easy to follow since it is written in Hi-TECH C and well-commented. The hardware lacks a schematic, but from the parts list and the video, you can probably figure it out. The setup works well and shows roll, pitch, and yaw on the LCD screen.

The project log is very detailed, with a lot of information about gyroscopes and the communication format the gyro uses. The video demo is worth watching as well.

Continue reading “Wii MotionPlus Gyro to Microchip PIC”

Budget Wrist-Controlled RC car is a nice touch

Does your RC car’s crude, push-button controller make you feel like you’re mashing tv remote buttons like a caveman? We think so too, but [Noel] has actually done the heavy-lifting to fix just that. He’s revamped his kids’ rc controller for gesture control. Now their rc car can be guided by the crisp, intuitive control of one’s wrist movements.

To tackle this project, [Noel] has integrated a gyroscope and accelerometer, an Arduino, and the existing remote. Data from the gyroscope-and-accelerometer limits are mapped to the buttons through an Arduino, which parses the raw data and triggers the controller’s switches, now wired directly to the Arduino and pulled up with resistors. In his overview video, [Noel] tells us that he’s binarized the gyroscope-and-accel data to trigger at certain limits, a choice that adequately suits the controller’s original push-button controls. Finally, the entire setup is cleanly strapped to a 3D-printed case. Not bad, for a grand total of $20 and a quick trip to Target.

[Noel]’s custom wrist-controller takes its place on the shelf of many other unique controllers, and his demo is a great example of using existing open hardware to tailor our toys to more personal tastes. After all, the hardware shopping list is just a breakout board, an Arduino, and a few jumper wires. When the next zombie apocalypse hits, we can easily see some practical components like these making their way into our suitcase. At the very least, we’ll be able to build a few wrist controllers and dispatch some toy cars to greet the undead.

Continue reading “Budget Wrist-Controlled RC car is a nice touch”

Electronic Glove Detects Sign Language

A team of Cornell students recently built a prototype electronic glove that can detect sign language and speak the characters out loud. The glove is designed to work with a variety of hand sizes, but currently only fits on the right hand.

The glove uses several different sensors to detect hand motion and position. Perhaps the most obvious are the flex sensors that cover each finger. These sensors can detect how each finger is bent by changing the resistance according to the degree of the bend. The glove also contains an MPU-6050 3-axis accelerometer and gyroscope. This sensor can detect the hand’s orientation as well as rotational movement.

While the more high-tech sensors are used to detect most characters, there are a few letters that are similar enough to trick the system. Specifically, they had trouble with the letters R, U, and V. To get around this, the students strategically placed copper tape in several locations on the fingers. When two pieces of tape come together, it closes a circuit and acts as a momentary switch.

The sensor data is collected by an ATmega1284p microcontroller and is then compiled into a packet. This packet gets sent to a PC which then does the heavy processing. The system uses a machine learning algorithm. The user can train the it by gesturing for each letter of the alphabet multiple times. The system will collect all of this data and store it into a data set that can then be used for detection.

This is a great project to take on. If you need more inspiration there’s a lot to be found, including another Cornell project that speaks the letters you sign, as well as this one which straps all needed parts to your forearm.
Continue reading “Electronic Glove Detects Sign Language”

Phone Gyroscope Signals Can Eavesdrop on Your Conversations

A gyroscope is a device made for measuring orientation and can typically be found in modern smartphones or tablet PCs to enable rich user experience. A team from Stanford managed to recognize simple words from only analyzing gyroscope signals (PDF warning). The complex inner workings of MEMS based gyroscopes (which use the Coriolis effect) and Android software limitations only allowed the team to only sniff frequencies under 200Hz. This may therefore explain the average 12% word recognition rate that was achieved with custom recognition algorithms. It may however still be enough to make you reconsider installing an app that don’t necessarily need access to the on-board sensors to work. Interestingly, the paper also states that STMicroelectronics currently have a 80% market share for smartphone / Tablet PCs gyroscopes.

On the same topic, you may be interested to check out a gyroscope-based smartphone keylogging attack we featured a couple of years ago.

Prosthetic spines become musical instruments


[Joseph] and [Ian] have been working on a project that turns physical objects into bendable, snake-like controllers

This build is the culmination of an earlier project that digitally modeled a flexible object with accelerometers, gyroscopes, and IMUs. When we first saw this build, we wondered what it could actually be used for, but it seems [Joseph] and [Ian] came up with a pretty cool use for it: turning prosthetic spines and ribs into musical instruments.

These flexible devices are loaded up with sensors along their joints and are connected to a microcontroller with a Zigbee radio transceiver. The positioning data from these devices is transmitted to a computer where it’s turned into audio, effectively turning a dancer into a musical instrument.

For an art piece, it’s pretty cool, but as a new means of interacting with a computer, we’re thinking this might be a game changer. Imagine a gauntlet loaded up with IMUs being turned into a waldo, or precisely controlling virtual objects naturally with your hand.

Autonomous RC car navigates by waypoints


Check out this autonomous RC car which [Jason] built for the chipKIT design challenge. It’s been able to successfully navigate a planned route taking just a few waypoints as inputs.

Obviously this uses a chipKIT as the controller, the max32 to be specific. [Jason’s] write-up shows off all of the components of the design, but you’ll have to head over to his recently posted update to hear about the custom board he had spun to host them all. It starts with a GPS module, but that’s only accurate enough to give the rover the big picture. To handle getting from one waypoint to the next successfully he also included a gyroscope which provides very accurate orientation data, as well as optical encoders on the wheels for on-board distance traveled information.

We hope he’ll keep refining the design and make a trip to next year’s Autonomous Vehicle Competition.

Continue reading “Autonomous RC car navigates by waypoints”