Slashdot Mirror


Obtaining Real Time Transit Info?

remolacha asks: "I am working on an EU initiative to create small-scale demand-driven public transit (minibuses + GIS + logic + SMS gateway for people to request transit) in rural Ireland. Our plan is to connect several small towns that have no public transit to a bus stop served by a national carrier, so as to enable residents of these towns to reach the two neighboring cities (20 miles in each direction, which have jobs, universities, etc). The thing is, no one wants to be dropped at a bus stop without knowing when the next bus is coming (buses don't come that often here, and schedules aren't reliable.) We'd like to provide real-time information on when the next bus is coming, as you see in some large cities. the problem is our project is so small, none of the companies that make these systems will even give us a quote. so my question for Slashdot is this: is there a homebrew or inexpensive way to set up a display at a bus stop that will tell users when the next bus is coming from a city 20 miles away? There are hills involved, so line of sight isn't an option."

41 comments

  1. GPS and a mobile phone by gkelman · · Score: 5, Informative

    GPS unit from RS plus some bits to tie into a GSM phone and send GPS co-ordinates over GPRS every few minutes. The bus stop's sign would just download the information from the same server you uploaded the GPS co-ordinates to.

    Simple and used by numerous people / companies already.

    1. Re:GPS and a mobile phone by gkelman · · Score: 4, Informative

      Or just use A Navman MDT800.

    2. Re:GPS and a mobile phone by Wuukie · · Score: 1

      I read the website's info but couldn't really understand what this device actually does. Do you know anymore?

      Can you put one of these in the display and one in the bus, and the bus automatically updates the display info. Or are these supposed to be driven with for example a PC which commands these to send messages? Or are these devices programmable to do these by themselves?

    3. Re:GPS and a mobile phone by Anonymous Coward · · Score: 0
      I read the website's info but couldn't really understand what this device actually does. Do you know anymore?

      Can you put one of these in the display and one in the bus, and the bus automatically updates the display info. Or are these supposed to be driven with for example a PC which commands these to send messages? Or are these devices programmable to do these by themselves?


      The solution gkelemen first provided with gps, cell phones is far better since there are plenty of open code libraries to tie the physical components together.

      The navman, as your questions (which a closed option naturally causes and induces) show, is not as good.

  2. Ireland Bus!! by justinmc · · Score: 3, Interesting

    I grew up in Schull, West Cork - don't talk to me about the Bus schedule from there.
    Two or three buses a day out of the place.
    One on a Sunday! The day I got a car was one of the happiest in my life - the sad thing is I prefer to use public transport, but it just isn't an option in some parts of Ireland!

    Jay

  3. WOW by Anonymous Coward · · Score: 0

    If you give me your EU grant money, I'll design a solution for you!

  4. Are you sure Real Time is the way to go? by trevry · · Score: 3, Informative

    Are you sure that real time data is the way to go with this project?

    The arrival time would have to be calculated from the speed of the bus, either averaged or real time. Both would be inaccurate in the context of Irish roads. Irish road distances, both on maps and signposts, are INCREDIBLY wrong. Not inaccurate, just plain wrong.

    I've driven all over Ireland and the best way to know how far and how long it's going to take to get from point A to point B is to use experience.

    Just get the drivers to punch in an estimated arrival time. It'll be right to within five minutes. Their tachys will show whether they were right or wrong.

    The drivers of the buses are going to have driven that road before, in those weather conditions, at that time of the day, in the current traffic conditions. They'll know if Mackey the dairy farmer takes his cows across the Miltown Malbay road at 11.30am EVERY day. They'll know if the Oughterard road floods at this time EVERY year and you have to go "the back way".

    If you're standing at a stop there is NOTHING more annoying than seeing a delay tick up. If you use realtime data then the times are going to vary wildly depending on the speed of the bus at various moments. If you average it will just be plain wrong, in the west of Ireland there are a lot of sections of bendy roads followed by straight road, this is because a lot of the roads were laid out during famine times. The roads just meandered along, not really going anywhere, the workers didn't care how long they were, they just wanted to get paid and fed. There are roads that go on for miles before just stopping dead, in the middle of nowhere.

    For my mind, the best solution would be to let the drivers estimate. It would also be a better solution cost wise. Just get the estimate transmitted to the next stop.

    --
    sic transit biscuitus
    1. Re:Are you sure Real Time is the way to go? by Hell+O'World · · Score: 1

      I was reading this and thinking that asking the drivers made sense, but when I read, "Just get the drivers to punch in an estimated arrival time. It'll be right to within five minutes. Their tachys will show whether they were right or wrong," I started thinking about error correction. The past is the best place for real data. You can start with estimates, but you need to store the data, so that as the system ages, it can learn from experience, and get better at predicting the time based on the distance. Sure, it would be good for the drivers to have input for road conditions, if there was a bus breakdown or traffic tie-up, but on an average day a database will predict better than the driver. And drivers need to be driving, not playing with toys.

    2. Re:Are you sure Real Time is the way to go? by AlecC · · Score: 1

      I've driven all over Ireland and the best way to know how far and how long it's going to take to get from point A to point B is to use experience.

      And why cannot software do this? Don't use time/distance/speed. Use experience: the average of the last 100 journeys from to here was Y minutes, so when bus reaches , advertise it in Y minutes time. Don't average over too large a window, so that it automatically adjust itself when busses travel slower in winter or there are roadworks nearby. Requires modest amount of storage - easily within the capacity of a flash memory.

      --
      Consciousness is an illusion caused by an excess of self consciousness.
    3. Re:Are you sure Real Time is the way to go? by gl4ss · · Score: 1

      besides than that.. It really isn't THAT hard to get the busses arrive on schedule(or 1-2 mins late at maximum, it is important to not leave the stop early though.). especially this estimation is easier on rural areas.

      (hell, the busses arrive on time more often than trains.. and this is in rural Finland even during winter)

      besides, if there's just 1 or 2 bus per day the thing that you need to know is something akin to "is it 12 o clock yet?".

      --
      world was created 5 seconds before this post as it is.
    4. Re:Are you sure Real Time is the way to go? by markxz · · Score: 1

      The arrival time would have to be calculated from the speed of the bus, either averaged or real time. Both would be inaccurate in the context of Irish roads. Irish road distances, both on maps and signposts, are INCREDIBLY wrong. Not inaccurate, just plain wrong.

      If the system was designed to be intelligent and learn from previous journeys then it would become increacingly accurate as time progresses. It would be good if some form of traffic info was also used however I doubt that this is collected.

      If you're standing at a stop there is NOTHING more annoying than seeing a delay tick up.

      They could make it like the DART trains in Dublin which leave the station 2 minutes before they are due to arrive (according to the platform displays)

      Any of this is better than no (or useless) information, at Edinburgh Waverly (the main station) the information screen often say "On Time" 5 minutes after the train should have departed and then change to the helpfull "Delayed" indicator.

    5. Re:Are you sure Real Time is the way to go? by trevry · · Score: 1

      In Ireland it is impossible to get Buses to run on time. They just don't. They never have and never will.

      At least by making the drivers someway responsible (by making them notify the stops) the public can see when the damn things WILL eventually arrive.

      I travelled on the Irish bus and rail network for over twenty years until I got a car. It's the worst in the world. I've been on buses that were two hours late leaving or three hours late arriving. I've waited for buses that simply never came. I've even waited at a bus stop that Bus Eireann de-commissioned THAT DAY and never told anyone. They just stopped sending buses that way.

      In Germany you can set your watch by the bus. In Ireland you might, might be able to tell what season it is.

      --
      sic transit biscuitus
    6. Re:Are you sure Real Time is the way to go? by dubl-u · · Score: 1

      I agree that allowing the driver to punch in estimates is a great idea. However, why is the following the only way of doing things?

      The arrival time would have to be calculated from the speed of the bus, either averaged or real time.

      If you collect data for a while before you put up the sign, then you should be able to establish reasonable milestones. E.g., when the bus hits point A, it's within 20 minutes 95% of the time and within 15 minutes 80% of the time. This will of course vary according to outside factors, but the drivers should be able to give you a good idea what those factors are (time of day, weather, sheep-shearing season, etc).

      With that kind of data planned, you should be able to usually have a good-enough ETA as a default. Then the driver can tweak it up or down as needed.

    7. Re:Are you sure Real Time is the way to go? by justanyone · · Score: 1


      A note about my Greek Bus experience that might apply here:

      After experiencing the Greek (specifically, on Crete) bus system, I made up a new phrase and use it occassionally to describe the actions of my 2-year-old toddler: Having The Mind Of A Greek Bus Driver.

      This translates to, "Not knowing what you're going to do until AFTER you've done it".

      The bus driver sometimes stops, sometimes he doesn't, and you have to wait until after he was supposed to stop to find out what the decision was, even if you ask him first or try to flag him down.

      I'm sure this concept is not new but it accurately describes some toddler behavior.

      -- Kevin Rice

  5. Really need more info but, here goes: by stoborrobots · · Score: 3, Interesting
    Ideally, you would say what kind of connectivity is available in the area you are working on. For example
    • Is there cell-phone coverage throughout the area? Is it GSM or CDMA? (If it's GSM, you could acquire receive-only SIMs from a provider, and send updates from the bus via SMS).
    • Is there cabling in the area (telephone/electricity) which is easy to tap into? (Could you make a deal with the telco to provide a line to the bus stop?)
    • Are bus stops located near other facilities which could jointly use services (eg pubs/service stations which could share an internet link with the bus stop)?
    • Are there any locations from which a radio antenna could transmit to the entire route (or a significant portion thereof)? (Could you set up a transceiver on a hill, receivers in the bus stops, and a transmitter on the bus?)
    • Is the area geographically small enough? How many roads are involved? How far do the roads deviate from one another? (Could you run transmitters along one road which could be received from a large number of other roads?)

    Just a few thoughts off the top of my head. HTH. YMMV. HAND.

    1. Re:Really need more info but, here goes: by cmpalmer · · Score: 1

      If there is cell phone coverage, there are several companies that sell GPS devices that used a celluar modem to periodically transmit location data, usually to a central server (read: subscription fee) where you can either access dynamic maps with vehicle location or download streams of location info (using webservices or XML).

      In the U.S., I know of at least one company (Cloudberry) that uses a dual celluar/satellite technology (use celluar if there is a connection, if not, use a satellite uplink).

      These services are priced by the number of updates you want -- if you just want every 10 minutes X hours per day it's a lot cheaper than every 10 seconds 24 hours a day.

      Again, given celluar coverage, you might be able to homebrew a system using a GPSr that outputs NMEA combined with a celluar modem and a bit of hardware/software hacking for autodialling. You would still be stuck with celluar charges, but the calls can be short and only as frequent as you like. I suppose you could also set it up to call the bus/car whatever and "ask" it where it is via software.

      All of these suggestions could be implemented using radio carriers if the criteria of the parent poster are met (repeaters, etc.).

      We looked into these technologies for some of our clients and the dual celluar/satellite system seemed to work best with a small initial investment and a reasonable subscription fee. The radio solutions are cheaper in the long run with no subscription fees, but require a higher intitial investment for the radio infrastructure -- really best suited for urban environments with a relatively small geographical area.

      There are many open source GIS packages for mapping the results.

      --
      -- stream of did I lock the front door consciousness
  6. Wi-Fi? by peterdaly · · Score: 1, Interesting

    My not knowing the area is an understatement, but here's an idea.

    Wi-Fi at (or around) each stop. Have a device, old laptop etc on the bus that sends out a "here I am" type ping through Wi-Fi and the internet which is received by a central server which can identify the access point of origin (by IP address maybe?). As the bus drives around, a "location" will be sent at each stop to the central server, which then can be used to calculate and transmit an ETA to the other stops.

    As a bonus, you may be able to provide "open" Wi-Fi at the stops for the customers, although your market may not be tech savy enough to take advantage of the service.

    No reason you could not have other "hotspots" along the route if you need additional tracking points, as long as the bus is in range long enough to "handshake" and send the signal.

    Co-Lo hotspots with local businesses or residents.

    Do I really know what I am talking about here? No, but it may work.

    -Pete

    1. Re:Wi-Fi? by Anonymous Coward · · Score: 1, Insightful

      Hello?!?

      The last line of the article said:

      There are hills involved, so line of sight isn't an option.
      Good luck in getting quality data.

      If all you need are simple pings, try something like HAM frequencies. You don't need the throughput, and line-of-sight is not an issue.

    2. Re:Wi-Fi? by itwerx · · Score: 1

      Original post: ...not knowing the area...Wi-Fi at (or around) each stop...central server which can identify the access point of origin (by IP address...which then can be used to calculate and transmit an ETA to the other stops...other "hotspots" along the route if you need additional tracking points...

      Flame-brained reply: Hello?!? The last line of the article said: There are hills involved, so line of sight isn't an option.
      Good luck in getting quality data.


      My Insightful response: Hello?!? Every other line of the parent post you replied to is explaining how to work around that very problem!! Geez...

      (I'm tellin' ya, the quality of AC posts gets lower and lower... :)

  7. EU initiative? by Anonymous Coward · · Score: 0
    i too grew up in ireland, the better part though, that being Cork so enough of that ya bollox.

    anyway couple of points to make:
    1. anything funded by the EU has financial backing and you my boy seem to be talking about a national solution implemented at a regional level, which implies lots of small installations, there are plenty of companies and cities out there who have solved this problem before you with the same constraints. i find your comment re. quote refusal seriously dubious...
    2. what has bus eireann said? not their unions but their IT group? they may not even support any of your 'solutions'
    3. have you considered the vandalism factor? there are just as many yobbs in east cork as there are in west cork...
    4. your question really seems to mark you out as a bit of a wanker as you should know that there's no power at 90% of the bus stops in 'rural ireland'

    somebody mark the parent poster as a troll and put me out of my misery please... BTW this poster reminds me suspiciously of one of my current students
    1. Re:EU initiative? by citog · · Score: 3, Interesting

      -1 Langer ? :)

      The poster does say that this is demand-driven public transport i.e. minibuses and not Bus Eireann, so I doubt their IT group would be much help. I also think that this is going to be very limited rural coverage hence the issue with companies not quoting. From memory these minibus (and such like) services are organised very much on an ad-hoc basis which isn't suited to most scheduling solutions available (you've seen how accurate the DART times are?)

      I agree with the yobb factor which isn't limited to you Corkies either. I would tend to agree with the early poster who suggested some form of sms based solution. How difficult is it for the driver to sms a bus-stop number (doesn't even have to be every stop, you could extrapolate as discussed above). Use the timestamp on the message. Then let people sms the stop number in and get a predicted arrival time...

  8. Radio - Non tech solution by MobyDisk · · Score: 1

    If each bus had a CB radio, they could periodically announce their position to a central office. Then people can call the central office to check where the bus is and get ETAs. Maybe local radio stations could announce bus information along with traffic/weather/news.

    Sure, it isn't tecnologically cool, but most public transportation already has an office, a phone number, and maybe a radio.

    1. Re:Radio - Non tech solution by citog · · Score: 1

      A number of the companies involved are sole-traders effectively. There is no 'central office' at this point. Perhaps you could organise the local community groups to provide something along these lines? Not unreasonable given that public transport is pretty fundamental to an areas vitality.

  9. A suggestion: Have bus drivers use cell phones. by Futurepower(R) · · Score: 2, Interesting


    A suggestion:

    Maybe the bus drivers all have cell phones, already. They could program a speed dial button for a voicemail answering system. When they arrive at a stop, or a landmark, they could press a speed dial button and say, Bus 6 arriving at stop 17, [town name], [time].

    If bus drivers don't have cell phones that work in the area, they would have to call from pay phones along the route. This would be convenient if they were stopped for a few minutes. It is possible to buy inexpensive devices which play back a series of tones, so that the drivers would not have to enter the digits by hand.

    Bus riders would call the voicemail number, and hear the recorded messages. The speed dial buttons would not only call the voicemail number, but also pick a voicemail box, and erase the previous message. So, bus riders would choose the voicemail box corresponding to their area.

    The disadvantage of this is that some people might have to pay a toll charge to call the voicemail system. The advantage is that the service might be close to self-financing.

    Some answering service systems have almost unlimited mailboxes, so other messages of interest to the community could be programmed, also. For example, a sign at the town hall could say, "If you want to know the location and date of the next [town name] town meeting, choose voicemail box 230." Or, a sign could say "Anyone wanting to know how Mrs. O'Leary of [town name] is doing in the hospital, call voicemail box 1472, and enter access code 241."

    People say good things about the free Asterisk telephone system software. Here's a quote from the web site: "Asterisk provides Voicemail services with Directory..." You would need only an old computer, since Linux and voice don't require much CPU speed.

    One computer could handle a very wide area, and many bus routes, I think, because each message is very short.

    Messages could be more detailed than just time and place. The bus driver could say, "Stopping for unscheduled maintenance at [town name]. Running late about one hour."

    With considerable programming, people could leave their number to be called when a bus arrives at a particular town just previous to theirs.

  10. Easy does it. by Anonymous Coward · · Score: 0

    Just publish a central GSM number, and let customers call it. The centre can contact the driver by whatever means possbile (e.g. GSM), and ask what his ETA for the stop is. No overly complicated technical solutions necessary.

    1. Re:Easy does it. by Smallpond · · Score: 1

      GSM alone can be used to track to 1-cell granularity. There are a number of GSM tracking programs available. Using arrival times in each cell, an ETA prediction could be made fairly accurately.

  11. A source for info by UncleRoger · · Score: 2, Informative

    You might talk to the folks at NextBus who offer that sort of info for San Francisco's Municipal Railway. (You can check my stop if you want.) They are probably too expensive for your situation (I suspect they're out to make money) but they might at least have some advice for you.

    --
    Stupid people will be persecuted to the fullest extent allowed by law.
  12. duluth mn reprasent by RevAaron · · Score: 1

    I don't know of a homebrew setup, but I imagine there's a lot of work involved.

    but to see what a commercial solution is like, check out the "web watch" on MY busline. :)

    --

    Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
  13. The more I read it... by FreeLinux · · Score: 1

    the more your solution sounds like a taxi service.

    I think you are trying to be too high tech in your solution. The way I see it, based on your post, there are two options.

    1. If it is a minibus that runs a scheduled service, then put up a poster with the schedule on it.

    2. If there isn't a fixed schedule but, rather an on demand arrangement, then use a central dispatcher like taxi services do. The rider calls the dispatcher to request service and the dispatcher tells them when the bus will be there.

    Electronic scheduling boards that update in real time, like they have in big cities and airports, are wonderful. But, minibuses and taxis have been running fine without such amenities for more than 100 years.

  14. The University of Washington has some software... by mauryisland · · Score: 1
    Take a look at their MyBus website, where you'll find this link to their "Variable Message Sign" project. There's a fairly complicated software stack behind this, and I have no idea what they'd charge you for it. Also, a real-time data feed from the transit fleet is required, which is a huge, expensive requirement. Good luck!

    Here's [PDF file] a good article about the technology.

  15. The only reason.. by LouCifer · · Score: 0

    ..one would possibly need real-time information is because they're a terrorist.

    Ireland you say? Are you associated with the IRA?

    No biggie, we're tracking you via RFID already.

    --
    Religion is for people afraid of going to hell.
  16. Siemens TransitMaster by SoCalChris · · Score: 1

    I work for a medium size public transit company in Southern California. All of our busses are fitted with a gps and Siemens TransitMaster system.

    We are starting to implement signs like you are talking about at some of our bigger stops (ie, "Route 45 - Next bus arriving in 10 minutes") They also have a web module that you can use on your company's web site.

    I'm not sure how much the system costs, but I know that they supply some of the other municipal bus systems around here that are much smaller than us, so they should be able to help you.

    http://www.sts.siemens.com/

  17. Rutgers uses this... by Anonymous Coward · · Score: 0

    visit www.whereismybus.com> , which shows bus locations for Rutgers University.

    The distances are smaller than those you are suggesting, but replacing the radio link with celluar or something similar may work.

    just remember to change your browser ID, since it 'only works' with Netscape and IE.

  18. I've got a solution for you by uslinux.net · · Score: 1
    A colleague and I recently did something similar for a company in the US who wanted to track shipments, but it should work similarly for you as well. Here's how it worked:



    Each pallet was tagged with an 802.11 RFID-esque tag which would broadcast it's info every 30 seconds or so for it's lifetime (about a week). There was a unit placed inside each truck which could capture the RFID info and spool it up, then use a GPS to grab it's position and connect out via the GPRS network to our server with all its info. We captured the data and could plot the shipments around the US.



    You don't really need the RFID tags in your example, but you do need some unique identifier assigned to each bus. Add some way for people to connect to, say, a website and request info about a particular route and you're pretty much there. Heck, with a little effort you could probably even predict when the bus should arrive (not just where it's at now).



    I'm sure we could probably design and build something in your price range. http://uslinux.net

  19. here is a solution, but ... by josepha48 · · Score: 1
    .. I'm not sure I'd use them they are a really small company.

    http://www.nextbus.com/

    They company is called nextbus and they are being used a little in the bay area. Basically they use gps to track the busses and they you are supposed to be able to see when then next bus is going to arrive by looking at their map. They have wireless access to the system. I think this would work for you, but I also believe that this is a small company that has no european ties, so they may not be able to do everything. However looking at what they are doing, it is not that difficult to setup gps on your busses and have them transmit where they are, and map that to a static map, that people can then download or get text timings from. No, really, this is something a BSEE / CSEE senionr project could consist of almost.

    --

    Only 'flamers' flame!
    Does slashdot hate my posts?

    1. Re:here is a solution, but ... by NutscrapeSucks · · Score: 1

      Coolest thing about NextBus is the realtime map

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
  20. ODOT in Oregon does something like this by Marxist+Hacker+42 · · Score: 1

    But for real-time trafic info rather than for transit. Tripcheck recently even added a real-time map of the only real metro area, Portland, with estimated speeds on all of the interstates.

    --
    SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
  21. APRS by infohord · · Score: 1

    Lookup APRS from the HAM radio world. GPS plus radio equals real time position reporting. Some of the equiptment will also act as data repeaters so infrastructure is low and you may be able to use the HAM frequencies. Equiptment is becoming off the shelf. Add a laptop and a screen at the bus stops and you get a realtime map of the area with the location of the busses.

  22. if this is a serious question... by kevin+lyda · · Score: 1

    ...and the link makes me doubt it, you could email me at kevin@doolin.com. almost all of our work involves linux, financial transaction systems, sms and web front-ends.

    as i live in north co. galway, i'd be eager to see you succeed.

    --
    US Citizen living abroad? Register to vote!
  23. Use SMS a bit more by ebbe11 · · Score: 1

    Let the users ask when the next bus arrives by SMS. Already in use in Leicestershire.

    --

    My opinion? See above.