Auto Bike Light: On When Moving Off When Not

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.

 

Nerds Helping Sea Turtles

Sea Turtle Nest Monitoring Device

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”

Hypno-Jellyfish Is Great For Kids (and Kids At Heart)

hjf3_blue

LED’s are fun. They are easily seen, not to hard to hook up, and produce a nice glow that can be gazed at for hours. Kids love them, so when [Jens] daughter was born, he knew that he wanted to create a device that would alternate colors depending on the object’s movement.

He utilized a mpu6050 accelerometer to detect changes in position, and wired together an Arduino Nano, a 9V battery, and a 12 LED neopixel ring from adafruit. Design requirements were jotted down beforehand ensuring that any child playing with the Hypno-Jellyfish would not be injured in any way. For example, anything that fits in a child’s mouth, will go in that child’s mouth; meaning that any materials used must be non-toxic, big enough not to be swallowed, and drool proof/water proof. The kids will pull, and throw, and drop the toy as well, so everything has to be of sturdy quality too. Epilepsy is also a concern when dealing with LED’s. But, [Jens] project hit the mark, making something that is kid-friendly while at the same time enjoyable for anyone else who likes color-changing lights.

Continue reading “Hypno-Jellyfish Is Great For Kids (and Kids At Heart)”

DIY OLED Smart Watch

OLED DIY Smart Watch

What is better than making your own smart watch? Making one with an OLED display. This is exactly what [Jared] set out to do with his DIY OLED smart watch, which combines an impressive build with some pretty cool hardware.

When building a DIY smart watch, getting the hardware right is arguably the hardest part. After a few iterations, [Jared’s] OLED smart watch is all packaged up and looks great! The firmware for his watch can communicate with the PC via USB HID (requiring no drivers), contains a “watch face” for telling time, includes an integrated calendar, and support for an accelerometer. His post also includes all of the firmware and goes into some build details. With the recent popularity of smart watches and wearable electronics, we really love seeing functional DIY versions. This is just the beginning. In the future, [Jared] plans on adding Bluetooth Low Energy (BLE), a magnetometer, a smart sleep based alarm clock, and more! So be sure to look at his two older posts and keep an eye on this project as it unfolds. It is a very promising smart watch!

With Android L including support for smart watches (in the near future), it would be amazing to see DIY watches (such as this one) modified to run the new mobile OS. How great would it be to have an open hardware platform running such a powerful (open source-ish) OS? the possibilities are endless!

Low-Power Orientation Tracker And An Optimized Math Library For The MSP430

MSP430 Orientation Tracker

Orientation trackers can be used for a ton of different applications: tracking mishandled packages, theft notification of valuables, and navigation are just a few examples! A recent blog post from Texas Instruments discusses how to build a low-cost and low-power orientation tracker with the MSP430.

Based on the MSP430 LaunchPad and CircuitCo’s Educational BoosterPack, the orientation tracker is very simple to put together. It can also be made wireless using any of the wireless BoosterPacks with a Fuel Tank BoosterPack, or by using the BLE Booster Pack with a built in Lithium Battery circuitry. TI provides all the necessary code and design files in their reference application for getting your orientation tracker up and running. Be sure to see the device in action after the break! This project not only involves building a low-power orientation tracker, but also showcases IQmathLib, a library of optimized fixed point math functions on the MSP430. One of the more challenging aspects of using small MCUs such as the MSP430 or Arduino is how inefficient built in math libraries are. Check out the IQmathLib, it greatly improves upon the built in math functions for the MSP430.

It would be interesting to see this project modified to be a DIY pedometer or be used on a self-balancing robot. It would also be interesting to see the IQmathLib ported to other micros, such as the Arduino. Take a look and see how you can use this reference design in your own projects!

Continue reading “Low-Power Orientation Tracker And An Optimized Math Library For The MSP430”

Step Into The Ring With Fight Coach

box01

 

As MMA continues to grow in popularity, the competition is getting tougher. There’s always someone else out there who’s training harder and longer than you are. So how do you get the advantage over your competitors? More push-ups? Sit-ups? Eat more vegetables? What about installing custom 2 by 1 inch, 5 gram PCB’s armed with an ATmega32U4, a MPU-6050 6 axis accelerometer and an RN-41 Bluetooth module into each of your gloves? Now that’s what we’re talking about.

[Vincent] and [Jooyoung] of Cornell joined their classmates in turning out another cool piece of electrical engineering. Fight Coach records data from the fighter’s gloves so that it can not only be analyzed to improve performance, but also interact with the fighter in real-time.  Though not quite as immersive as some fighter training techniques we’ve seen, Fight Coach might just give a fighter a slight edge in the ring.

Fight Coach offers 3 modes of training: Defense mode, Damage mode and Free-Training mode. As usual with Cornell projects, all code, schematics and a wealth of information on the project is just a click away. And stick around after the break for a video demonstration of Fight Coach.

Continue reading “Step Into The Ring With Fight Coach”

Web Interface For The FRAM LaunchPad

webUILaunchpad The Internet of Things is here in full force. The first step when adding to the Internet of Things is obvious, adding a web interface to your project. [Jaspreet] wrote in to tell us about his project that adds a web interface to his MSP430 based project, making it easy to add any project to the internet of things.

Creating a web interface can be a bit overwhelming if you have never done it before. This project makes it easy by using a dedicated computer running Linux to handle all of the web related tasks. The LaunchPad simply interfaces with the computer using USB and Python, and the computer hosts the webpage and updates it in real time using Node.js. The result is a very professional looking interface with an impressively responsive display that can control the on-board LEDs, read analog values from the integrated ADC, and stream accelerometer data. Be sure to see it in action after the break!

We could see this project being expanded to run on the Raspberry Pi with a multitude of sensors. What will you add a web interface to next? Home automation? A weather station? Let us know!

Continue reading “Web Interface For The FRAM LaunchPad”