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
A

Aymeric

@Aymeric
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sleeping with RFM95 ?
    A Aymeric

    Hello, it was a hardware problem. I had tried with two different Pro Mini boards, but after trying with a third one, everything is working now. Thank you for your help.

    Hardware

  • Sleeping with RFM95 ?
    A Aymeric

    Hi,
    I'm trying to put a node to sleep that consists of an Arduino Pro Mini board (3.3 V, 8 MHz) and an RFM95 module (SX1276 chip) using MySensors (2.4.0). In the code below, the node does not go to sleep. I've tried with and without transportDisable/transportReinitialise, and also cutting power to the RFM95 module using powerDownRadio / powerUpRadio, but whenever sleep actually works, the radio transmission no longer works after waking up… I don’t know what else to test. Any idea? Is it a hardware problem ?

    #define MY_DEBUG
    #define MY_RADIO_RFM95
    #define MY_RFM95_FREQUENCY (RFM95_868MHZ)
    #define MY_IRQ_PIN 2
    #define MY_RST_PIN 9
    #define MY_NODE_ID 22

    #include <MySensors.h>

    MyMessage msgTestRfm(100, V_CUSTOM);

    void presentation() {
    sendSketchInfo("Test RFM", "1.1");
    present(100, S_CUSTOM);
    }

    void loop() {

    send(msgTestRfm.set(1));
    wait(200);

    // couper la radio (sinon sleep() bloque)
    transportDisable();
    wait(50);

    // sommeil — pas de LowPower ici !
    sleep(5000);

    // réactiver la radio
    transportReInitialise();
    wait(200);

    Serial.println("Réveillé !");
    }

    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