Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 54

Thread: Custom Arduino keyless entry + auto window/trunk integration...

  1. #31

  2. #32
    Forum User verified

    Join Date
    Sep 2010
    Owner Since
    1

    Posts
    1,292
    Thanks
    77
    Thanked 89 Times in 55 Posts
    Well, I was not on target haha. I'm still running into interference between the bluetooth and keyfob bands. The keyfob module just won't work near the bluetooth module. Works perfect if I move bluetooth 4-5ft away. I really need to talk to a rf engineer on this one. I've tried to do some reading and man...it's complex stuff. Hard to find simple answers.

    Anyone have any experience in this field?

  3. #33
    JNS Engineering verified
    Join Date
    Sep 2010
    Owner Since
    1994

    Location
    San Jose, CA
    Posts
    2,112
    Thanks
    61
    Thanked 155 Times in 110 Posts
    Can you provide a block diagram of your system? I've been engineering RF products and systems for 25 years.

  4. #34
    Forum User verified

    Join Date
    Sep 2010
    Owner Since
    1

    Posts
    1,292
    Thanks
    77
    Thanked 89 Times in 55 Posts
    Outline of what I have going on.



    Some links

    rn-41 bluetooth->serial module
    http://www.rovingnetworks.com/documents/RN-41.pdf

    433mhz keyfob module (Their site is down but their ebay store has some info)
    Rolling Code RF Superheterodyne RX Module&Remote/Keyfob | eBay

    I've tried isolating them by powering one off battery. It really came down to the distance away so I don't think it's a decoupling issue.

  5. #35
    JNS Engineering verified
    Join Date
    Sep 2010
    Owner Since
    1994

    Location
    San Jose, CA
    Posts
    2,112
    Thanks
    61
    Thanked 155 Times in 110 Posts
    The keyfob is using on/off keying. The 433 MHz receiver module is probably using a simple filter and an envelope detector to convert the RF pulses back to digital signals. This kind of receiver is not very immune to interference.

    The bluetooth module is operating in the 2.4 GHz ISM unlicensed band and uses frequency shift keying. There may be unwanted emissions coming from the bluetooth module in lower frequency bands depending on how the final RF frequency is generated.

    An invaluable tool for determining what is happening is an RF spectrum analyzer. If you could borrow one you could attach an open ended coax cable and use it as a "sniffer." You would be able to place the bluetooth module near the spectrum analyzer and see what RF frequencies and levels are being generated. IF you found energy near 400 MHz then you could take steps to filter it out on board prior to the bluetooth antenna element.

    If you are unable to make changes to the bluetooth module you could try alternative vendors to find one that is compatible with the keyfob device. Unfortunately I don't think you will find keyfob devices with better interference immunity as they are not expected to coexist with other transceivers.

    Hope this helps
    Jim

  6. #36
    Forum User verified

    Join Date
    Sep 2010
    Owner Since
    1

    Posts
    1,292
    Thanks
    77
    Thanked 89 Times in 55 Posts
    Quote Originally Posted by Jimvr4 View Post
    The keyfob is using on/off keying. The 433 MHz receiver module is probably using a simple filter and an envelope detector to convert the RF pulses back to digital signals. This kind of receiver is not very immune to interference.

    The bluetooth module is operating in the 2.4 GHz ISM unlicensed band and uses frequency shift keying. There may be unwanted emissions coming from the bluetooth module in lower frequency bands depending on how the final RF frequency is generated.

    An invaluable tool for determining what is happening is an RF spectrum analyzer. If you could borrow one you could attach an open ended coax cable and use it as a "sniffer." You would be able to place the bluetooth module near the spectrum analyzer and see what RF frequencies and levels are being generated. IF you found energy near 400 MHz then you could take steps to filter it out on board prior to the bluetooth antenna element.

    If you are unable to make changes to the bluetooth module you could try alternative vendors to find one that is compatible with the keyfob device. Unfortunately I don't think you will find keyfob devices with better interference immunity as they are not expected to coexist with other transceivers.

    Hope this helps
    Jim
    Well I did some light reading on different modulation types for some background and started searching around. I was actually able to find a keyfob and receiver module that allowed me to use both it and bluetooth to over 130ft! I'll have to do a few modifications for my application but it looks like it will actually work out. I'm pretty excited. Can't wait to fire up the cnc and mill out the board

  7. #37
    JNS Engineering verified
    Join Date
    Sep 2010
    Owner Since
    1994

    Location
    San Jose, CA
    Posts
    2,112
    Thanks
    61
    Thanked 155 Times in 110 Posts
    Quote Originally Posted by Toni View Post
    Well I did some light reading on different modulation types for some background and started searching around. I was actually able to find a keyfob and receiver module that allowed me to use both it and bluetooth to over 130ft! I'll have to do a few modifications for my application but it looks like it will actually work out. I'm pretty excited. Can't wait to fire up the cnc and mill out the board
    Good news What type of modulation did you end up going with on the keyfob?

  8. #38
    Forum User verified

    Join Date
    Sep 2010
    Owner Since
    1

    Posts
    1,292
    Thanks
    77
    Thanked 89 Times in 55 Posts
    Quote Originally Posted by Jimvr4 View Post
    Good news What type of modulation did you end up going with on the keyfob?
    It's using FSK modulation.

  9. #39
    Padawan garage troll Not Verified
    Join Date
    Sep 2010
    Owner Since
    2004

    Location
    Newark, DE
    Posts
    635
    Blog Entries
    5
    Thanks
    68
    Thanked 23 Times in 21 Posts
    subscribed
    91 AWD TT
    K&N FIPK, Precats gutted, Test Pipe, Blitz DSBC, Walbro 255, Vacuum reduction, SM3, MMCd, Krank Vents, 3SX Aluminum Crank Pulley, Aluminum 2PC DS, MAFT Pro (AFC mode atm).

    To do list: Need to check electronic timing, install FP hotwire, install PS poly MM, RUACAs, Setrab oil cooler, Dejon Y-pipe, 3.5 GM Mas, FIC 650ccs & 13Ts.

  10. #40
    Forum User verified

    Join Date
    Sep 2010
    Owner Since
    1

    Posts
    1,292
    Thanks
    77
    Thanked 89 Times in 55 Posts
    So I've gotten deeper into all of this rf stuff...

    The new fob and receiver I was using left me with a few limitations. I was stuck monitoring multiple input lines to detect what button was pushed on the receiver. I also had to debounce them and try to figure out if buttons were double clicked etc. This is not ideal as I could miss events. There were too many delays etc.

    I wanted to modify the firmware on the fob and receiver but unfortunately this was not easy. First the transmitter was an RF transceiver and MCU combo that was not modifiable. I'd have to replace it and buy new burning hardware from the company.

    This basically led me to a direction I should have gone in the first place. Roll my own rf fob and receiver hardware. The new fob/receiver module was from Silicon Labs and used their new EZRadio chips. I liked the features and found a tuned breakout board with one of their rf transceivers.

    So now I'm using the si4432 on a hope electronics 434mhz tuned breakout RFM22. I am amazed at how powerful this chip is as far as function goes. I'll be able to use the fobs from the kit I bought so I'll just come up with my own board. This chip allows me to set the modulation I want to use and add any encodings etc.

    Now I'm working on the uC firmware to control it. My plan is to use an Atmel attiny24 on the fob side and the atmega328 I have on the receiver/controller will handle receiving.

    I have two circuits talking to each other so now I'm just going to work out the details.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The 3000GT/Stealth/GTO Web History Project
3000gt.com
3000GT / Stealth International WWWboard Archive
Jim's (RED3KGT) Reststop
3000GT/Stealth/GTO Information and Resources
Team 3S
3000GT / Stealth / GTO Information
daveblack.net
3000GT/Stealth/GTO Clubs and Groups
Michigan 3S
MInnesota 3S
Wisconsin 3S
Iowa, Nebraska, Kansas 3S
North California 3000GT/Stealth
United Society of 3S Owners
3000GT/Stealth/GTO Forums
3000GT/Stealth International
3000GT/Stealth/GTO Event Pages
3S National Gathering
East Coast Gathering
Upper Mid-West Gathering
Blue Ridge Gathering