Offline
Newbie
Karma: 0
Posts: 14
|
 |
« on: July 01, 2011, 12:41:26 pm » |
I'm in the drafting stage of making a set of poi that are aware how fast they're being spun with the intention of doing something cool with an array of LED's, currently looking for an accelerometer sensor to put in the end of the poi. My hope is that this would give me a reading of the acceleration the poi are undergoing and I could use that to calculate how fast they're moving and run different sequences in the LEDs to make it look cool. What would be a good sensor/accelerometer for getting an estimate of how fast the poi are spinning? I've found this accelerometer, but I'm concerned that this and most components like it, would be more appropriate for orientation sensing and not such a good fit for acceleration sensing, like I would need. Thanks guys!
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 247
Posts: 16535
Available for Design & Build services
|
 |
« Reply #1 on: July 01, 2011, 01:09:30 pm » |
Seems you want to measure centripital force http://regentsprep.org/regents/physics/phys06/bcentrif/default.htmHow about a force sensor at the end of the poi, such that faster speed would compress the force sensor more, while no spinning (hanging straight down) would only see 1G of force.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #2 on: July 01, 2011, 01:44:06 pm » |
Exactly the component I'm looking for, for exactly what I'm trying to measure. Can you recommend one? I'm not sure this one on parallax is what I'm looking for..
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 247
Posts: 16535
Available for Design & Build services
|
 |
« Reply #3 on: July 01, 2011, 02:11:43 pm » |
sparkfun carries them, in different sizes http://www.sparkfun.com/products/9673You'd have to do some experimenting and see what range you needed. Or some calculating, I think the link I sent earlier can give you expected range based on how heavy your poi, and some estimates by you on how fast it moves, etc.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 71
Posts: 6624
Arduino rocks
|
 |
« Reply #4 on: July 01, 2011, 08:48:52 pm » |
Many MEMS accelerometers have a +/-2g scale and a +/-8g scale - the latter will be needed at least (and it probably will overload), since even a pendulum swinging +/-90 degrees pulls 3g at the bottom of the swing.
|
|
|
|
|
Logged
|
|
|
|
|
Massachusetts, USA
Offline
Tesla Member
Karma: 96
Posts: 6372
|
 |
« Reply #5 on: July 01, 2011, 09:02:41 pm » |
Maybe instead of detecting the acceleration shifts you could have an infrared beacon on the ground and an IR sensor in the poi to detect when it was passing near the beacon. A pulse per revolution will tell you how fast they are spinning. Something like a BlinkM (ATtiny plus RGB LED) can probably do the trick. If you use an IR beacon you might even use it to send a pattern allowing you to switch light programs.
|
|
|
|
|
Logged
|
|
|
|
|
Montreal
Offline
Edison Member
Karma: 16
Posts: 2209
Per aspera ad astra.
|
 |
« Reply #6 on: July 01, 2011, 10:07:17 pm » |
The really "ingenious" solution I've seen in the book: "tinyAVR Microcontroller Projects for the Evil Genius™".  Author refers to Elektor magazine, December 2008(“LED Top with Special Effects”), (magazine probably would be easier to find in the library) Motion sensor include two coils and OPA's, that sense Earth magnetic field. It allows to get speed, direction of rotation, plus synchronize leds for POV effects. Last feature is impossible to obtain with accelerometers or force sensors. I'm not sure why hall effect sensors were not used in design?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #7 on: July 02, 2011, 11:27:35 am » |
Wow! So many ways to approach the same problem.
IR beacon is tough, because I won't always be in the same place, and may often move while playing.
I'm going to read up on how the magnetic option works. I think it'll wind up being too complicated for what I'm doing, but sounds really cool to know.
What do you guys think about measuring tension in the rope? Instead of measuring gravity at the end of the poi, measuring the poi's pull on the handle in your hand..?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 71
Posts: 6624
Arduino rocks
|
 |
« Reply #8 on: July 02, 2011, 05:53:57 pm » |
The really "ingenious" solution I've seen in the book: "tinyAVR Microcontroller Projects for the Evil Genius™".  Author refers to Elektor magazine, December 2008(“LED Top with Special Effects”), (magazine probably would be easier to find in the library) Motion sensor include two coils and OPA's, that sense Earth magnetic field. It allows to get speed, direction of rotation, plus synchronize leds for POV effects. Last feature is impossible to obtain with accelerometers or force sensors. I'm not sure why hall effect sensors were not used in design? Accelerometer wlll give synchronization, the centripetal force has a gravitational component that's a rough sinusoid(*) added onto a mean force - so long as its spinning in a vertical plane (if not it will be hard to see the PoV pattern anyway). High speed spinning will possibly drown out the gravitational signal, but smooth low speed circles should show it up nicely. Implementing a software PLL to pick out the phase will be an interesting problem too  (*) the maths isn't trivial because the angular velocity isn't constant due to gravity.
|
|
|
|
|
Logged
|
|
|
|
|
Massachusetts, USA
Offline
Tesla Member
Karma: 96
Posts: 6372
|
 |
« Reply #9 on: July 02, 2011, 06:27:22 pm » |
Author refers to Elektor magazine, December 2008 (“LED Top with Special Effects”).
Looks like you can get the parts list online and download the schematic for free if you register: http://www.elektor.com/magazines/2008/december/led-top-with-special-effects.739805.lynkx?tab=2To get the article in PDF form you have to spend "10 Elektor Credits", whatever that means.
|
|
|
|
|
Logged
|
|
|
|
|
Montreal
Offline
Edison Member
Karma: 16
Posts: 2209
Per aspera ad astra.
|
 |
« Reply #10 on: July 02, 2011, 08:20:45 pm » |
Accelerometer will give synchronization, Agree, in vertical plane. I was thinking to give more dimension, step up from 1D (gravitational force) to 2D or even 3D space. Project looks really interesting, so I check on magnetic sensors sensitivity and find out there are a lot of them able to sense 30-60 uTesla Earth magnetic field. Some bases on hall effect, other magneto resistive, most popular application - compass. And they fast enough to provide at least 10 Hz reading Sparkfun offers a 3D board: http://www.sparkfun.com/products/9371 It'd cost more than OPA and coils, but not much compare with accelerometers
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5929
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #11 on: July 03, 2011, 09:02:33 am » |
Many MEMS accelerometers have a +/-2g scale and a +/-8g scale - the latter will be needed at least (and it probably will overload), since even a pendulum swinging +/-90 degrees pulls 3g at the bottom of the swing.
happy to see some physics calculation here  as a matter of fact, the acceleration is only 2g but since accelerometer only measures force, it reports 3g. net force on bob is 3mg up and 1mg down so 2mg. I use one adxl345, with accuracy of 4 milli-g per LSB. It is only 30 bucks, including a level shifter you need to buy for 5v arduinos. What is a poi?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 14
|
 |
« Reply #12 on: July 03, 2011, 10:35:21 am » |
A poi is a flow toy, a ball on a string that you play with by twirling around you. Most common types are just a weight on the end of a string/rope/chain, but they come in lots of different shapes. Mine is two on either end of a longer wrope, called a "meteor". Oh, yea. Sometimes you light them on fire, which looks really cool when you're good. If that megnetomoter can do all of what you claim it can, it'd be reallly powerful. =^] Going to warm up to arduino with some simpler projects (remote control LED lamps, and motorized blinds on a timer) before I drop $100 for the pair.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 71
Posts: 6624
Arduino rocks
|
 |
« Reply #13 on: July 04, 2011, 08:08:56 pm » |
as a matter of fact, the acceleration is only 2g but since accelerometer only measures force, it reports 3g That depends whether you are working in an inertial reference frame.... 3D accelerometers are neat precisely because they understand F=ma and general relativity! They only read zero in free-fall.
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5929
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #14 on: July 04, 2011, 11:03:07 pm » |
as a matter of fact, the acceleration is only 2g but since accelerometer only measures force, it reports 3g That depends whether you are working in an inertial reference frame.... 3D accelerometers are neat precisely because they understand F=ma and general relativity! They only read zero in free-fall. Which part depends on inertial frame? 2g acceleration or 3mg force measured by the accelerometer? Why is general relativity mentioned here?
|
|
|
|
|
Logged
|
|
|
|
|
|