Let's Make Robots!

Location, location, location!

Hello everyone!

Now, I'm sure I can't be the first with this problem. A quick scan of the forums didn't turn up much, so I'll ask outright. I have a semi-autonomous robot project (won't bore with details) and I absolutely NEED to have a coordinate system (X, Y, and the direction the robot is facing). This can't involve any GPS or expensive digital compass sensors, and it needs to be pretty accurate. And because this might be asked, I'm running a twin gearbox Tamiya motor and two rubber wheels. It's a pretty small setup. Someone here has to have run into this before...what are your suggestions or solutions?

Thanks in advance! 

- P 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Well...I'm breaking down and buying this: http://www.sparkfun.com/commerce/product_info.php?products_id=7915

I need this for my thesis project and can't afford not to have it working. It pains me to have to buy a complete unit rather than make it myself, but I've recently found out that the timeline for this is a lot shorter than I thought. Thanks so much for all of the help with this, that's why I keep coming back :P

- P 

you're breaking my heart. I was really hoping for this to work. :/

Anyway good luck with your project. :)

I'm running a 9V through a 7805 voltage regulator. I don't have a processor on anything yet, was just building it on a breadboard first. I've actually taken apart the setup, but might put it together again later in which case I will upload some pictures. I'll try the cap, thanks for the tip!

- P 

I ordered the A1321LUA-T sensors. Unfortunately, I can't get the setup to work. I'm reading just under 2.5V from both outputs, but I can't get a stable enough signal at the output. I've tried the 100K and 1M feedback resistors, and I'm finding the output jumps from 1.6V to 2.54 at random, but as I rotate the setup, nothing changes. I'm going to have a go at it again tomorrow, but I'm not sure what more to try...

- P 

Touché! And yes you may answer...

What a bummer about the setup. Unfortunately I can't be of much help here. Never used one of these things (hall effect sensors). Hopefully OddBot will jump in and say something useful soon...:/

Parts have been ordered...next week is looking like a long ways away! I'll document everything to make a walkthrough if this works out.

- P 

Which hall effect sensors did you end up ordering?

PS: Looking forward to hearing more details :)

Please keep us updated on how this (DIY compass) moves along. I for one am VERY interested in how you manage to make it work :)

I'm going to be placing orders for parts this week, thanks to a new schematic posted here by a very clever person : )

I'll get a video up (I hope..) and all that jazz when I get time, but the project is on a really tight schedule so I have to have it built the day I receive components. You'll hear soon.

Thanks for all the questions/interest/assistance with this everyone!

- P 

Ok...so I quickly came up with a circuit this morning that translates the output from the hall effect sensors into a 0-5V range for ADC use. the link has the circuit + calculations, so if anyone sees anything wrong with this, please let me know and I'll correct it. :)

For those thinking of using this as a compass, this is only half of the circuit. Another one is required for the second HES, and I'm working on an algorithm to translate the resulting voltages into a single 0 - 360 degree value. I'll post that once it's done. (hopefully this afternoon)

Once again, thanks for all of the links people!

Circuit and calculations: http://imgur.com/7IP1k.jpg

- P 

EDIT: Yikes...I didn't read through the datasheet properly...That schematic is all wrong...I'll have a new post in a minute!  

EDIT: Ok..I think all I needed to do was remove the bias resistors. It's also now a non-inverting amp. The image linked above is the new schematic with calculations.