Posts with «accelerometer» label
Electronic Traces is an interactive project designed to allow ballet dancers to recreate their movements in digital pictures using a customizable mobile application. It was prototyped by product-designer Lesia Trubat mixing technological, artisanal skills and using Arduino Lilypad, force sensitive resistors and accelerometer:
The concept of Electronic Traces is based on capturing dance movements and transforming them into visual sensations through the use of new technologies. To do this we focused on the ballet shoes themselves, which through the contact with the ground, and thanks to Lilypad Arduino technology, record the pressure and movement of the dancer’s feet and send a signal to an electronic device. A special application will then allow us to show this data graphically and even customize it to suit each user, through the different functions of this app.
The user can then view all the moves made in video format, extract images and even print them. Dancers can interpret their own movements and correct them or compare them with the movements of other dancers, as graphs created with motion may be the same or different depending on the type of movements execute.
This Halloween, I decided to be Alina Starkov from the Grisha Trilogy by Leigh Bardugo. In the books, she’s the one and only Sun Summoner, doing magic with light and heat.
Since those powers were beyond me, I put together a set of Arduino-controlled gauntlets instead, that would light up on gesture commands and slip under my sleeves. [This set up, with a few tweaks, would probably serve you well for Iron Man, too]
Instead of using a single position value from the accelerometer to turn the LEDs on and off, I picked two different triggers, so that it would be easy to *choose* whether I wanted my hands illuminated when they were straight out in front of me (a necessity, since I plan to host a party in these!)
Full construction and code are available at this link, below you can see the project in action!
[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.
Filed under: Arduino Hacks, drone hacks
Once again Amanda Ghassaei sent a cool project she’s been working on lately as an extension of the work she’s been doing on the monome project. Sugarcube is an open source, grid-based, standalone MIDI instrument self-contained and relatively cheap to make. It communicates via a MIDI output with other electronic MIDI instruments and software environments like Ableton and MaxMSP.
An Arduino Uno generates all of its MIDI data and drives LEDS, buttons, a 2 axis gyroscope, a 3 axis accelerometer, two potentiometers, and the whole device is powered by a lithium-polymer battery making it pretty portable.
She published detailed documentation on Instructables to make one yourself and shared a bunch of videos to discover its main features:
Basically this project is:
A portable, Arduino-powered, grid-based MIDI controller that boots up into a variety of apps to do lots of things with sound. The controller has 16 backlit buttons, used as both inputs and outputs to give the controller some visual feedback. 2 potentiometers give analog control, depending on the app the pots are assigned to tempo, MIDI velocity, pitch, and scrolling (making the avaible grid space larger than 4×4). An x/y accelerometer and an x/y gyroscope add some playful, gestural control to the device; most of the apps implement a “shake to erase” control and several respond to tilt in various ways.
It boots up into 7 different apps, though it has the potential to boot up into 16 total. This device is primarily a MIDI controller, but I’ve also written an app that allows you to pull the button and analog data into MaxMSP and to control audio.
With this project, I was interested in making a device that was a little more self-contained and relatively cheap to make (lots of buttons = lots of $). In keeping more with the concept of the tenori-on, this controller does all its app processing itself, it does not rely on a computer to process button presses/analog controls into MIDI. This means you can plug it directly into a synth or any device that understands MIDI and you’re good to go, no computer required. It runs off a beefy LiPo battery that keeps it running for days on a charge, so it’s fairly portable as well. In keeping with the monome side of things, it’s totally open source and can be adapted to your particular audio setup/needs. All the Arduino code is up on github, along with a MaxMSP patch that decodes data from the controller into something usable in Max.
The hardware that went into this Arduino gaming console is just fine. But the coding that produced this game called Twisted SNAKE is beyond compare. [Rodot] has programmed several games for the hardware, which uses an Arduino, 160×168 TFT screen, a 3 axis accelerometer, and two input buttons. If you’re interested, there is a forum thread in which he talks a bit more about the hardware design. But you’re not going to want to pass up either of the two videos embedded after the break.
The first clip shows off a bouncing-ball platforming game. The accelerometer moves the ball back and forth, and the top scrolling level brings more ledges into play. This in itself is a great game. But the Twisted SNAKE game shown off in the second video makes our own ARM-based Snake game look like a 3-year-old programmed it. [Rodot] filled up all of the program memory of the ATmega328 chip to make this happen. There’s a menu system which allows for color themes and difficulty selection. The game play itself lets the snake travel anywhere it wishes with the tail following behind in graceful curves. Wow!
Filed under: arduino hacks, handhelds hacks
One of the people that I asked to look over the course notes and give me suggestions suggested another lab that would likely appeal to bioengineers:
another cheap experiment, accelerometers from Sparkfun to measure gait patterns or detect falls. If really ambitious, you can teach chaos theory here with analyzing chaos levels in gait patterns—they are different for men and women.
I’ve used accelerometers before, both the analog output ADXL335 and the I2C MQA8452Q. The ADXL335 breakout board was from Adafruit Industries, the MQA8452Q from Sparkfun. Although I personally prefer the I2C interface, since it takes up only 2 Arduino pins, programming is outside the scope of this class.
This lab sounds like fun, and it would be good for the bioengineers to think of accelerometers as cheap sensors that are easily used, rather than as magic that comes in cell phones, I’m not sure how we would get a circuits lab out of this. Even the analog-output accelerometer just needs to have its XYZ pins connected to analog inputs on the Arduino. Anything interesting you do with the accelerometer is in either the mechanical mounting or in the software analyzing the data, not in electronic circuits.
We have several constraints in selecting labs for this circuits course:
- Lab must teach something useful to the students.
- Lab must seem interesting (or at least useful) to bioengineering students.
- Lab must not be dangerous (either to students or to equipment).
- Lab must be doable in one 3-hour lab session (we can afford at most 2 labs that are 2-session labs).
- Lab cannot require students to be able to program computers.
- Lab cannot require knowledge of electronics beyond what is taught in the course.
- Lab should support the teaching of traditional linear circuits.
- Lab should involve student design and not just analysis of existing designs.
The accelerometer lab fails on two points: any design component would have to be software and there is no support for teaching linear circuits in the lab. That’s too bad, because it is otherwise a cool lab idea.
Filed under: Accelerometer, Circuits course Tagged: accelerometer, Arduino, bioengineering, circuits, course design
The Hackaday staff isn’t in agreement on 3d printers. Some of us are very enthusiastic, some are indifferent, and some wonder what if they’re as widely useful as the hype makes them sound. But we think [Jason Dorweiler's] self balancing robot is as strong a case as any that 3d printing should be for everyone!
Don’t get us wrong. We love the robot project just for being a cool self-balancer. Seeing the thing stand on its own (video after the break) using an Arduino with accelerometer and gyroscope sensors is pure win. But whenever we see these we always think of all the mechanical fabrication that goes into it. But look at the thing. It’s just printed parts and some wooden dowels! How easy is that?
Sure, sure, you’ve got to have access to the printer, it needs to be well calibrated, and then you’ve got to make the designs to be printed out. But these hurdles are getting easier to overcome every day. After all, there’s no shortage of people to befriend who want nothing more than to show off their Makerbot/RepRap/etc.
Filed under: robots hacks
Once launched, the ArduSat will be the first open platform allowing the general public to design and run their own space-based applications, games and experiments, steer the onboard cameras to take pictures on-demand, and even broadcast personalized messages back to Earth.
ArduSat will be equipped with several sensors (such as cameras, gyros, accelerometers, GPS and more) packed inside a small cube (the side will be approximately 10 cm long) that can be accessed through a set of Arduinos.
Once in orbit, the ArduSat will be accessible from the ground to flash the required firmware for the experiments and for getting back all the collected information. People interested in performing space experiments will have access to a ground replica of ArduSat explotable to test and debug their code before the actual deployment.
The project is very ambitious, and it is expected that such an open accessible space platform will have a considerable impact on how simple space experiments will be carried out in the forthcoming years, in the case of fundraising success.
You may find the Kickstarter page of the project here.