Help needed for Indoor Location Position system
ShinXIII
Posts: 8
Hello All,
I'm new to Basic stamps and I have a school project that require me to set up a indoor localization system using Basic stamp to get the location of a toy tricycle and hope can control it to go to the assigned location automatically.
The components i have at this moment is eb500 (for bluetooth communication between host computer and tricycle) and CMPS03 (compass to get the direction of tricycle is heading), and an encoder. I wish to set up a real time system to know the x-y coordinate value of the tricycle, but have no clue on how to do it. Could anyone enlight me a bit?
I believe compass CMPS03 could give me the direction of tricycle, but i have no idea how to get the x and y coordiantes from the tricycle to the host computer. Thanks alot for your help and Marry Xmas in advance to everyone [noparse]:)[/noparse]
I'm new to Basic stamps and I have a school project that require me to set up a indoor localization system using Basic stamp to get the location of a toy tricycle and hope can control it to go to the assigned location automatically.
The components i have at this moment is eb500 (for bluetooth communication between host computer and tricycle) and CMPS03 (compass to get the direction of tricycle is heading), and an encoder. I wish to set up a real time system to know the x-y coordinate value of the tricycle, but have no clue on how to do it. Could anyone enlight me a bit?
I believe compass CMPS03 could give me the direction of tricycle, but i have no idea how to get the x and y coordiantes from the tricycle to the host computer. Thanks alot for your help and Marry Xmas in advance to everyone [noparse]:)[/noparse]
Comments
Using the encoders (one for each wheel), you can figure out what direction and how far you are moving. If you know your start location (usually (0,0)) then you can then calculate your path and current position. You wouldn't even need a compass, although you could use that for initial heading calibration to perhaps to correct for accumulated errors in the encoder measurement. But to start you'll want to look up dead reckoning.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PG
I think i would try encoders methods. GPS and emitters seems more difficult, and previous student who worked on my project failed to use bluetooth as emitters to find the location of tricycle. So i suppose encoders would be a better way for me. Even though might have measurement errors and later have difficult to adjust back the error in distance.
SRLM, may i know do you have any encoder to recommend? Would Boe-Bot Digital Encoder Kit be a good one to use?
Thanks alot [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Think i do have a rough idea now.
Thanks alot for the help and with you all happy new year in advance [noparse]:)[/noparse]
How do you tell which transmitter is transmitting? How do you know precisely when the transmitter has transmitted so you can measure the time to the reception of the pulse? Remember that the Stamp has only limited timing capabilities and has no built-in real-time-clock.
If you measured 100mS between 1 and 2, 110mS between 2 and 3, then you should measure 210mS between 3 and 1... I think.
RogerN