Author Topic: android phone and lasertag system  (Read 18459 times)

Tinuz

  • Developer
  • Full Member
  • ***
  • Posts: 60
    • View Profile
    • Email
android phone and lasertag system
« on: April 10, 2011, 01:56:56 AM »
Hi,

As im an android developer nowadays i was wondering if i could merge it into a lasertag system. As a smartphone has alot of features that we want for a lasertag system e.g gps tracking, coms etc
it then would be kinda cool to use an android phone as the "heart" of an lt system. What are your thoughts about that?
It is possible to connect a usb device to the pic18f2525 which is used on milestag boards.
And it is possible to interact with external devices, check this out:
http://code.google.com/p/microbridge/

You could even use bluetooth if usb wont work.
http://projectproto.blogspot.com/2010/09/android-bluetooth-oscilloscope.html

regards,
Tinuz

Tinuz

  • Developer
  • Full Member
  • ***
  • Posts: 60
    • View Profile
    • Email
« Last Edit: April 11, 2011, 04:27:10 AM by Tinuz »

Tinuz

  • Developer
  • Full Member
  • ***
  • Posts: 60
    • View Profile
    • Email
Re: android phone and lasertag system
« Reply #2 on: April 27, 2011, 04:41:37 AM »
I started an open source project on google code:
http://droidtag.googlecode.com/

the thing a i see it now is that the android phone in combination with the ioio board is a supplement to existing milestag systems.
Perhaps i can build a small convertor pcb which will fit the ioio board in the dip socket of the pic.

If you have experience in android programming and want to join just leave me a message and i'll add you as a developer.

Tinuz

  • Developer
  • Full Member
  • ***
  • Posts: 60
    • View Profile
    • Email
Re: android phone and lasertag system
« Reply #3 on: January 04, 2012, 03:41:10 AM »
Hi All,

I added some code yesterday and some feature listing on the wiki page for droidtag (http://code.google.com/p/droidtag/).
Please feel free to think about some nice features.

Kind regards,
Tinuz

Captain Tuna

  • Developer
  • Full Member
  • ***
  • Posts: 47
    • View Profile
    • Email
Re: android phone and lasertag system
« Reply #4 on: January 05, 2012, 05:18:28 PM »
Wish I knew more about android and stuff. Having the android as the heart of the system sound very cool, especially because its internet connectivity could be exploited to keep a scoreboard or something, server based. Nice!

Wish I could help but...no idea how :D

Delrick

  • Developer
  • Newbie
  • ***
  • Posts: 9
    • View Profile
Re: android phone and lasertag system
« Reply #5 on: January 11, 2012, 07:50:22 AM »
Hi Tinuz

read thro' some of you notes etc., very interesting, can an Android phone be a USB Host or is it always USB Client? The reason I ask is that there is software to do USB Client or HID in the PIC 18F series libraries using PIC18F2455 etc. but to do USB HOST I think you need a 24 or 32 series PIC or an additional USB dedicated interface chip.

If the Android is capable of being USB HOST then Brian Schmalz's site on the UBW (Universal Bit Wacker)  has quite a bit of very useful information on it. - http://www.schmalzhaus.com/UBW/index.html.  Using Brian's UBW (or indeed MPLABS Libraries which he developed it from) it would be possible to add the Tag software into the PIC 18F2455 and then talk to the Android via USB.

I would be very interested in helping you with this project if I can be of any use, I have done some 'C','C++', a bit of Java and dabbled in various other high level languages but my main interest has always been assembler PIC,Z80,8080,8086 and lately the little known Swatch EM6819 processor which can run standalone down to 0.8volts!

Just off subject slightly and another reason for my interest:-   I do voluntary IT support for RNIB and there doesn't seem to be a phone that is very useful to a totally blind person, I know there are some useful Android Apps for voice operation and would like to investigate with a view to doing some open source software for them, is there an Android phone or device that has a 'mechanical' keyboard? The touch screen is wonderful but not if you're totally blind!

'May the force be with you'

DC

Tinuz

  • Developer
  • Full Member
  • ***
  • Posts: 60
    • View Profile
    • Email
Re: android phone and lasertag system
« Reply #6 on: January 16, 2012, 02:59:46 PM »
Hi Delrick,

There's a board called the ioio (http://www.sparkfun.com/products/10748) .This board in combination with an android phone gives us all is needed.
It can be used hardwired but also with bluetooth.
The ioio board uses embedded software which you can invoke from an app on the phone itself.
The embedded part is C or C++. Also i dont go really fast with the project its a little hobby ,a combination of 2 things i like: lasergame and programming :)

In answer to your question about a mechanical keyboard: i think there a two . the t-mobile g1 or also known as HTC Dream and motorola droid i think.

Kind regards,
Tinuz

Delrick

  • Developer
  • Newbie
  • ***
  • Posts: 9
    • View Profile
Re: android phone and lasertag system
« Reply #7 on: January 17, 2012, 11:17:32 AM »

Thanks for the info ref the mechanical keyboard phones, I'll take a look, the phone I've got is the Xperia - no mechanical keyboard :( .

I noticed that the IOIO board has the PIC24FJ128DA206, according to the spec it has 128k of Flash and 98K of RAM, there's probably enough room in there with the IOIO and USB code to add Tagger software. There are plenty of port bits to control all the Tagger LEDs etc. Also on the site it states "the entire software and hardware are going to be 100% open-source with a permissive license". So it might be possible to add the Tagger stuff either in assembler or 'C' with MPLABs IDE, although I suppose being an Android fan you might prefer to keep the Tagger bit in the phone, might cause a speed problem with things like the IR decode though, but you could always have a bit of both between the phone and the PIC board.

Anyway - something to think about!

DC
 

Delrick

  • Developer
  • Newbie
  • ***
  • Posts: 9
    • View Profile
Re: android phone and lasertag system
« Reply #8 on: January 18, 2012, 07:53:46 AM »

PS. take a look at the Pinguino http://blog.makezine.com/2011/10/04/meet-the-pinguino/

Arduino compatible, full USB host capability, PIC32MX440F256H 80 Mhz microcontroller 256KB Flash 32KB RAM and best of all £15 on Ebay - just ordering one now!

gorilla

  • Developer
  • Full Member
  • ***
  • Posts: 30
    • View Profile
    • Email
Re: android phone and lasertag system
« Reply #9 on: January 18, 2012, 05:43:38 PM »

PS. take a look at the Pinguino http://blog.makezine.com/2011/10/04/meet-the-pinguino/

Arduino compatible, full USB host capability, PIC32MX440F256H 80 Mhz microcontroller 256KB Flash 32KB RAM and best of all £15 on Ebay - just ordering one now!

Doh.. Note: makezine.com is currently blacked out in protest against SOPA/PIPA. Try again later if the site isn't available

Delrick

  • Developer
  • Newbie
  • ***
  • Posts: 9
    • View Profile
Re: android phone and lasertag system
« Reply #10 on: January 19, 2012, 07:17:33 AM »

Gorilla

Google Pinguino if you need info.

gorilla

  • Developer
  • Full Member
  • ***
  • Posts: 30
    • View Profile
    • Email
Re: android phone and lasertag system
« Reply #11 on: January 19, 2012, 01:25:57 PM »

Gorilla

Google Pinguino if you need info.


I know... Just saying that the site wasn't available at the time.

Tinuz

  • Developer
  • Full Member
  • ***
  • Posts: 60
    • View Profile
    • Email
Re: android phone and lasertag system
« Reply #12 on: January 23, 2012, 08:22:36 AM »
I was thinking of keeping ir things/interrupts and other low level things in the pic and the rest in android.

partytagger

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: android phone and lasertag system
« Reply #13 on: February 15, 2012, 08:05:00 PM »
Tinuz, as an Android developer have you thought about producing a scoring system and a cloning system, on a phone or tablet, using an IR interface API like Coversal http://www.coversal.com/ ?

Tinuz

  • Developer
  • Full Member
  • ***
  • Posts: 60
    • View Profile
    • Email
Re: android phone and lasertag system
« Reply #14 on: March 14, 2012, 06:04:02 AM »
Yeah thats would be nice features.I will put them as request on code.google.com/p/droidtag/. Probably you dont need IR as you have bluetooth. But probably youo want IR for regular milestag taggers?