Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. elcaron
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    elcaron

    @elcaron

    11
    Reputation
    100
    Posts
    797
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    elcaron Follow

    Best posts made by elcaron

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

      While most of my home is made smart using ESP8266s, I plan to dive into MySensors for more energy critical stuff. The first project is a keyfob.

      Attached is a first design for a 8-button keyfob mit hardware HMAC authentication via an ATSHA204, running on a CR2032 coin cell and fitting into a commercially available keyfob enclosure (see README on github repository).
      The ATMEGA is supposed to run in power-down mode (400nA with disabled ADC, internal oszillator @ 8MHz), the powered down RFM69HCW should take 100nA in sleep mode and the ATSHA <150nA in sleep mode, so the overall standby consumption should be well below the self-discharge rate of the coin cell.
      In standby, the buttons will have interrupts attached via PCINTx_vect, so that a button press will wake the ATMEGA.

      Before I send out the PCB order, perhaps somebody is interested in having a closer look ... this is both my first MySensors project and my first low power project. Also, it is probably the most compact thing I have ever clicked together. (I am so glad about KiCAD's push and shove router ...)

      Any comments? Tips? Ideas? Errors?
      I would hate to send this to production and end up with 80 unusable PCB 🙂 (Taking about PCBs, I will have a lot of spare ones in Germany, is anybody is interested ...)
      The major issues I could currently think of are:

      • Does MySensors implement the sleep mode of the ATSHA? Is it even possible in that package? I don't really know much about the chip (only followed the MySensors tutorial) and it would be a bugger if it sucked my battery dry ... - Answered: Yes it does.
      • Will the coin cell provide enough current for transmission? I added a 22uF tantal, should I include more?

      KiCAD project on github: https://github.com/kvoit/MySensors_SecureKeyfob/commits/master

      Schematic: 0_1492625836524_MySensors_SecureKeyfob.pdf

      0_1492686736377_Screenshot_2017-04-20_13-10-27.png
      0_1492686740917_Screenshot_2017-04-20_13-08-39.png

      posted in My Project
      elcaron
      elcaron
    • RE: Who needs parts to build a Sensebender Micro (or can solder for me)

      I would suggest to get solder paste and a hot air gun (I have one of those 40$ thingys, which works fine after checking that it is not one of the units that have mains potential on the metal parts :D).
      Maybe also stencils. I just had one made at jlcpcb for 7$ + shipping, it is still in the mail, though.
      If you only have two left hands and no serious condition, that should make soldering them quite trivial.

      posted in Hardware
      elcaron
      elcaron
    • RE: Secure 5-button keyfob with enclosure (was: 8-button keyfob)

      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.)

      posted in My Project
      elcaron
      elcaron
    • RE: Is there a database for product designs?

      Oh, cool! That seems to be exactly what I was looking for. I'll add my projects as soon as I received them and tested them working. Thanks!

      Can you link me to what the Github import function expects?

      posted in General Discussion
      elcaron
      elcaron
    • RE: RFM69: Wireing DIO0

      @mfalkvidd Thanks, that is what I feared. Then as far as I understand, it would be a really bad idea to move it away from D2, at least not to anything else than D3. But i guess when the ATMEGA is sleeping, the RFM69 will also be deep asleep, so there is nothing to expect from it to trigger PCINT2_vect. And D3-D7 on the same port is just enough for my 5-button keyfob, so I'll connect it to D2.

      posted in Hardware
      elcaron
      elcaron
    • RE: ATSHA204 with Wemos D1 Mini

      Haven't managed to do more tests today. Was trying to get a simple sensor + Gateway2MQTT config running, but the gateway just didn't receive any messages, despite the fact that Radiohead can use my RFM69HW hardware with at least 2.4GHz Wifi range. But let's not highjack my own thread 🙂 I'll start a new one next weekend when I'll also try to run the personalizer without Wifi.

      posted in Troubleshooting
      elcaron
      elcaron
    • RE: RFM69HCW SMD footprint?

      Answer to myself: There is one from Sparkfun.

      posted in KiCad
      elcaron
      elcaron
    • RE: Cannot get RFM69HW connection between ESP8266GW and Pro Mini Sensor

      Ok, my setup is running now (including personalization, encryption, and soft signing) and stuff is published to mqtt.
      Thanks everyone for the help! I really like this community.

      Now I need to resolve the issue with the OpenHAB binding but that's no topic for here.

      posted in Troubleshooting
      elcaron
      elcaron

    Latest posts made by elcaron

    • RE: ATSHA204 with Wemos D1 Mini

      Over two years have passed and I have started another try, with no more success than last time. There seems to be a Sparkfun library that very close to the one in the SecurityPersonalizer script, but doesn't run with the ESP32 at all, despite being marked so in PlatformIO. ow are these related and could there be other version that are better adjusted to the ESP32?
      Has anyone ever made any progress on this in the past 2 years?

      posted in Troubleshooting
      elcaron
      elcaron
    • RE: ATSHA204 with Wemos D1 Mini

      Found some time again. Could not solve the issue with disabling Wifi. Further, I got a bunch of ESP32, which should have a dedicated core for Wifi, and I still cannot get it working.

      I have recorded the traces with a logic analyzer, compared to a Pro Mini and after the initial pulse, the timings seem to be vastly different. I only have sigrok pulseview available, and I find it hard do do any further analysis with it (including exporting it into any sensible format to import it to e.g. MATLAB ...)
      Here are the Sigrok session files for a Wemos LOLIN32 and an Arduino Pro Mini, if anybody is interested.

      I have also scoped the waveforms, they are pretty fine in both cases. The Pro Mini is on the same breadboard and powered by the LOLIN, they both have the same code fresh from Github (only change is ATSHA pin to pin 4) and the only thing I did between the two recordings is plug a jumper cable from pin 4 of one device to pin 4 for the other.

      posted in Troubleshooting
      elcaron
      elcaron
    • RE: Hot air rework station

      @dbemowsk It is not if you know and keep it attached. It is just terrible design in general, that would never be approved.

      posted in Hardware
      elcaron
      elcaron
    • RE: Hot air rework station

      @dbemowsk I have not flashed it. You can get one with a connector, but keep in mind that the exposed connector in the base is probably dangerous.

      posted in Hardware
      elcaron
      elcaron
    • RE: Hot air rework station

      @dbemowsk There are a lot of reviews around. Some units are fine, some have exposed metal parts connected to the powerplug (which can put mains phase on them at least in countries with unkeyed outlets, and some have the wand attached with a connector and habe mains phase on a connector pin that can be exposed

      Apart from that, I am quite happy with mine. There is even custom firmware.

      posted in Hardware
      elcaron
      elcaron
    • RE: Hot air rework station

      @dbemowsk That is actually what I meant, and what my warning was about. Some of these are deathtraps.

      posted in Hardware
      elcaron
      elcaron
    • RE: Who needs parts to build a Sensebender Micro (or can solder for me)

      I would suggest to get solder paste and a hot air gun (I have one of those 40$ thingys, which works fine after checking that it is not one of the units that have mains potential on the metal parts :D).
      Maybe also stencils. I just had one made at jlcpcb for 7$ + shipping, it is still in the mail, though.
      If you only have two left hands and no serious condition, that should make soldering them quite trivial.

      posted in Hardware
      elcaron
      elcaron
    • RE: Apparently incomplete RFM69HW modules received

      @gohan Can't, as I said I don't know from which of multiple shipments it came. Only noticed when I used it.

      posted in Hardware
      elcaron
      elcaron
    • RE: MySensors Hydroponics Greenhouse project

      A thought I had recently: Those moisture pitchforks are usually HASL coated. Do I really want that in the soil of a plant I probably want to eat? Any thoughts anyone?

      posted in My Project
      elcaron
      elcaron
    • RE: Apparently incomplete RFM69HW modules received

      It indeed does. Thanks for the overview, looks different from the HopeRF website (seems to actually be the CW version). Certainly have not ordered that.

      As far as I understand, I am not allowed to user 20dBm in Germany anyway, so 13dBm isn't that bad. Will try to run it later. There are a few nodes close to the gateway for which it will be enough.

      posted in Hardware
      elcaron
      elcaron