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
sundberg84S

sundberg84

@sundberg84
Hardware Contributor
About
Posts
2.1k
Topics
32
Shares
0
Groups
2
Followers
28
Following
5

Posts

Recent Best Controversial

  • NewbiePCB sensors dying of old age
    sundberg84S sundberg84

    Hi @Matt - yea, i experience the same, my nodes with the Chinese voltage boosters/converters seems to be dying and my guess has been noice from those components. Im converting more and more over to 5v power from wallsockets and stuff and I also found the 433mhz radios more reliable than the NRF radios still... but I'm really happy, I still have some nodes up that is probably around 10 years now - way longer than I expected :) I mean, that's sometimes better than bought nodes ;)

    Agree with you that learning new stuff is the best with this kind of projects - I have also used the smaller slim nodes and they have some applications. But Im actually moving the other way, to bigger nodes - with modular components. I have to resolder and program everything again so if possible when a node fails I can easily change the component. For example, my gateways now uses "shields" that I can just plug and play on a Uno with easy changeable radio.

    General Discussion

  • 💬 HLK-PM01 breakout board
    sundberg84S sundberg84

    @titou4307 Hello! I dont really work on that project anymore, but its open hardware and all files are there so feel free to modify

    OpenHardware.io hlk-pm01

  • 💬 Easy/Newbie PCB (RFM69 HW/W edition) for MySensors
    sundberg84S sundberg84

    @hlehoux - nice once! Thanks for sharing!

    OpenHardware.io mysensor easy newbie pcb mysx

  • 💬 HLK-PM01 breakout board
    sundberg84S sundberg84

    @RobIII - there is no specific reason why I choose 73dgr, probably it was easy avalible.
    70-85 woudl sure work good.

    OpenHardware.io hlk-pm01

  • 2021 EU customs regulatory changes — where should I buy now?
    sundberg84S sundberg84

    @benhub - this has been an issue for a long time in Sweden now.
    "Postnord" adds 7,5€ as handeling fee and then VAT ontop on everything.

    European sellers is one option, but in some cases shopping from ebay they claim to be in Europe but the package comes from Asia adress. Some Asian sellers has now made an agreement with Postnord to include VAT which solves the issue with 7,5€ handeling fee, but still not as cheap as before.

    General Discussion

  • 💬 Easy/Newbie PCB for MySensors
    sundberg84S sundberg84

    @benhub - ok, there are some things you need to consider, and that is the space of the adapter.
    I read now i "suggested" this adapter, but let me clear it it is not tested, maybe a language barrier from my side.

    You need to consider that it fits in the board and do not crash into other compontens, like the arduino.
    If it does, you maybe need to consider some other board or even build one.

    OpenHardware.io mysensors battery easy newbie pcb mysx

  • 💬 Easy/Newbie PCB for MySensors
    sundberg84S sundberg84

    @benhub - hello!
    You need some sort of adapter, the use similar pins but not in the same order/layout.
    Here is a suggestion for adapter: https://www.openhardware.io/view/601/NRF24-to-RFM69-converter

    But... you know there is a RFM version of the EasyPCB right?
    https://www.openhardware.io/view/389/EasyNewbie-PCB-RFM69-HWW-edition-for-MySensors

    OpenHardware.io mysensors battery easy newbie pcb mysx

  • 💬 Capacitive Soil Moisture Sensor
    sundberg84S sundberg84

    Nice work @Ron . Thinking about getting some of these for my plants.
    Any experienced issues, or the PCB and components works good?

    OpenHardware.io mysensors soil moisture capacitive soil moisture nrf24l01+ atmega328p

  • What did you build today (Pictures) ?
    sundberg84S sundberg84

    @KooLru - very clever sollution for the lines.

    General Discussion

  • Anything needed to do before sending Message after a long sleep ?
    sundberg84S sundberg84

    @hlehoux the purpose of the booster is to boost the voltage up to 3.3v for the Pro Mini. If you have a battery with voltage range 3,7 - 4V this isnt needed and may just cause the issues you are having.

    Instead you need to lower the voltage to 3.3v depending on the pro mini version you use.
    In the EasyPCB examples there are some guides you can look at.

    Development

  • Anything needed to do before sending Message after a long sleep ?
    sundberg84S sundberg84

    @hlehoux - it looks like you use a booster?
    Why are you using this with 3,7 - 4V battery?

    9972e6ac-cdf1-4fe0-9ba3-aa0bff3d5c04-image.png

    In most cases, issues like this are related to booster performance.
    If you need the booster, can you try to change it out?

    Development

  • Clearance, creepage and other safety aspects in "MySensors" PCBs.
    sundberg84S sundberg84

    @JohanH - thanks for your reply! I also hope and think people who build commercial products have knowledge of this :)
    But as a hobbyist, there are two ways to go - either you dont have to care or go bare minimum, if something happens its your own fault, or you can try to make is as safe as possible.

    My idea was never to make this thread a information source for a commercial product. I wanted to try to make my own products as safe as possible since I have children around. With that in mind, i want to be on the safe side of things so some things i use from here might be exaggerated.

    But my PCB (HLK-PM01 breakout) is working great, and I feel safe. I have had it outdoors (under roof covered in IP5* box, -20 to +30 aprox) and its been working for me for a couple of years now. Better than I had before, when i just stripped an old fake samsung charger.

    /Andreas

    Hardware pcb ac power creepage clearance acdc

  • CR2032 coin cells - expected life?
    sundberg84S sundberg84

    @NeverDie - I measure after - but I let the battery recover from the transmission, so you have a valid point.
    @BearWithBeard - Thanks - if you can do it, I can :)
    @ncollins - a big capasitor sounds lika a good idea, 1.8v bod I have and also sleep (5 minutes). Thanks for the input, sounds like a plan ahead.

    Hardware

  • CR2032 coin cells - expected life?
    sundberg84S sundberg84

    Hi! Im having issues when testing MySensors nodes with CR2032.

    9c2633af-f75f-4e53-b802-f4a1ee54297e-image.png

    BOD are set to 2.3 but it seems like the node dies around 2,8-2,9 and it does not last very long.
    Its a "naked" testnode, nrf24, sleep active, minial current drain.

    First, is it to be expected that these batteries does not work below 2.8v?
    Any other tips?

    Hardware

  • Automated Pergola
    sundberg84S sundberg84

    Cool! Now you need to use a MySensors rain sensor, and/or wind/sun/temp sensors to automate the closing and opening of all the things automaticly!

    My Project

  • Handling NACKs
    sundberg84S sundberg84

    @evb - yes, that is correct, here is a complete sketch with a GW (Nrf24 - ethernet)

    // Enable debug prints to serial monitor
    #define MY_DEBUG
    
    // Enable and select radio type attached
    #define MY_RADIO_NRF24
    #define MY_RF24_PA_LEVEL RF24_PA_MAX
    
    // Enable gateway ethernet module type
    #define MY_GATEWAY_W5100
    
    // Enable Soft SPI for NRF radio (note different radio wiring is required)
    // The W5100 ethernet module seems to have a hard time co-operate with
    // radio on the same spi bus.
    #if !defined(MY_W5100_SPI_EN) && !defined(ARDUINO_ARCH_SAMD)
    #define MY_SOFTSPI
    #define MY_SOFT_SPI_SCK_PIN 14
    #define MY_SOFT_SPI_MISO_PIN 16
    #define MY_SOFT_SPI_MOSI_PIN 15
    #endif
    
    // When W5100 is connected we have to move CE/CSN pins for NRF radio
    #ifndef MY_RF24_CE_PIN
    #define MY_RF24_CE_PIN 5
    #endif
    #ifndef MY_RF24_CS_PIN
    #define MY_RF24_CS_PIN 6
    #endif
    
    #define MY_IP_ADDRESS 192,168,1,8   // If this is disabled, DHCP is used to retrieve address
    // Renewal period if using DHCP
    //#define MY_IP_RENEWAL_INTERVAL 60000
    // The port to keep open on node server mode / or port to contact in client mode
    #define MY_PORT 5003
    
    // Controller ip address. Enables client mode (default is "server" mode).
    // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere.
    //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 254
    
    // The MAC address can be anything you want but should be unique on your network.
    // Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
    // Note that most of the Ardunio examples use  "DEAD BEEF FEED" for the MAC address.
    #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0x01, 0x08 //AF-A0-F2-15-3B-1C
    
    // Set blinking period
    #define MY_DEFAULT_LED_BLINK_PERIOD 300
    
    // Enable inclusion mode
    //#define MY_INCLUSION_MODE_FEATURE
    // Enable Inclusion mode button on gateway
    //#define MY_INCLUSION_BUTTON_FEATURE
    // Set inclusion mode duration (in seconds)
    //#define MY_INCLUSION_MODE_DURATION 60
    // Digital pin used for inclusion mode button
    //#define MY_INCLUSION_MODE_BUTTON_PIN  3
    
    // Uncomment to override default HW configurations
    #define MY_DEFAULT_ERR_LED_PIN 7  // Error led pin
    #define MY_DEFAULT_RX_LED_PIN  9  // Receive led pin
    #define MY_DEFAULT_TX_LED_PIN  8  // the PCB, on board LED
    
    
    #define MY_INDICATION_HANDLER
    static uint32_t txOK = 0;
    static uint32_t txERR = 0;
    #define REPORT_INTERVAL 300000 // Report every 5 minutes
    #define CHILD_ID_TX_OK 0
    #define CHILD_ID_TX_ERR 1
    
    #include <SPI.h>
    
    #if defined(MY_USE_UDP)
    #include <EthernetUdp.h>
    #endif
    #include <Ethernet.h>
    #include <MySensors.h>
    
    MyMessage txOKmsg(CHILD_ID_TX_OK, V_CUSTOM);
    MyMessage txERRmsg(CHILD_ID_TX_ERR, V_CUSTOM);
    
    void indication(indication_t ind)
    {
      switch (ind)
      {
        case INDICATION_TX:
          txOK++;
          break;
        case INDICATION_ERR_TX:
          txERR++;
          break;
      }
    }
    
    void presentation()
    {
      //Send the sensor node sketch version information to the gateway
      sendSketchInfo("Gateway #1", "1.0");
      present(CHILD_ID_TX_OK, S_CUSTOM);
      present(CHILD_ID_TX_ERR, S_CUSTOM);
    }
    
    void setup()
    {
    }
    
    void loop() {
    
      static unsigned long last_send = 0;
      if (millis() - last_send > REPORT_INTERVAL) {
        send(txOKmsg.set(txOK));
        send(txERRmsg.set(txERR));
        last_send = millis();
      }
    
    }
    
    

    In Home Assistant you need to create a sensor that breaks down the incrementing number to each intervall you want.
    I use a utility_meter.

    utility_meter:
    hourly_ok_gw:
        source: sensor.gateway_1_0_0
        cycle: hourly
      hourly_err_gw:
        source: sensor.gateway_1_0_1
        cycle: hourly
    

    This sensors will be sent to Grafana each hour just like any other sensor and you can create a graph there:

    2556f0fa-a34b-49da-bac6-e0a8aadbd633-image.png

    Development

  • 💬 MySensors Nrf24/RFM Serial/Ethernet GW Shield (for Uno)
    sundberg84S sundberg84

    @hlehoux My quickfix means you cant use the ethernet shield.
    All I did was solder with wires to the normal pins and made it a serial gateway.

    OpenHardware.io mysensors nrf24l01+ rfm69

  • 💬 Easy/Newbie PCB (RFM69 HW/W edition) for MySensors
    sundberg84S sundberg84

    @evb - correct!

    6e3f6c73-744d-427f-b7d8-c07619c4bc9f-image.png

    b42bbc87-8030-44e7-a9e1-511112500872-image.png

    OpenHardware.io mysensor easy newbie pcb mysx

  • 💬 Easy/Newbie PCB (RFM69 HW/W edition) for MySensors
    sundberg84S sundberg84

    @evb - Hi, to be hones I don't even remember. I dont have any exact equipment to measure except a normal multimeter, so that can be that my reading is way off, or it was without the radio? Sorry, no documentation about this and no memory at this point. But here is the battery of my EasyPCB RFM + Dallas temp sensor. I changed the batteries 3 months ago as you see and currently is about 87%.

    fce2a441-b446-48d0-b041-fd4043e74409-image.png

    OpenHardware.io mysensor easy newbie pcb mysx

  • Best radio type for 5 floor communication
    sundberg84S sundberg84

    @andrezibaia - my understanding that lower frequencies easier penetrate walls, and im also suspecting the Nrf24l01+ (2.4Ghz) wont work. Im using RFM69 for my outdoor nodes, and its working well penetrating the house walls - but in your case you have multiple floors (thicker than walls?)... If you have the radios, I would try them.

    Hardware
  • Login

  • Don't have an account? Register

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