An accelerometer is the ubiquitous little sensor that tells your tablet when to flip orientation or informs the brain of your quadcopter how closely its actual actions are matching your desired ones. In a quick three minutes, [Afroman] explains what is inside an accelerometer and how they work.
It turns out the tiny devices that report acceleration in one, two or three dimensions are not powered by magic complicated mechanisms but very simple Micro Electro-Mechanical Systems or “MEMS.” MEMS are similar to copper/silver/gold-wired integrated circuits except in a MEMS circuit conductive silicon is used and they actually physically move, but only just a bit.
The secret is in creating microscopic capacitors along a weighted lever that flexes in response to changes in velocity. When the plates flex the distance between them changes which alters the capacitance. This translates physical motion into voltage which can then be interpreted by the rest of your circuit. The chemistry behind MEMS is interesting too.
This Christmas when your laptop’s power cord clotheslines your cousin’s kid, your hard drive has a chance of parking the head (on the drive, not on the child) between fall and impact and preventing damage (to the drive, not to the child) because of an accelerometer. If bad roads cause you to drift into the ditch, it is an accelerometer that senses the crash and tells your airbag to deploy before your body hits the steering wheel.
The MEMS market is exploding right now and for us hackers in particular, Wearables are looking to be a big part of that growth.
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”
The latest gizmo that you can make using the cheap and easy Raspberry Pi is here courtesy of [Mark Williams]. He has hooked up an inertial measurement unit (IMU) to the Pi and built an inclinometer to use to measure the various angles of an off-road vehicle.
This particular guide goes through the setup of SDL to control the video output to a small screen. Then, a function is created to rotate the images based on input from the IMU so that the vehicle position can be shown graphically on the screen. Now, when your truck is about to roll over on a hill, you’ll get advance warning!
Of course, this whole project is predicated on installing the IMU and getting it up and running on the Raspberry Pi in the first place. [Mark] has you covered on a guide for setting that up as well. This delves into setting up the IMU over I2C to get it talking to the Raspberry Pi, and then converting the raw data from the IMU into data that is more usable. Be sure to check out [Mark]’s page for all of the code and details!
As one of their colleagues was retiring, several CERN engineers got together after hours during 4 months to develop his gift: a fully open electronic watch. It is called the F*Watch and is packed with sensors: GPS, barometer, compass, accelerometer and light sensor. The microcontroller used is a 32-bit ARM Cortex-M3 SiLabs Giant Gecko which contains 128KB of RAM and 1MB of Flash. In the above picture you’ll notice a 1.28″ 128×128 pixels Sharp Memory LCD but the main board also contains a micro-USB connector for battery charging and connectivity, a micro-SD card slot, a buzzer and a vibration motor.
The watch is powered by a 500mA LiPo battery. All the tools that were used to build it are open source (FreeCAD, KiCad, GCC, openOCD, GDB) and our readers may make one by downloading all the source files located in their repository. After the break is embedded a video showing their adventure.
Continue reading “Introducing the F*Watch, a Fully Open Electronic Watch”
[grassjelly] has been hard at work building a wearable device that uses gestures to control quadcopter motion. The goal of the project is to design a controller that allows the user to intuitively control the motion of a quadcopter. Based on the demonstration video below, we’d say they hit the nail on the head. The controller runs off an Arduino Pro Mini-5v powered by two small coin cell batteries. It contains an accelerometer and an ultrasonic distance sensor.
The controller allows the quadcopter to mimic the orientation of the user’s hand. The user holds their hand out in front of them, parallel to the floor. When the hand is tilted in any direction, the quadcopter copies the motion and will tilt the same way. The amount of pitch and roll is limited by software, likely preventing the user from over-correcting and crashing the machine. The user can also raise or lower their hand to control the altitude of the copter.
[grassjelly] has made all of the code and schematics available via github.
If you’re plagued by perpetually dead bike light batteries you’ll like this one. It’ll also fix the problem of remembering to turn the lights on in the first place. This hack uses an accelerometer to switch the light when the bike is in motion.
In this case the bike light was chosen for its ability to fit the control board inside the case. But with this proof-of-concept you can easily spin a tiny board with uC and accelerometer to replicate the functionality (the Bluetooth module shown above is going unused in this application). Many accelerometer chips have low-power mode that can be used to was a uC so we could easily see this having very little impact on the normally battery life of your light. The one caveat being the need to regulate the voltage as many of these lights take a 12V cell.
The other alternative is to make sure your battery is always charging during the day. This solar setup is one way, but then you won’t want to leave the thing unattended.
Life as a sea turtle can be rough. Not only are turtles trying to survive predators, destruction of habitat, fishing nets, and pollution, but only about 1% of hatchlings survive to face those challenges in the first place. Enter [Samuel Wantman] and a new volunteer hacker group called Nerds Without Borders, with their first order of business of creating an egg-shaped monitoring device for sea turtle nests.
Sea turtles are protected under the Endangered Species Act, which goes to great lengths to protect certain species from human activity. The ultimate goal of the project is to help people and sea turtles better coexist under this law by more accurately predicting hatching times. A suite of sensors and a cell network antenna are placed in a plastic “egg” that can be buried in a nest after a sea turtle lays the real eggs. The sensors detect vibrations within the eggs as the embryos grow, which is an indication that the tiny turtles are about to break free of their eggs and head for the open ocean!
Click past the break for more on this project.
Continue reading “Nerds Helping Sea Turtles”