Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

I'm looking for a particular type of sensor, help?

NanoGator (522640) writes | more than 12 years ago

User Journal 29

Hi All,

I'm trying to find a sensor that I can implant in a device and have it detect how many degerees it's tilted. A mercury switch might work if there's a way of getting a degree angle out of it. Another idea was something gyroscopic...

Before I go off and invent this device, I'd like to know if anybody's ever heard of one. Help?

Hi All,

I'm trying to find a sensor that I can implant in a device and have it detect how many degerees it's tilted. A mercury switch might work if there's a way of getting a degree angle out of it. Another idea was something gyroscopic...

Before I go off and invent this device, I'd like to know if anybody's ever heard of one. Help?

cancel ×

29 comments

Sorry! There are no comments related to the filter you selected.

sensors (1)

Boatman (127445) | more than 12 years ago | (#3417403)

Gyros are the traditional choice for attitude sensing, and can be had for 3 digits in small packages designed for RC vehicles.

Also check out magnetometers, which know their orientation in the magnetic field. Seems like they would be unreliable, but we've had good success with the one on our rocket.

Re:sensors (2)

NanoGator (522640) | more than 12 years ago | (#3418578)

Thanks for the info! Where could I buy something this? Is there a Radio Shack kind of place?

Re:sensors (0)

Anonymous Coward | more than 11 years ago | (#3439001)

Arrrggg! Another sig with a copy and paste URL!!!

Link with your sig.

Re:sensors (2)

NanoGator (522640) | more than 11 years ago | (#3439201)

I tried. Too many characters. Give me some credit.

It was either:

a.) Have a link that works

b.) Have a descriptive question

I figured you'd rather know why/where you're going than risk getting that stupid goate.cz site.

If Slashdot were to allow me more chars in my Sig, I'd be happy to oblidge.

Things to do (0)

Metrollica (552191) | more than 12 years ago | (#3418955)

1. Eat ice cream cone in front of crying kids.

2. Eat sandwich in front of homeless man.

Re:Things to do (2)

NanoGator (522640) | more than 12 years ago | (#3419005)

....? Explain?

Things to do (0)

Metrollica (552191) | more than 12 years ago | (#3419666)

See, this is a list. A list of things I will do. Happy?

1. Eat ice cream cone in front of crying kids.

2. Eat sandwich in front of homeless man.

Re:Things to do (2)

NanoGator (522640) | more than 12 years ago | (#3419746)

"See, this is a list. A list of things I will do. Happy?"

Not really, no. I was hoping that you'd telepathically pick up that I was asking you to tell me what that had to do with the parent post?

I couldn't tell if you were being weird or if you were using a clever means to say that I was doing something unethical. Actually I'm still not clear on that, hehe. :)

Re:Things to do (0)

Anonymous Coward | more than 12 years ago | (#3447384)

metrollica just posts the same stupid crap again and again to unsuspecting slashdotter's journals. Don't be alarmed, he does it to most everybody.

Not too hard to find... (1)

PHPee (559830) | more than 12 years ago | (#3420769)

No offence, but I don't think it would be too hard to find this kind of stuff on your own. It took me 7 seconds to do a google search, which brought forth a lot of info.

Anyway, you could probably buy a gyro from a hobby store that sells radio controlled stuff. RC helicopters use gyros to stabilize their flight. From what I could tell, piezo gyros are very popular, because of their small size, sensitivity and the fact that they have no moving parts.

This link [acroname.com] has a listing for a certain gyro, and also has a little explanation on how it works.
Futaba [futaba-rc.com] sells all sorts of RC-related stuff, and has a decent selection of gyros.
Also, you could do a search on eBay. There will be some gyros listed there, for sure.

Lastly, why do you need such a sensor? Are you building your own Segway?

Re:Not too hard to find... (2)

NanoGator (522640) | more than 12 years ago | (#3430213)

"No offence, but I don't think it would be too hard to find this kind of stuff on your own."

Just wanted some experience from people who've done that is all. :) *didn't want to go through a whole lot of trial and error*

Thanks alot! I appreciate it.

cheapest possible (2)

Crispy Critters (226798) | more than 12 years ago | (#3429843)

Easier if you give some parameters, like max size, max cost, max angle, min sensitivity, min time response, digital vs. analog, and so on. The gyro mentioned above is $90, which may or may not be within your range.

For absolute cheap, I would get two potentiometers from Radio Schlock (may we have your phone number? Am I only allowed to buy stuff here if I have a phone?), large ones that turn easily. Shd be under $5. Then clamp a rod so it hanges off the post. If the thing is tilted, the rod will still hang straight down, turning the knob on the pot and changing the resistance. Put two at right angles, so you get an analog signal of tilt angle along both axes. This is an ugly kludge, but it is certainly cheap. (Don't bother commenting how this is a crappy way to do it unless you can come up with a better way for under $10.)

BTW, the magnetics idea is silly, because it will only tell you your angle w.r.t. the Earth's magnetic field, which is not vertical (most places).

Another BTW: did little gyros like that have good long term stability? I am imagining a robot that tilts over 3 degrees more every day until it falls over.

Re:cheapest possible (2)

NanoGator (522640) | more than 12 years ago | (#3430056)

Thanks for the help!

I have a camera and I want to find a way to record it's pitch. Reason? Well I really can't talk about that, trying to invent something hehe. :)

Re:cheapest possible (0)

Anonymous Coward | more than 11 years ago | (#3439363)

Gee, are you trying to build a camcorder with a pitch corrector?

Re:cheapest possible (2)

NanoGator (522640) | more than 11 years ago | (#3439395)

"Gee, are you trying to build a camcorder with a pitch corrector? "

Nope. I really can't go into detail, NDA's etc. Sorry.

"I already own the patent on the camera pitch correction device. (See Patent P0-22992)"

Thanks for the tip, but no I'm not working on a 'pitch corrector.'

Re:cheapest possible (0)

Anonymous Coward | more than 11 years ago | (#3439378)

I already own the patent on the camera pitch correction device. (See Patent P0-22992)

Thanks

Assuming you require digital input... (1)

Ed Bailey (1912) | more than 11 years ago | (#3437211)

Places like digikey have optical angle sensors (potentiometer-like gadgets that output a binary number corresponding to how much the unit's shaft was rotated.) -- Attaching an off-center weight to the unit's shaft will result in output proprotional to the amount the unit is tilted.

Use two mounted at right angles to each other to capture tilt in any direction...

Ed

Re:Assuming you require digital input... (2)

NanoGator (522640) | more than 11 years ago | (#3437297)

Hmmm would that work if it's a hand held device though? What I want to do is attach one of these sensors to a camera and get a pitch angle. What you describe sounds like part of the rig'd have to be anchored to the ground.

Re:Assuming you require digital input... (1)

n7ytd (230708) | more than 11 years ago | (#3439045)

I think they are talking about making what amounts to a digital plumb bob, with an optical encoder or a potentiometer attached to a weight. A potentiometer would require more force to rotate, but (relatively) cheap encoders are relative encoders, not absolute.
Here is the difference: an absolute encoder (which can be rigged up with a potentiometer), is one which tells you "the shaft is at position X". While the relative encoder can only tell you "since you last checked, the shaft has moved X degrees".

Shaft encoder with a counter weight. (2, Informative)

Poppa_joe (571379) | more than 11 years ago | (#3439050)

Mount a rod into a set of ball bearings mounted to the enclosure. Attach another rod hanging from the middle with a counter weight attached to that. Attach a potentiometer to the end of the rod. Attach the pot to the enclosure. As the enclosure is tilted the pot rotates but the shaft stays in the same place because of the counter weight. You can find the POTS at radio shacks web site. The rod and bearings can be found at ehobbies.com. I hope this helps.

Inclinometer (3, Informative)

bughunter (10093) | more than 12 years ago | (#3439619)

What you want is called an "inclinometer" or "declinometer," depending on the application.

Check this page [spectronsensors.com] for commercial-quality two-axis inclinometers.

Or if you'd rather save money and build them yourself, this fella [euronet.nl] seems to have a pretty good idea for a very small, glycol-dampened inclinometer that won't oscillate like the other pot-and-pendulum designs offered here. (Just stay away from his home page!)

Re:Inclinometer (2)

NanoGator (522640) | more than 12 years ago | (#3439644)

I think that is exactly what I'm looking for. I'm going to fire it off to a friend of mine just to be sure.

Thank you so much!! =)

Accelerometers (2, Informative)

flyingV (72384) | more than 12 years ago | (#3441343)

If you have EE experience, you may also want to look into accelerometers [analog.com] which measure acceleration in a particular direction. Since gravity is an acceleration, it wouldn't be too difficult to figure out which direction is down, using one or more accelerometers oriented in the proper direction... in theory. And even if there wasn't any gravity, these chips would detect a slowing down or speeding up in whatever axis you orient them to detect, giving you either a digital, analog, or duty-cycle change (depending on which chip you use)

Oh yeah, and one more thing: I did the free registration so I could order 2 free samples of the ADXL190 [analog.com] . They showed up at my door in 2 days. And yes... I still paid nothing!

Re:Accelerometers (2)

NanoGator (522640) | more than 12 years ago | (#3443661)

Nice! Thanks for the info!

*absorbing info now*

Re:Accelerometers (2)

asmithmd1 (239950) | more than 12 years ago | (#3447157)

This is your best bet, it is what I was going to suggest

Accelerometer, Digital Compass (2)

merlin_jim (302773) | more than 12 years ago | (#3450766)

As has already been mentioned, it really depends on your application, what you're interfacing to, etc.

Absolute best answer: get this book [radioshack.com] for $6 from Radio Shack. I have it. My answer is from it. It has 3 or 4 circuits to do just this, none of which should cost you more than $15 to construct. If you can't find it locally because there are no Radio Shacks locally, I'd be glad to run out and get it and ship it to you. E-mail me at merlin_jim *at* hotmail *dot* com.

Two easy and quick solutions:

A 2 or 3 axis accelerometer is an easy and cheap way to do it if you have a real time operating system, where you can sample the accelerometer often at known intervals. 3-axis is best, because then you don't have to worry about orientation; you'll get all the space acceleration parameters and be able to interpolate from there which direction down is, and therefore the tilt angle. If all you need is threshold data (like whether or not the tilt is past a certain angle), it's relatively easy to build a tilt sensor with a ball bearing and a few steel rods. Bend the rods to form a shallow U shape, cover the bottom 10 degrees (or whatever your threshold is) with an insulating material, seperate them by an amount smaller than the diameter of your ball bearing, and put the ball bearing in between. If you need it a little more rugged, put the whole contraption in an appropriately sized piece of PVC pipe.

A digital compass is another good idea. These are electromagnetic sensors, available in two or three axes. You can build your own, too.

One method is to wrap an electromagnet around an iron core; there will be slight changes in the current when orientation is tilted with respect to the earth's magnetic field. It takes some pretty smart sensor / amplifier design to detect and amplify these changes, but its not unsolveable.

The second method is basically the same, but uses HALL effect sensors for the same effect. Get the book mentioned above.

A 3-axis digital compass can sense orientation not only N/S, but tilt with respect to the earth's magnetic field... the magnetic field is in a sphere parallel to the earth's ideal surface, or what the surface would be if the earth's surface were totally flat. A rotation of the vector magnetic readings indicates that the compass has turned in a plane corresponding to the tangent of the earth's magnetic field at the point where the compass is located. A change in magnitude of the size of the vector magnetic readings indicates a tilt with respect to that same plane.

Analog Devices (1)

cthrall (19889) | more than 12 years ago | (#3460489)

makes an accelerometer:

http://www.analog.com/technology/mems/accelerome te rs/index.html

that this guy stuck in a Palm:

http://bodotill.suburbia.com.au/adxl202/adxl202. ht ml

to get a kind of "Marble Madness" game going:

http://bodotill.suburbia.com.au/mulg/mulg.html

Location? (1)

rco3 (198978) | more than 12 years ago | (#3461806)

Hey, nanogator - does the gator part mean you're in Gainesville?

Two suggestions: The 3-axis accelerometer from AD, or something similar; or, I saw somewhere recently a magnetometer which would tell the angle of a nearby magnet - if your device had a magnet under it or near it...

Re:Location? (1)

NanoGator (522640) | more than 12 years ago | (#3468476)

"Hey, nanogator - does the gator part mean you're in Gainesville?"

Hehhe nar, it's kinda hard to explain my name. It's really a play on 'Netscape Navigator.. NanoGator..... etc..". :)

THanks for the tips! *Looking into it*

Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?