PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Software Developer wanted for Tour Guide using WiFi Ipaq

markhammill · 05 Apr 2004, 12:14 UTC
Hi everyone,

I need some Pocket PC software. A developer in the UK would help but it isn't essential.

The brief is an Ipaq Tour Guide which utilises wifi to determine it's location and receive the multimedia content.

Let me know if you are interested and I'll send you some more information.

If you have any previous software I could have a look at that would be great.

Thanks in advance,

Mark Hammill
Another PocketPC developer should correct me on this but I don't believe Wi-Fi has location capabilities. GPS technology would be the one that does.

You could, however, have a menu and determine where you are and just stream the multimedia off a server and grab the data through wi-fi.
It doesn't inherently have the capability, but you can force the issue...

I know a guy who did something similar for his employer... What he did is he set up a number of access points throughout the building. He then got a wi-fi CF adapter that he managed to get access to the signal strength from within his program.

So, he set up each access point to be essentially a different network (but still part of the overall corporate LAN of course), so he could tell (a) what access point he was talking to at any given time and (b) what the signal strength was to it.

Lastly, he went out and mapped out the signal strength all throughout the building.

A little bit of nueral net coding later, he had an app that could, with a high degree of accuracy, tell where a person was standing in the building, I think within about 15 feet last time I talked to him.

I'm sure I'm glossing over some details, and maybe my explanation isn't quite spot-on, but the basic idea is right.
MikeL: Yes, but there are still ways around that. For example, either have a dumb client, or have the client hold everything. From there, just have the WiFi APs with different names for each sections. Then you can stream the data from that AP to the iPaq, or have the iPaq load up the appropriate data depending on what the AP name was.

Combined with some stats, I'm sure you could get some pretty good demographics at where people like the most, and other ways to improve service.

[edit]Doh, fzammetti beat me to it. The triangulation method should work too, but be a bit more complex obviously.[/edit]
markhammill · 05 Apr 2004, 17:59 UTC
Thanks for all the input. Here is a bit more info on how I kind of thought it would work.

There was a similer system used in the Tate Modern in London a couple of years ago. The software used was provided by http://www.pangonetworks.com

The idea is to make a guide book that will run on a Pocket PC, presenting relevant multimedia content to you at each exhibit.

To make it user friendly it will run full screen and disable all buttons except for the joypad.

At the start of the tour, the user will be given a list of tour preferences i.e. age, sex or nationality etc to determine which tour would best suit the visitor.

They would then choose it using the joypad and action button. This would be the end of their input.

There will be a wifi network with probably four access points around the room, so the pda can locate itself using the various signal strengths.

The sever will store a database with the signal strengths for each access point at each of the different exhibits as well as the multimedia content in the form of a web type app.

This will allow the event organisers to amend the exhibition data and exhibit locations without having to edit the content of each pda.

For added value, other things to consider will be a:
Help function where the visitor can tap in a quick question and then someone at reception for example will be able to reply immediately.
Security system where the pda will sound an alarm if it leaves the exhibition and alert the server.

So here is a run through of how I think it would work:
1. User chooses tour type
2. App downloads location database
3. App checks signal strength’s and refers to the database
4. App loads relevant page from server
5. App monitors signal strength’s
6. Pocket PC leaves signal strength tolerances for that exhibit
7. App goes back to step 3.

For now I am after quotes for a ruff and ready prototype as proof of concept and a final polished app, including how long they would both take?

As I have to present this to the client before I can carry on.
Depending on the size of the room you're talking about, I think there could be substantial difficulty in determining the location with any accuracy. The signal strength would be too strong, and 2.4 GHz signals are highly reflective - they will bounce all over the place.

One trick that comes to mind is to place a WAP (or bridge) at each exhibit. Do not attach an antenna to these - their range should be extremely short, just the area of the exhibit. You may have to attach a "dummy load" with the correct impedance (in place of the antenna), however I doubt damage would occur to the transmitter without an antenna because the wattage is so small. You can also use a 3rd party configuration utility to reduce the output power of the WAP. The idea is to lower the output so the coverage between exhibits overlap as little as possible.

Ideally, depending on the brand of WAPs you use, they should function without any ethernet connection at all. Their purpose is only to serve as markers. If a particular WAP can be received, then the software knows what exhibit the user is at. If two can be received at once then the user is in between those markers.

You can then have a "full coverage" WiFi on a different channel for actual connectivity. You could use a single WAP to cover entire floors or groups of rooms at a time. That will ease installation since the WAPs marking the exhibits only need AC and not connectivity.

Now if you are talking about big rooms, say 100 x 100 (feet), then you could possibly stick a WAP in each corner and try and infer position based on signal strengths (apparently someone has done this before). However I just can't imagine that being very accurate. Even within a specific model of PDA, different devices will have different receive sensitivities. The orientation of the person holding the device, their ability to block the signal (aka weight), the way they hold the device, etc, will all affect the ratio of signal strengths. For example our church just got a set of high end Audio Technica wireless hand mics (they operate in the 600 MHz range, cost around $4000 for the 4 mics). One of the 4 singers' signal strength was consistantly lower than the rest (the receivers have displays that show everything from signal strength to the battery level of the mics). I swapped out her mic thinking perhaps that one had a bad transmitter, but the other mic had the same problem. After watching them for a bit I figured out she was holding her mic differently than the other 3 - she was holding the mic by the very bottom, which covered up the antenna (after reading through the manuals thoroughly I found they specifically say not to hold the mic by the bottom part). She moved her hand up higher on the mic and we had a full meter on both channels, whereas before we would completely lose her signal from time to time.

One last example, both mics transmit on two frequencies at the same time, and the receiver will always use the strongest of the two. There are two signal meters on each receiver showing the two RF levels for that mic. A person can move their mic a mere inch, and one signal can drop almost completely out, while the other is full strength. That is caused by constructive and deconstructive interference, as well as the wavelength peak or trough lining up exactly with the antenna.

Anyway the point of that long boring story is that there are way too many variables to try and triangulate signal strength with any accuracy on this small of a scale. The problem would be amplified with the higher 2.4 GHz frequency because then you have reflection to deal with too. That is why I would suggest using extremely low-power, non-connectivity marker WAPs to cover very small areas around specific exhibits.

Dan East
markhammill · 05 Apr 2004, 23:18 UTC
Wow thanks for the advice Dan.

I'll try and find out the room size.
Are you really going to use the WiFi to send content?? The content could be on the PPC, probably for a lower cost than WiFi. Thus if the only reason to have WiFi is to determine what exhbit the person is at, why not just use the IR port. Just package a small IR device at each exhibit. This would be very simple device that just transmits a code (the location). Place a small sign above this that says "point PPC here to get exhibit info". Of course, if WiFi is needed for content, then you can still use the IR port for location and send the content with WiFi.

Some advantages...

1) Cost. IR transmitter per exhibit should be much cheaper

2) Installation and upkeep. The small IR transmitters should be easy to install requiring no wires (run on batteries) and very cheap to replace when they get stolen or smashed.

3) The "Sign". I would imagine you will be trying to get people to rent the PPC devices.. thus a sign at every exhibit would be a nice form of advertising, while not right "in your face"

As for updating content, this could be tied into the charging center that you will most likely have, or just swap SD cards and update with a computer. We did a very, very similar thing for handheld 'yardage' units for golf courses.

Good luck!

-rcp
markhammill · 06 Apr 2004, 14:04 UTC
We will probablly use the wifi for content. As it will allow the content developer to edit the information over the internet.

The exhibition is likely to be run by people who have never used a Pocket PC before.

We have considered IR to determin the location. Roughly how much did it cost you for each transmiter?

The other issue is that the exhibition will move to different locations.

With access points working as beacons, thry will just have to be plugged in. The IR units would have to be fitted pretty securely as I can imagine them getting damage otherwise.
markhammill wrote:The other issue is that the exhibition will move to different locations.

With access points working as beacons, thry will just have to be plugged in. The IR units would have to be fitted pretty securely as I can imagine them getting damage otherwise.


That would almost certainly rule out trying to triangulate the position based on the signal strength of multiple access points.

You had mentioned something about theft prevention. Do you want the PPC to sound the alarm, or some fixed-position device? I wouldn't think the former would be useful in preventing theft. The only secure method that comes to mind is sounding an alarm if a PPC dropped off of the network.

Dan East
markhammill wrote:We will probablly use the wifi for content. As it will allow the content developer to edit the information over the internet.

The exhibition is likely to be run by people who have never used a Pocket PC before.

We have considered IR to determin the location. Roughly how much did it cost you for each transmiter?

The other issue is that the exhibition will move to different locations.

With access points working as beacons, thry will just have to be plugged in. The IR units would have to be fitted pretty securely as I can imagine them getting damage otherwise.


It might be easier for you to use RFID tags for this purpose.
The way it works: you implant RFID tags into "points of interest" and attach RFID reader to each handheld device. While people move about the exhibition RFID scanner scans the tags and presents the content
based on the tags. There are RFID readers have range of several meters.

For example,
http://www.identecsolutions.com/handheld_devices.asp
RFID would work, but it would have the greatest cost. I like the idea of the irDa method the best. It would be the cheapest and the most reliable / foolproof method. I don't know if ready-made hardware exists, but it would be easy to design a circuit that pulses an IR LED with a predefined repeating pattern. Excluding the cost of the enclosure, the cost per unit (for the hardware) would be around $5, and each unit could run for weeks off of a couple D batteries.

Dan East
As Dan says, you are looking at about $5 without the enclosure. Our enclosure was already there. I typical small box big enough to hold the batteries and the circuit wouldn't be more than $10. You probably would want to make the enclosure and sign a single piece, ie; a thin box about 12"x12"x3" with a clear front (sign goes behind this) and the circuit in the bottom. This will give more protection to the IR device and make it a bit more uncomfortable for someone to carry off. :)
markhammill · 06 Apr 2004, 21:42 UTC
As far as a low cost option goes, I was thinking of using a Pocket PC wih add on camera or maybe a Palm PC which has omne built in, and using to to capture barcodes.

http://www.scanzoom.com/
I think it would be in your best interest to keep the cost of the devices people carry around as low as possible, which means something that you can walk into most retailers and buy off the shelf (ie any make or model Pocket PC with WiFi). The PDAs are what will be dropped and stolen, and would need to be replaced more often than any other component. The beacons (irDa) will last for a much longer period of time, plus there are a fixed number of them, so spending a little more on each of those (in place of a barcode) to keep the PDA costs down makes sense.

Plus irDa will work at a substantial range, while barcode reading would require up-close "scanning" of the beacon. Finally, with barcodes you have to buy that 3rd party software, and then try and integrate it into your main program. That type of interfacing will always decrease reliability because it is yet another thing to fail. For dedicated, single purpose software, it is always better to place all functionality directly in the application so it has full control over all aspects of the system.

Dan East
I would favour the RFID approach. We use these tags heavily for traceability purposes and they are not as expensive as you think. Besides the costs will become much lower as major retailers are demanding that goods are supplied with RFID tags attached as standard.

As for a device then consider the timbatec ruggedised PPC http://www.timbatec.com/welcome_e.htm with the RFID reader add-on. WIFI as standard - they're effectively an iPAQ 5000 series. Check the specs as they are enhanced.

If you're worried about theft then just put an RFID tag inside each unit and use standard RFID antennae's on the exit's.
markhammill · 07 Apr 2004, 01:25 UTC
That's true.

I'll definatelly give some more thought to the IRDA option.