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
Fumée BleueF

Fumée Bleue

@Fumée Bleue
About
Posts
12
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Seeeduino Xiao nRF52840
    Fumée BleueF Fumée Bleue

    I would like use a XIAO nRF52 (https://wiki.seeedstudio.com/XIAO_BLE/) board but i can't upload the code. I use "MySensors nRF5 board", the compilation is ok but i've an error during upload. I tried also "Seeed nRF5 board" but i've this error : #error "Unsupported platform."
    is it a bad idea to use this type of component ? you may advise me to use the Ebyte N73..

    Hardware

  • MySensors 2.3.2 released
    Fumée BleueF Fumée Bleue

    No news .. ? MySensors is dead ? :(

    Announcements

  • only sleep NRF24L01
    Fumée BleueF Fumée Bleue

    Hello,

    Is-it possible to sleep the NRF24L01 module without sleep the arduino by the sleep(xxx) function ?
    In my case, i would like limited the consumption of my circuit but i need to use the arduino in order to read the serial interface.

    Regards.
    Tristan

    Development

  • Infinite loop
    Fumée BleueF Fumée Bleue

    thank you for this additional information.

    Tristan

    Troubleshooting

  • Infinite loop
    Fumée BleueF Fumée Bleue

    @Yveaux, I tried with an laboratoy power supply with the RMF95w and NRF24L01, and the same code.

    Test with RMF95w :

    • laboratery power supply : OK
    • 130mW power supply : KO

    Test with NRF24L01+ :

    • laboratery power supply : OK
    • 130mW power supply : OK

    The consumption is the same in the two tests : 38mA max, 10mA mean, 4mA min.
    In fact I would like to understand why the arduino restarts, is there a watchdog in the Mysensors library to monitor the supply voltage?

    PS : I also tried with a larger capacitor without success.

    Troubleshooting

  • Infinite loop
    Fumée BleueF Fumée Bleue

    @Yveaux. good idea, yes the power supply is a bit special. It's une AC power 6v limited at 130mW. I used a Graetz rectifier and LDO 3,3v regulator. In fact, i have a similar project with NRF24L01 without issue. I think rfm95w consumes more energy than nrf241L01.
    2.png
    For you, what is the best way to solve my problem ? Perhaps a super capacitor ?

    Troubleshooting

  • Infinite loop
    Fumée BleueF Fumée Bleue

    Hello,
    I implemented a node with Arduino pro mini 3.3v with a RFM95w module. I used Mysensors PASSIVE node exemple.

    My problem is i have an infinite loop/reboot in my serial log. Do you have an idea why i'm having this issue ?

    __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.2
    
    16 MCO:BGN:INIT NODE,CP=RLNPA---,FQ=8,REL=255,VER=2.3.2
    28 TSM:INIT
    28 TSF:WUR:MS=0
    30 RFM95:INIT
    32 RFM95:INIT:PIN,CS=10,IQP=2,IQN=0
    47 RFM95:PTX:LEVEL=13
    49 TSM:INIT:TSP OK
    51 TSM:INIT:TSP PSM
    53 TSM:INIT:STATID=100
    55 TSF:SID:OK,ID=100
    57 TSM:FPAR
    59 TSM:FPAR:STATP=255
    61 TSM:ID
    61 TSM:ID:OK
    63 TSM:UPL:DISABLED
    65 TSM:READY:ID=100,PAR=255,DIS=1
    69 RFM95:SWR:SEND,TO=255,SEQ=0,RETRY=0
    
    __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.2
    
    16 MCO:BGN:INIT NODE,CP=RLNPA---,FQ=8,REL=255,VER=2.3.2
    28 TSM:INIT
    28 TSF:WUR:MS=0
    30 RFM95:INIT
    32 RFM95:INIT:PIN,CS=10,IQP=2,IQN=0
    47 RFM95:PTX:LEVEL=13
    49 TSM:INIT:TSP OK
    51 TSM:INIT:TSP PSM
    53 TSM:INIT:STATID=100
    55 TSF:SID:OK,ID=100
    57 TSM:FPAR
    59 TSM:FPAR:STATP=255
    61 TSM:ID
    61 TSM:ID:OK
    63 TSM:UPL:DISABLED
    65 TSM:READY:ID=100,PAR=255,DIS=1
    69 RFM95:SWR:SEND,TO=255,SEQ=0,RETRY=0
    
    __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.2
    
    16 MCO:BGN:INIT NODE,CP=RLNPA---,FQ=8,REL=255,VER=2.3.2
    28 TSM:INIT
    28 TSF:WUR:MS=0
    30 RFM95:INIT
    32 RFM95:INIT:PIN,CS=10,IQP=2,IQN=0
    47 RFM95:PTX:LEVEL=13
    49 TSM:INIT:TSP OK
    51 TSM:INIT:TSP PSM
    53 TSM:INIT:STATID=100
    55 TSF:SID:OK,ID=100
    57 TSM:FPAR
    59 TSM:FPAR:STATP=255
    61 TSM:ID
    61 TSM:ID:OK
    63 TSM:UPL:DISABLED
    65 TSM:READY:ID=100,PAR=255,DIS=1
    69 RFM95:SWR:SEND,TO=255,SEQ=0,RETRY=0
    
    /*
     * The MySensors Arduino library handles the wireless radio link and protocol
     * between your home built sensors/actuators and HA controller of choice.
     * The sensors forms a self healing radio network with optional repeaters. Each
     * repeater and gateway builds a routing tables in EEPROM which keeps track of the
     * network topology allowing messages to be routed to nodes.
     *
     * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
     * Copyright (C) 2013-2019 Sensnology AB
     * Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
     *
     * Documentation: http://www.mysensors.org
     * Support Forum: http://forum.mysensors.org
     *
     * This program is free software; you can redistribute it and/or
     * modify it under the terms of the GNU General Public License
     * version 2 as published by the Free Software Foundation.
     *
     *******************************
     *
     * REVISION HISTORY
     * Version 1.0 - tekka
     *
     * DESCRIPTION
     * Passive node example: This is a passive & independent reporting node
     *
     */
    
    // Enable debug prints
    #define MY_DEBUG
    
    // Enable passive mode
    #define MY_PASSIVE_NODE
    
    // Passive mode requires static node ID
    #define MY_NODE_ID 100
    
    // Enable and select radio type attached
    //#define MY_RADIO_RF24
    //#define MY_RADIO_NRF5_ESB
    //#define MY_RADIO_RFM69
    #define MY_RADIO_RFM95
    
    #define   MY_DEBUG_VERBOSE_RFM95
    #define MY_RFM95_FREQUENCY  (RFM95_868MHZ)
    
    #include <MySensors.h>
    
    #define CHILD_ID 0   // Id of the sensor child
    
    // Initialize general message
    MyMessage msg(CHILD_ID, V_TEMP);
    
    void setup()
    {
    }
    
    void presentation()
    {
    	// Send the sketch version information to the gateway and controller
    	sendSketchInfo("Passive node", "1.0");
    
    	// Register all sensors to gw (they will be created as child devices)
    	present(CHILD_ID, S_TEMP);
    }
    
    void loop()
    {
    	// generate some random data
    	send(msg.set(25.0+random(0,30)/10.0,2));
    	sleep(2000);
    }
    
    Troubleshooting

  • Gateway and dynamic wifi configuration
    Fumée BleueF Fumée Bleue

    Thanks for your explanation and links :)

    Development

  • Gateway and dynamic wifi configuration
    Fumée BleueF Fumée Bleue

    Hello,

    I'm looking for an implementation of gateway based with esp8266 with a possibility to change SSID/password by web page and not static configuration as mysensors examples.
    What is your solution ?

    I'm trying wifimanager library but i have some difficulties about MY_WIFI_SSID and MY_WIFI_PASSWORD used by Mysensors but not wifimanager. Is it possible to use wifimanager with mysensors ?

    Tristan

    Development

  • 💬 MySensors Linky
    Fumée BleueF Fumée Bleue

    I created an 1.0.4 version without warning compilation. I removed "i" and "len" unnecessary variables.

    OpenHardware.io mysensors linky edf enedis mysensor arduino arduino pro mini

  • 💬 MySensors Linky
    Fumée BleueF Fumée Bleue

    @Secator,
    I use an Arduino pro mini 3.3 V in order to voltage compatible with the NRF24L01

    OpenHardware.io mysensors linky edf enedis mysensor arduino arduino pro mini

  • 💬 MySensors Linky
    Fumée BleueF Fumée Bleue

    jeremushka,
    Thanks.
    I updated the project description and added arduino sources. The pins I1 and A are used for power supply, and I2 for the datas.

    OpenHardware.io mysensors linky edf enedis mysensor arduino arduino pro mini
  • Login

  • Don't have an account? Register

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