Shop OBEX P1 Docs P2 Docs Learn Events
Iron Bowl -using Xbees in Paintball — Parallax Forums

Iron Bowl -using Xbees in Paintball

RagtopRagtop Posts: 406
edited 2012-02-12 13:42 in Robotics
I am working on a paintball game concept based on a package (briefcase) that is reporting it's location on the field. The package will have two buttons, when a player gets the
package he presses their team button. The package will award out points every 10 minutes according to the team that owns the package and it's location on the field. The farther away from the team's
respawn point the more points awarded.

The package will report it's location and owner via Xbee's to a base station that will create two webpages: one for computers and the other for smartphones. The webpages will give out the location of the package,
time left in the game and the current team scores.

The distance from the base station to the far parts of the playing field is 1/3 mile. I got these Xbee Pro's with a mile range, but I am concerned if they will reach through the trees.

Comments

  • RagtopRagtop Posts: 406
    edited 2012-01-21 09:04
    Using the propeller to send information through the xbee
  • RagtopRagtop Posts: 406
    edited 2012-01-22 09:28
    Checking out the new GPS module to make sure it is functional.
  • RagtopRagtop Posts: 406
    edited 2012-01-23 06:12
    Woke up this morning thinking about possible dead spots on the playing field where the package is out of range of the base station. Thought about having the base station send out
    a "carrier" signal -a letter repeating- so that when the package doesn't receive this character it lights a red led to signal that the package needs to be moved to a better spot.

    But then I wondered if that would lock out the channel so that the package would be unable to send it's information back out.

    Do xbees send and receive on the same channel? And if so is it possible to send on one channel and receive on another?
  • RagtopRagtop Posts: 406
    edited 2012-01-27 04:14
    Luckily the map the field hands out does not match up with my GPSing of the field represented by the white lines and tan buildings.

    Lucky because I was planning on slicing the map into separate jpg's for each square. With three possible images for each one: blank, north owned case, and south owned case. These files will already
    be on the web server, the propeller just has to write the html.

    So the last picture I used my own grid. I am thinking the roving gps unit will do the calculations on which square it is in and send a grid reference over xbee instead of the lat and long. A letter for row and a number for column.

    Untitled-1.gif
    nofit.jpg
    field map.jpg
    411 x 605 - 109K
    1024 x 736 - 154K
    891 x 897 - 273K
  • RagtopRagtop Posts: 406
    edited 2012-01-27 07:24
    The map for the webpage. The cellphone page will be text only. It will just give the map coordinates.

    game map temp.jpg
    891 x 1017 - 678K
  • RagtopRagtop Posts: 406
    edited 2012-01-28 10:47
    Did a field test of the xbee units today. The actual through woods range of the XBEE PRO is only .1 miles.

    I needed a 1/3 mile range to cover the field, so now I have a choice. Move up to the next powerful xbee
    or set up a network of xbees bouncing the information back to a base station.
  • bsnutbsnut Posts: 521
    edited 2012-02-01 02:07
    You have cool project Ragtop
    Ragtop wrote: »
    Did a field test of the xbee units today. The actual through woods range of the XBEE PRO is only .1 miles.

    I needed a 1/3 mile range to cover the field, so now I have a choice. Move up to the next powerful xbee
    or set up a network of xbees bouncing the information back to a base station.
    I would do both. That is move up to the next powerful xbee and lay out the network similar to your grid system that you have shown in the game lay out photo, since xbee's work better in Line of Sight (LOS) of each other. This way you wouldn't have any problems getting the data back to the base station.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-02-01 08:48
    Ragtop,

    You probably already know about the 900MHz XBees? They're supposed to have a range of 14 miles but a block's worth of houses will block their signal. (I have a pair of these.)

    If you choose to use a network of XBee's the ZigBee (Series 2) version can take care of message hopping with multiple routers for you.

    Another option that might cost less is to use nRF24L01+ Nordic modules. You can buy them on eBay for less than $3 each. Sparkfun also sells a couple different versions of these.

    I had a project where I used a bunch (I think six) of these Nordic modules and had a message pass from module to module. I wrote a driver that lets you use these modules with a Propeller.

    If go the XBee route, you might want to get the book "Building Wireless Sensor Networks". It explains how to use the ZigBee XBees.
  • RagtopRagtop Posts: 406
    edited 2012-02-01 10:10
    Thanks for the suggestions. I am really interested in a $3 RF device! But I am afraid this project is going on the
    back burner until I can get up some more cash (got lucky with the XBEEs as I used the $100 credit I won on Sparkfun).

    This video updates the status of my various projects.

    [video=youtube_share;F8_8_wyueKI]
  • RagtopRagtop Posts: 406
    edited 2012-02-12 13:42
    BUTTONS.

    [video=youtube_share;RCqQITcBg9U]
Sign In or Register to comment.