Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Secure 5-button keyfob with enclosure (was: 8-button keyfob)

Secure 5-button keyfob with enclosure (was: 8-button keyfob)

Scheduled Pinned Locked Moved My Project
72 Posts 5 Posters 16.9k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E elcaron

    @MiKa I was a little skeptical at first because it seemed the enclosure wasn't that easily available for me in Germany. Now, however, I found out that it seems to be identical to the RND 455-00014 that is e.g. sold at Reichelt for less than 4€. They also have a datasheet with good documentation of the measures. I will not have the keyfob from above made but attempt a redesign over eastern for that enclosure.

    Two questions for the general public:

    • Should I switch to an RFM69? I do not have anything installed yet, so I am free. I understand that range and wall penetration are better, but I am a little worried that the antenna will not fit.
    • Any idea if the contacts for those buttons are an existing footprint in KiCAD?
    AnticimexA Offline
    AnticimexA Offline
    Anticimex
    Contest Winner
    wrote on last edited by
    #12

    @elcaron I definitely suggest rfm69 because it supports AES encryption in hw and is therefore better suited for security sensitive use (not that encrypting keyfob data makes much sense but anyway...). Also like you say, it has better range. Antenna can probably be coiled. Perhaps a chip antenna could work as well.
    Regarding kicad, it is always possible to make any footprint needed given proper measurements.
    We have official MySensors libraries where the footprints can be stored if created so everyone can benefit from them (perhaps they already exist). See here.

    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

    E 1 Reply Last reply
    0
    • AnticimexA Anticimex

      @elcaron I definitely suggest rfm69 because it supports AES encryption in hw and is therefore better suited for security sensitive use (not that encrypting keyfob data makes much sense but anyway...). Also like you say, it has better range. Antenna can probably be coiled. Perhaps a chip antenna could work as well.
      Regarding kicad, it is always possible to make any footprint needed given proper measurements.
      We have official MySensors libraries where the footprints can be stored if created so everyone can benefit from them (perhaps they already exist). See here.

      E Offline
      E Offline
      elcaron
      wrote on last edited by
      #13

      @Anticimex AES is a big plus. I already looked for coiled antennas on Aliexpress and as far as I can see, these will fit into the case. i will make a cutout in the PCB for that. I hope my Reichelt shipment will arrive on Saturday, so I can test it with some coiled 433MHz antennas I have lying around. Diameter is probably the same, I should even be able to clip them off to convert them.
      I know I can make footprints. But if there was a footprint for that type of contact, I would rater use that. Since I am neither a professional nor a native speaker, I don't really have an idea what to look for ...

      Pity that the OSHPark guy chose to name himself after a transistor, that doesn't really make finding him easier ...

      1 Reply Last reply
      0
      • E Offline
        E Offline
        elcaron
        wrote on last edited by
        #14

        I have created a 5 button version that fits into the keyfob enclosure. I put the KiCAD project and a dxf file with the PCB measures on GitHub. I'll add an image later.
        https://github.com/kvoit/MySensors_SecureKeyfob/commits/master

        Schematic attached. I would like some comments before I put this into production.0_1492625836524_MySensors_SecureKeyfob.pdf

        1 Reply Last reply
        0
        • MiKaM Offline
          MiKaM Offline
          MiKa
          wrote on last edited by
          #15

          Hi,
          Good job!
          Add also some RGB LED or Fast LED (WS2812B) good place will be on opposit side of the battery ;)
          MiKa

          1 Reply Last reply
          0
          • E Offline
            E Offline
            elcaron
            wrote on last edited by
            #16

            Yeah, I could do that. No free PWM pins, though. But one could use Software PWM on A0/A1/A7, those woud be easy to route.
            Any footprint+Aliexpress/EBay link ready for a suitable LED?

            1 Reply Last reply
            0
            • MiKaM Offline
              MiKaM Offline
              MiKa
              wrote on last edited by
              #17

              for example: http://www.tme.eu/sk/details/hsmf-c114/diody-led-smd-farebne/broadcom-avago/ its in 0606 package with common anode

              1 Reply Last reply
              0
              • E Offline
                E Offline
                elcaron
                wrote on last edited by
                #18

                If anybody cares, I have improved a few things - rgb led (choose the standard 505 that is used on RGB strips), impedance to antenna, button footprints ... It is all pushed to Github. There is also a branch with gerbers for a panelized version with v-cuts.
                I will order it tomorrow evening. (Hint: I'll sit on 60 PCBs for this, soon. Location Germany.)

                AnticimexA 1 Reply Last reply
                2
                • E elcaron

                  If anybody cares, I have improved a few things - rgb led (choose the standard 505 that is used on RGB strips), impedance to antenna, button footprints ... It is all pushed to Github. There is also a branch with gerbers for a panelized version with v-cuts.
                  I will order it tomorrow evening. (Hint: I'll sit on 60 PCBs for this, soon. Location Germany.)

                  AnticimexA Offline
                  AnticimexA Offline
                  Anticimex
                  Contest Winner
                  wrote on last edited by Anticimex
                  #19

                  @elcaron cool. Do you have atsha204a footprint on them?
                  Edit: of course you do. Sorry for asking such a stupid question :)

                  Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                  E 1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    elcaron
                    wrote on last edited by elcaron
                    #20
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • AnticimexA Anticimex

                      @elcaron cool. Do you have atsha204a footprint on them?
                      Edit: of course you do. Sorry for asking such a stupid question :)

                      E Offline
                      E Offline
                      elcaron
                      wrote on last edited by
                      #21

                      @Anticimex Yes, that was the whole point. Someone else already posted a link to a PCB for the same keyfob enclosure without an ATSHA. The ATSHA is next to pin6 of the RFM69.
                      The other PCB also doesn't have dedicated space for an antenny, so I suspect they just somehow shove a wire in there. My design has a cutout for a spring antenna (already tested that it fits into the enclosure), with a defiined 50Ohm impedance trace leading to it.

                      1 Reply Last reply
                      0
                      • MiKaM Offline
                        MiKaM Offline
                        MiKa
                        wrote on last edited by
                        #22

                        Good work, Thanks!

                        E 1 Reply Last reply
                        0
                        • MiKaM MiKa

                          Good work, Thanks!

                          E Offline
                          E Offline
                          elcaron
                          wrote on last edited by
                          #23

                          @MiKa Thanks, lets hope so. Did one of you have a close look for issues, at least on the schematic? It's actually my first (MySensors/Ultra low power/THAT small) project.
                          Anyway, Seeed just dropped the price for 10 10x10cm^2 PCBs to 5$ plus shipping, so there is not much to loose except for 3 weeks waiting. I'll report any success or failure. Until then, the design is to be considered untested.

                          I'm a little afraid of the TQFP package :) Hope I can handle it with my rework station, don't have a toaster oven ...

                          1 Reply Last reply
                          0
                          • MiKaM Offline
                            MiKaM Offline
                            MiKa
                            wrote on last edited by
                            #24

                            Hi,
                            I ordered some pieces of PCB 3 days ago based on your repo in Github (before last finalization by You) lets see in 3 weeks :)
                            TQFP package need just little bit practise and it will be OK :)
                            Im excited about this project :)
                            Regards,
                            MiKa

                            E 2 Replies Last reply
                            0
                            • MiKaM MiKa

                              Hi,
                              I ordered some pieces of PCB 3 days ago based on your repo in Github (before last finalization by You) lets see in 3 weeks :)
                              TQFP package need just little bit practise and it will be OK :)
                              Im excited about this project :)
                              Regards,
                              MiKa

                              E Offline
                              E Offline
                              elcaron
                              wrote on last edited by
                              #25

                              @MiKa said in Secure 5-button keyfob with enclosure (was: 8-button keyfob):

                              before last finalization by You)

                              You should be fine. The antenna might need a little bending at the base, because the cutout didn't fit perfectly, but it is just a matter of <<1mm. The other changes, as far as I remember, were a purely cosmetic shift of the RGB LED and a little modification to keep the clearings for the v-cuts for the panelization.
                              If you have issues, I could send you a PCB for shipping costs. With the panelization, I'll have more PCBs than I ever could use.

                              1 Reply Last reply
                              0
                              • E Offline
                                E Offline
                                elcaron
                                wrote on last edited by elcaron
                                #26

                                Since I wanted to get a gateway into the same shipment and only found the shield type gateway for the Wemos D1 Mini, which I didn't like, I quickly clicked together a PCB for that, supporting the RFM69HW (with 50Ohm impedance trace to an SMA connector), the through-hole NRF24L01 module and the SMD version with the ceramic antenna. (And of course an ATSHA204A.)
                                It can be powered over the D1 Mini or alternatively with up to 24V over a switching regulator.

                                0_1493647940683_gateway.png

                                I guess there are dozens of those things around, so I won't spam another topic (as long as nobody disagrees), but I'll put it here for completeness.
                                https://github.com/kvoit/MySensors_SecureD1MiniGateway

                                1 Reply Last reply
                                0
                                • MiKaM Offline
                                  MiKaM Offline
                                  MiKa
                                  wrote on last edited by
                                  #27

                                  You created it for some enclosure? (MySensors_SecureD1MiniGateway)

                                  E 1 Reply Last reply
                                  0
                                  • MiKaM MiKa

                                    You created it for some enclosure? (MySensors_SecureD1MiniGateway)

                                    E Offline
                                    E Offline
                                    elcaron
                                    wrote on last edited by
                                    #28

                                    @MiKa No, I didn't. This goes into my attic, so I didn't really care for that. But it is square, 38x72mm^2. Shouldn't be hard to find a box to throw it in.

                                    1 Reply Last reply
                                    0
                                    • MiKaM MiKa

                                      Hi,
                                      I ordered some pieces of PCB 3 days ago based on your repo in Github (before last finalization by You) lets see in 3 weeks :)
                                      TQFP package need just little bit practise and it will be OK :)
                                      Im excited about this project :)
                                      Regards,
                                      MiKa

                                      E Offline
                                      E Offline
                                      elcaron
                                      wrote on last edited by
                                      #29

                                      @MiKa Hi, have you already received your PCBs? Mine came friday. on The bright side: Mechanically, everything fits fine into the keyfob enclosure. Nothing shakes, buttons fit accurately.
                                      Unfortunately, I have more issues with the QFN package than I hoped. So I cannot tell anything electrically. Do you ahve it running? I am increasingly concerned that the coin cell will not be able to provide the necessary voltage and current spikes for a reasonably long time ...

                                      1 Reply Last reply
                                      0
                                      • MiKaM Offline
                                        MiKaM Offline
                                        MiKa
                                        wrote on last edited by
                                        #30

                                        Hi,
                                        pcb received today, ATmega is in place and running :) Currently just blink green and blue LED (red LED is connected to pin A7 and this can be just analog input and not output - what I understand from datasheet of ATMega328), I dont have slim RFM69 radio, but already ordered, test with radio is in plan for Wednesday :)

                                        1 Reply Last reply
                                        1
                                        • E Offline
                                          E Offline
                                          elcaron
                                          wrote on last edited by
                                          #31

                                          Oh, A7, yeah, I remember something like that. Does the LED flash with the coin cell? The one I took from an RGB strip doesn't light up on blue at 3V because of the required forward voltage. I fear green might have the same fate when the battery voltage drops ...
                                          Looks like V1.1 is required.

                                          Looking forward to hearing from the actual radio tests. Depending on that V1.1 might get some more caps or a HT7333 so it is possible to use a LIR2032.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          19

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular