Shop OBEX P1 Docs P2 Docs Learn Events
Sure you can ride my Waverunner... Do you have an RFID tag? — Parallax Forums

Sure you can ride my Waverunner... Do you have an RFID tag?

Gary D.Gary D. Posts: 37
edited 2007-04-28 05:00 in Robotics
I finally Get to post one of many projects of mine....

·· This project was inspired·idea.gif to me by the many thieves out there that just like to take what isn't theirs. Especially when we are dealing with a $10,000 watercraft.

··· If you have never been on a waverunner before let me be the first to tell you that you are missing out!
and for those of you that have "good job for getting off of your couch."

··· Now, all personal watercrafts·have a safety strap, which is tethered to your wrist,·that allows you to·"kill" the engine if you should ever fall off the thing.·once the safety strap is in place (right above the left handle) you then are allowed to push the start button and successfully start the engine.

Here is the problem.... ANY Strap·can be used·to start any personal watercraft. unless you were to completely remove the battery anybody that·wants your watercraft·can verywell just put in a paperclip where the safety strap goes and there goes your·summer fun.

Solution:·· RFID !!! yeah.gif

From what you just read.... Safety strap + Pusbutton = Start

Now: Safety strap + Correct RFID tag + Pushbutton = Start


·· By·Fastening the RFID reader just below the Hull of the watercraft where the driver sits, they can simply Plug in the safety strap (with RFID tag attached to the safety strap), wave the tag in the correct location, and then successfully start the watercraft.

Now if you have a safety strap without the correct RFID Tag, then you aren't going anywhere !! nono.gif

Technical Specifications:

··· By using an automotive relay rated at 12Vdc and coil resistance of 90 ohms i was able to drive it with a standard 2N2222A NPN trasistor. since i bought a relay with internal diodes it wasn't an issue.·But be sure to place a 1N4001 or similar across the relay coil, cathode to positive, to prevent backward EMF.

the code and schematics·should provide enough info... but if you have any questions feel free to ask.

P.s. I could have used a BS1 but simply chose not to... i· like my BS2's !! tongue.gif



SOURCE CODE FOR Waverunner.BS2


' {$STAMP BS2}
' {$PBASIC 2.5}

Enable          PIN 1
RX              PIN 0
trigger         PIN 5
ledg            PIN 3
ledr            PIN 2
relay           PIN 8

T2400           CON     396
LastTag         CON     2

buf             VAR     Byte(10)                ' RFID bytes buffer
tagNum          VAR     Nib                     ' from EEPROM table
idx             VAR     Byte                    ' tag byte index\
char            VAR     Byte                    ' character buffer
x               VAR     Word

'-----[noparse][[/noparse] Users ]-----------------------------------------------------------

Tag1 DATA "0415146DCB"   '0415146DCB          valid tag codes
Tag2 DATA "0415146D53"   '0415146D53

'-----[noparse][[/noparse] Initialization ]--------------------------------------------------

Reset:
LOW  ledg
HIGH ledr

                                    ' turn off RFID reader

' -----[noparse][[/noparse] Program Code ]----------------------------------------------------

Main:
IF trigger = 1 THEN enable          ' Placing a safety strap trggers this loop
GOTO main

enable:
HIGH relay                                         ' disable waverunner start button
LOW enable                                         ' activate the reader
SERIN RX, T2400, [noparse][[/noparse]WAIT($0A), STR buf\10]           ' wait for hdr + ID
HIGH enable
IF trigger = 0 THEN reset

Check_List:
FOR tagNum = 1 TO LastTag
FOR idx = 0 TO 9
READ (tagNum - 1 * 10 + idx), char
IF (char <> buf(idx)) THEN Bad_Char
NEXT
GOTO Tag_found
Bad_Char:
NEXT

Bad_tag:
LOW ledg
FOR x = 1 TO 10
PULSOUT ledr,5000             ' If a bad tag is presented Then A bi-colored led flashes red
NEXT
PAUSE 400
GOTO reset

Tag_Found:
LOW relay               ' Enables current flow from start button through relay to engine
HIGH ledg               ' De-energizes the relay and illuminates green on the bi-colored LED
LOW ledr
HIGH enable
GOTO Status

status:
IF trigger = 1 THEN status         ' if safety strap is removed then trigger = 0           GOTO reset                           













▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are 10 kinds of people....

Those who know binary and those who Don't.

Post Edited (Gary D.) : 8/22/2005 8:40:45 PM GMT

Comments

  • BeanBean Posts: 8,129
    edited 2005-08-20 02:20
    Nice project Gary.
    How about an alarm if someone TRIED to start it without the RFID tag ?
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video·Module" Now available from Parallax for only $28.95

    http://www.parallax.com/detail.asp?product_id=30012

    Product web site: www.sxvm.com

    "One experiment is worth a thousand theories"
    ·
  • KenMKenM Posts: 657
    edited 2005-08-20 02:29
    Nice application.....I am suprised the manufacturer has not done so.

    Many higher end vehicles employ a similar technology.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ken
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2005-08-20 02:42
    Gary,

    Great project!! You might consider presenting this idea to the manufacturer.

    Now, the question is, will you be waiting in ambush for someone to take your Waverunner? smilewinkgrin.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • Gary D.Gary D. Posts: 37
    edited 2005-08-20 06:08

    Beau Schwabe (Parallax) said...

    Gary,

    Great project!! You might consider presenting this idea to the manufacturer.

    Now, the question is, will you be waiting in ambush for someone to take your Waverunner? smilewinkgrin.gif

    tongue.gif· haha, i guess i will have to look over my shoulder when i start the thing....

    Bean (Hitt Consulting) said...

    How about an alarm if someone TRIED to start it without the RFID tag

    Yeah.... I included one wire on the module (brown) for any extras that i would think of after the fact.·This would be the best idea...

    I·would like·to get a multitone siren so that i could enable different sounds.... (e.g. Disarmed, armed, and alarm)

    i am scared of false triggers though... Imagine cruzin down the lake at 40+ mph and all of a sudden "Honk!Honk!Honk!Honk!Honk!Honk!"

    im sure it would be stable.

    Thanks Guys for your Feedback.... hop.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    There are 10 kinds of people....

    Those who know binary and those who Don't.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-08-20 16:18
    Gary D. said...(trimmed)

    I·would like·to get a multitone siren so that i could enable different sounds.... (e.g. Disarmed, armed, and alarm)
    i am scared of false triggers though... Imagine cruzin down the lake at 40+ mph and all of a sudden "Honk!Honk!Honk!Honk!Honk!Honk!"
    im sure it would be stable.
    Gary,

    ·· When I used to design and build alarm systems that was a frequent situation (False Alarms).· I always made sure I had a quick/easy way to disable the siren/bell during testing.· But it does happen...Until the bugs are worked out.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Brian RileyBrian Riley Posts: 626
    edited 2005-08-20 22:00
    Gary, just a small point. The schematic included doesn't seem to match the PIN encodings in the source code (for example, Trigger is shown on PIN 5 in the schematic and as PIN 10 in the code). You might want to check that out and clean it up.

    Otherwise its a great idea.

    cheers ... brian riley, n1bq, underhill center, vermont

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    cheers ... brian riley, n1bq, underhiull center, vermont
  • Gary D.Gary D. Posts: 37
    edited 2005-08-21 02:29
    Yeah i mistook pin 10 for I/O 10... since its easier to change the code than the schematic.... the code was corrected.... Good catch....

    ·But have no fear... the project is working great and I can sleep at night with my toy undisturbed on the water......yeah.gif
  • HulkHulk Posts: 68
    edited 2005-08-26 21:17
    Great usage for RFID!

    I'm going to do something similar in a car application and I'm interested in your design.

    Does your circuit draw current when the lanyard is not installed?· It looks like the 12 volt source has to power the regulator all the time, unless I'm mistaken (which is not unlikely).

    Do you have the reader mounted under the seat of the PWC?· How far can the tag be separated from the reader?· In my application, I'd like to sense the credit card type tag carried in my wallet.· When I sit in the seat and hit a system enable button the RFID will be polled to find out if it's my but in the seat.· I'm wondering how much range to expect in this situation.

    I think your relay labels are shifted (30 swapped with 87).

    BTW, I also have a PWC.· It's older and slower than yours, but all in all one of the best toys I've ever owned!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    8184265-56bd-00410041-.jpg

    Basic stamp Newbie
  • Gary D.Gary D. Posts: 37
    edited 2005-08-26 21:41
    Hello Hulk,

    ···· We normally use the waverunner seasonally, so therefore we unplug the main battery when not in use. However when it is operational, the module draws only·30mA when idle and· ~ 200mA when safety·strap is·present

    when the correct RFID tag is presented both the relay and RFID reader are de-engerized meaning while the PWC is in use the stamp only draws 30mA...

    so as far as your car application goes... i would put·pressure switch on the seat so that when someone sits there, only then will it enable the RFID reader, so it too only draws minimal current.

    I·Placed·the reader in the engine compartment, ·opposite the fuel cap·,·epoxied to the upper hull·so that when the tag is placed·inside the cupholder of the PWC it will read the tag·regardless of·which way you position the tag.

    The relay is a generalization of how the contacts are connected (common to startbutton, Normally closed to engine start, Normally open not connected)... i used a 12vdc relay with ·90 ohm coil...

    Good luck on your Project....

    Gary D.





    ·
  • csmith1120csmith1120 Posts: 1
    edited 2006-05-22 21:33
    i have a 2000 waverunner that temp alarm goes off each time i try to start it,how can i fix this,.temp sensor came unplugged while iwas replacing starter relay,is there a way to reset it,.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-05-23 05:10
    Your message appears to be off topic if you are seeking repair help for a waverunner.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Jet_ajJet_aj Posts: 17
    edited 2007-04-28 03:09
    OK, first off great project! I found this while searching around and am very interested in using it for my sandrail. I hate not having a 'key' to protect my investment and this is a unique way to achieve security. Best part, its totally concealable to keep would-be thieves or unwanted drivers guessing (ha ha, fooled you tongue.gif). While I was building the circuitry and trying the code i ran into a problem that i wanted to share:

    in the code:

    Main:
    IF trigger = 1 THEN enable
    GOTO main
    enable:

    I HAD TO CHANGE IT TO THE FOLLOWING FOR IT TO WORK

    Main:
    IF trigger = 1 THEN enable_relay
    GOTO main
    enable_relay:

    It was giving me a syntax error and claiming it needed a '=' after enable until I changed it. I'm a noob so I was little frustrated when I first was trying to use the code, but after a lil bit of reading and understanding the code it was worth the frustration. Now I wont forget!

    Just thought I would add my 2 cents in case anyone else had similar problems.

    Works great now! Can't wait to get it wired onto the sandrail!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    HOLY *@Microsoft%@! (sorry for the cuss, I've been trying to clean up my language)
    Live, Love, Learn!
    My web: www.geocities.com/jet_aj
    My Car Audio site: www.jdubaudio.com
  • Capt. QuirkCapt. Quirk Posts: 872
    edited 2007-04-28 04:54
    Great project!! You might consider presenting this idea to the manufacturer.
    Kawasaki and Sea-Doo have had similar devices since 1995'. Yamaha opted for a key-code to disable the starter system.

    ·
  • Capt. QuirkCapt. Quirk Posts: 872
    edited 2007-04-28 05:00
    i have a 2000 waverunner that temp alarm goes off each time i try to start it,how can i fix this,.temp sensor came unplugged while iwas replacing starter relay,is there a way to reset it,.
    Its A simple fix, Disconecting either the blue or black conector under the front hood resets the Yamaha·key system I was talking about. Your local dealer should be able to fix it in the parking lot w/o making a repair order, it's so easy.
Sign In or Register to comment.