Using car key fob as generic remote control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dannyx
    CertifiedAxhole
    • Aug 2016
    • 3912
    • Romania

    #1

    Using car key fob as generic remote control

    Good day folks. It's been a while since I've DIY-d anything, so the other day I was thinking if it's possible to use the key fob of my car as a remote for other automation stuff. I have quite a few generic 433Mhz remotes and modules I picked up on Ali for various projects, but instead of having another remote dangling off the key chain, I thought I could use the car's own fob for more than unlocking my car when I'm near it. Say I come home and wish to switch on a light at my front door.

    I already tried putting one of my generic receivers in pairing mode and hitting one of the 2 buttons on the car fob and of course it didn't work, despite being the same frequency (433Mhz). As I later learned, there's the matter of fixed vs. rolling codes, so that's not going to work out of the box, at least not with these modules you find all over the web. I know for a fact my fob uses a PCF7946, but there's little info on it and how it operates. The only thing I require is some device to pick up the signal from the fob and turn on a pair of relays: one for the "unlock" button, one for the "lock" button. Sounds simple. I found some devices which claim to be able to receive "rolling codes" for garage door openers, but I'm not sure those would work either and my skills in RF stuff are a bit lacking. Any suggestions ? Thanks.
    Wattevah...
  • eccerr0r
    Solder Sloth
    • Nov 2012
    • 8678
    • USA

    #2
    Re: Using car key fob as generic remote control

    probably not much in the RF you need to do, basically you'll be pulling off the shelf items. The single code non-rolling simple fobs are probably easy to decode and use the buttons, just listen for the same code sequence again and again...hence it's vulnerable to replay attacks. Need rolling code to thwart the replay attacks.

    Comment

    • Dannyx
      CertifiedAxhole
      • Aug 2016
      • 3912
      • Romania

      #3
      Re: Using car key fob as generic remote control

      Forgot to link to some of the stuff I mentioned that claims to read rolling codes, so here it is...
      Wattevah...

      Comment

      • eccerr0r
        Solder Sloth
        • Nov 2012
        • 8678
        • USA

        #4
        Re: Using car key fob as generic remote control

        If you get a receiver that knows about your transmitter from the get go, then things are easy once again... I'm sure there are probably multiple distinct examples out there and they're pretty much clones of these so perhaps things would be easier to deal with in this case, but if you have a one off transmitter, it would be quite a challenge to use these.

        Comment

        • Dannyx
          CertifiedAxhole
          • Aug 2016
          • 3912
          • Romania

          #5
          Re: Using car key fob as generic remote control

          After doing some more reading, I learned (or rather inferred) some more about this particular PCF chip, despite the info being very scarce. It's quite complex. Inside the key fob, the chip isn't actually transmitting anything itself (i.e. it doesn't drive the antenna directly): instead, it "hands off" whatever data needs transmitting to a dedicated transmitter chip, which is what actually does the transmitting.

          The PCF chip also handles the immobilizer part, which prevents the car from starting if the key is turned in the barrel, but the fob is not actually IN the barrel. I actually confirmed this myself a while back when I replaced the shell of my fob and tried giving it a turn without the board in the shell: the engine started for a second, but it immediately turned off. I don't care about that part at all and I probably don't care about the encrypted part of the 433Mhz message either - all I want is to pick up the "payload" (?) and work out what button was pushed.

          I found something HERE, but again, I'm not sure if it'd work with my particular fob. I need to get myself a receiver and actually try it. I imagine it should pick up SOMETHING at least (it IS 433Mhz after all), even if the info would be encrypted/incomplete. It's not an issue, because as the guy said in the end of his article, we don't care about that data anyway because we don't want to interact with the car itself...
          Wattevah...

          Comment

          • stj
            Great Sage 齊天大聖
            • Dec 2009
            • 30948
            • Albion

            #6
            Re: Using car key fob as generic remote control

            your wrong,
            the "remote" and immobiliser are seperate.
            the immobiliser is an RFID chip encased in epoxy that can be removed from the key and does not require a battery.

            i experimented with them a while back to see if i could jam them from a reasonable distance

            Comment

            • Dannyx
              CertifiedAxhole
              • Aug 2016
              • 3912
              • Romania

              #7
              Re: Using car key fob as generic remote control

              Ok, good to know - that's why I said "inferred" . What threw me off is the antenna coil in the datasheet for the PCF chip, connected to the "IN" pins on the left - apparently those receive something back from the car ? I thought those represented the NFC antenna for the immobilizer...or something.

              Is the immobilizer the little coil here ? That's the board the fob for my Renault uses, by the way.
              Attached Files
              Wattevah...

              Comment

              • stj
                Great Sage 齊天大聖
                • Dec 2009
                • 30948
                • Albion

                #8
                Re: Using car key fob as generic remote control

                the immobilizer looks like a little black wedge - it's not on the pcb

                Comment

                • Dannyx
                  CertifiedAxhole
                  • Aug 2016
                  • 3912
                  • Romania

                  #9
                  Re: Using car key fob as generic remote control

                  Then I think it's THIS. I ran across them when I searching for stuff for this project, but couldn't tell what it is and where it's located. I guess it's in the car then, since it's not in the fob...
                  Wattevah...

                  Comment

                  • petehall347
                    Badcaps Legend
                    • Jan 2015
                    • 4424
                    • United Kingdom

                    #10
                    Re: Using car key fob as generic remote control

                    Originally posted by Dannyx
                    Then I think it's THIS. I ran across them when I searching for stuff for this project, but couldn't tell what it is and where it's located. I guess it's in the car then, since it's not in the fob...
                    one goes in the key .

                    Comment

                    • stj
                      Great Sage 齊天大聖
                      • Dec 2009
                      • 30948
                      • Albion

                      #11
                      Re: Using car key fob as generic remote control

                      it's in the fob, it interacts with a coil around the ignition barrel.

                      Comment

                      • Dannyx
                        CertifiedAxhole
                        • Aug 2016
                        • 3912
                        • Romania

                        #12
                        Re: Using car key fob as generic remote control

                        There isn't anything else on the PCB, as you can see in the pic I showed (the other side only has the battery), hence why I think the PCF chip in the fob handles the immobilizer too...

                        That's not important anyway. I just ordered some 433Mhz receiver boards and will try this project. Obviously the fob will be different, but it should give me something I can work with...
                        Wattevah...

                        Comment

                        • Dannyx
                          CertifiedAxhole
                          • Aug 2016
                          • 3912
                          • Romania

                          #13
                          Re: Using car key fob as generic remote control

                          Ok, I just had a go with these RXB6 modules and I get absolutely nothing out of them. The program the chap shows in his article uploaded fine, but I get no data in the serial monitor at all. I tried both my car fob which I'm most interested in and also a generic 433Mhz remote. I was expecting to see at least some garbage in the serial monitor. It could be any number of things: either the remotes don't match this module at all, or the code doesn't pick them up. It's worth noting my board is a Mega, unlike the Uno used in the article, so perhaps something else doesn't match.

                          I'll try some other resources to see if I get this module to pick up ANYTHING for a proof of concept test...
                          Wattevah...

                          Comment

                          • NiHaoMike
                            New Member
                            • Jun 2022
                            • 3
                            • USA

                            #14
                            Re: Using car key fob as generic remote control

                            Rather than trying to defeat the security of the key, what about install a transmitter in the car connected to the door locks? Lock your car when it's near your house and it turns on the lights if it's dark.
                            We believe in the right to repair.

                            Comment

                            • stj
                              Great Sage 齊天大聖
                              • Dec 2009
                              • 30948
                              • Albion

                              #15
                              Re: Using car key fob as generic remote control

                              Originally posted by NiHaoMike
                              Rather than trying to defeat the security of the key, what about install a transmitter in the car connected to the door locks? Lock your car when it's near your house and it turns on the lights if it's dark.
                              if you read the first post,
                              it's not about the car, he wants to re-use the keyfob for other things.

                              Comment

                              • Dannyx
                                CertifiedAxhole
                                • Aug 2016
                                • 3912
                                • Romania

                                #16
                                Re: Using car key fob as generic remote control

                                Originally posted by stj
                                if you read the first post,
                                it's not about the car, he wants to re-use the keyfob for other things.
                                Correct.
                                Wattevah...

                                Comment

                                • redwire
                                  Badcaps Legend
                                  • Dec 2010
                                  • 3900
                                  • Canada

                                  #17
                                  Re: Using car key fob as generic remote control

                                  Check the RXB6 pinout, it has an enable pin 6 which floats high to enable data, not power save.
                                  Some of those 433MHz RX modules have extremely weak data output 10uA (!) so a low value pullup or LED there will prevent any signal from being seen.
                                  The SYN470R/SYN480R IC is totally gutless for output and try shut off the Arduino internal pullup resistor, no pullups anywhere and see if you get data.
                                  There is always RX noise blips to be seen.

                                  To troubleshoot- I took a CMOS inverter CD4049 etc. and connected it to the 433MHz RX module's output, as a buffer to then drive other gates for an LED and a speaker, and Arduino.
                                  You can listen for what the module is picking up, beeps and boops or noise.

                                  Comment

                                  • NiHaoMike
                                    New Member
                                    • Jun 2022
                                    • 3
                                    • USA

                                    #18
                                    Re: Using car key fob as generic remote control

                                    Originally posted by stj
                                    if you read the first post,
                                    it's not about the car, he wants to re-use the keyfob for other things.
                                    The problem is getting a receiver to interpret the encrypted communications, so the simplest solution would be to make use of the receiver in the car that's already set up for that purpose.

                                    Using an Arduino compatible microcontroller and some sort of transmitter module, it would be quite easy for it to send packets when the doors are locked/unlocked, when a door is opened/closed, and when the car is started/stopped (to name a few events) just by connecting the GPIOs using voltage dividers to divide down the 12V to the 5V or 3.3V the Arduino uses.
                                    We believe in the right to repair.

                                    Comment

                                    • Dannyx
                                      CertifiedAxhole
                                      • Aug 2016
                                      • 3912
                                      • Romania

                                      #19
                                      Re: Using car key fob as generic remote control

                                      Originally posted by NiHaoMike
                                      The problem is getting a receiver to interpret the encrypted communications, so the simplest solution would be to make use of the receiver in the car that's already set up for that purpose.

                                      Using an Arduino compatible microcontroller and some sort of transmitter module, it would be quite easy for it to send packets when the doors are locked/unlocked, when a door is opened/closed, and when the car is started/stopped (to name a few events) just by connecting the GPIOs using voltage dividers to divide down the 12V to the 5V or 3.3V the Arduino uses.
                                      Again, it's not about using the car as a receiver, since it's too far from anything (I live in in an apartment complex, so it's down in the parking lot) - it's about using the car's fob as a remote for stuff around the house.

                                      Anyway, I don't even know where the receiver for the fob is located in the car and it's most likely potted in epoxy anyway. I'm not going to fiddle with that. Think I'll just stick with an additional remote on the keychain after all. This PCF chip seems to be quite tricky to crack.
                                      Wattevah...

                                      Comment

                                      Related Topics

                                      Collapse

                                      • tmhobadcap
                                        Pioneer VSX-522-K remote control not working???
                                        by tmhobadcap
                                        I have this receiver for at least 10 years. Usually, we just use the remote for turning on/off and adjusting the volume. Recently, the remote control started not able to turn the receiver on. Later, the volume also could not be adjusted by the remote control.

                                        At first, I thought that it was the usual problem which can be fixed by cleaning the contacts on the switches and the pcb. I opened the remote and clean it with alcohol. The remote did work again after that. But after one day, it did not work again. I opened it again and clean with alcohol and contact cleaner. Again it worked...
                                        12-24-2020, 01:44 AM
                                      • piipo
                                        Old Privileg 5.1 speakers remote control question
                                        by piipo
                                        Hi, I have an old Privileg brand 5.1 speakers. I have lost the remote control. I have an universal Harmony remote but there is no Privileg brand in it's software to add. Does anybody have an idea what alternative brand for a remote can I try instead? I'm attaching an image of what the speakers looks like. The image shows 2 main speakers, they are 5 + 1 in total. Thank you very much
                                        09-18-2024, 01:55 AM
                                      • hemant_2222
                                        Schematic for Denon Remote Control RC1156
                                        by hemant_2222
                                        Hello Everyone,

                                        Hope everyone is enjoying their repairs at hand!.

                                        I am looking forward to get the schematic of Denon remote control RC1156. Actually long time no use of the remote leaked the battery thereby corroding few parts as well as the tracks.

                                        I was able to join few of them but the remote is still not working, so i am looking forward for your help, in case anyone understand the schematic or the remote circuit diagram and could me assist me in repairing it.

                                        Please refer to the attached picture, i think the voltage divider is missing...
                                        10-06-2023, 02:05 AM
                                      • dfear
                                        hitachi 75hl16t64u - not responding to remote control
                                        by dfear
                                        I have a hitachi 75hl16t64u tv in for repair and it is driving me crazy.
                                        It came in for a power issue which I have finally resolved by replacing the power supply.

                                        The current issue is that the TV does not respond to the remote control. I have replaced the IR sensor board with a used one but the fault persists.

                                        Anyone have a clue how to fix TV?

                                        FYI: I have checked the remote work s by pointing it at my camera on my phone....
                                        09-02-2024, 12:15 PM
                                      • Dannyx
                                        "Kinetic" 433Mhz transmitter/receiver discussion
                                        by Dannyx
                                        Good day folks.

                                        TL;DR: has anyone tried pairing one of THESE "kinetic" battery-less switches with THESE generic remote modules ?

                                        Details: I recently got hit by this craze of wanting to add remote controls to the lights around my house, so I went with those generic 433Mhz remote relay modules found everywhere, which are really basic, easy to use and work well, since I used them before in other projects. What I like most about them is they accept all kinds of 433Mhz remotes that float around Aliexpress, since they're all the same under the hood, save for the...
                                        03-08-2022, 11:01 AM
                                      • Loading...
                                      • No more items.
                                      Working...