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

Affe

@Affe
About
Posts
8
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Lua script
    A Affe

    Interesting projects

    I'm looking to create a counter that counts the number of times the temperature reaches above 30 degrees.
    Intend to use it when I bonfires

    Have you learned LUA on the internet?

    Troubleshooting

  • Issues dallas sensor and sketch
    A Affe

    Have you restore the EERPOM memory ?

    /*
     * 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-2015 Sensnology AB
     * Full contributor list: https://github.com/mysensors/Arduino/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.
     *
     *******************************
     *
     * DESCRIPTION
     *
     * This sketch clears radioId, relayId and other routing information in EEPROM back to factory default
     * 
     */
    // load core modules only
    #define MY_CORE_ONLY
    
    #include <EEPROM.h>
    #include <MySensors.h>  
    
    void setup()  
    { 
      Serial.begin(MY_BAUD_RATE);
      Serial.println("Started clearing. Please wait...");
      for (int i=0;i<EEPROM_LOCAL_CONFIG_ADDRESS;i++) {
        hwWriteConfig(i,0xFF);  
      }
      Serial.println("Clearing done. You're ready to go!");
    }
    
    void loop()      
    { 
      // Nothing to do here...
    } ```
    
    /*
     * 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-2015 Sensnology AB
     * Full contributor list: https://github.com/mysensors/Arduino/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.
     *
     *******************************
     *
     * DESCRIPTION
     *
     * This sketch clears radioId, relayId and other routing information in EEPROM back to factory default
     * 
     */
    // load core modules only
    #define MY_CORE_ONLY
    
    #include <EEPROM.h>
    #include <MySensors.h>  
    
    void setup()  
    { 
      Serial.begin(MY_BAUD_RATE);
      Serial.println("Started clearing. Please wait...");
      for (int i=0;i<EEPROM_LOCAL_CONFIG_ADDRESS;i++) {
        hwWriteConfig(i,0xFF);  
      }
      Serial.println("Clearing done. You're ready to go!");
    }
    
    void loop()      
    { 
      // Nothing to do here...
    }
    Troubleshooting

  • DS18B20 and DHT22 in the same sensor and sketch
    A Affe

    Hi

    I got a problem when I would vertifiera sketch

    Does anyone have a working sketch dallas and DHT

    Troubleshooting

  • RF24 PA LOW or HIGH
    A Affe

    Thanks @Boots33 and @BartE

    summation :+1: Use extern 3,3V feed when you use

    #define **MY_RF24_PA_LEVEL RF24_PA_HIGH **

    and
    When I build Repeater
    wait insted of sleep

    ex
    #define ONE_WIRE_BUS 3 // Pin where dallase sensor is connected
    #define MAX_ATTACHED_DS18B20 16
    unsigned long **WAIT_TIME **= 30000; // Sleep time between reads (in milliseconds)
    OneWire oneWire(ONE_WIRE_BUS); // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
    DallasTemperature sensors(&oneWire); // Pass the oneWire reference to Dallas Temperature.
    float lastTemperature[MAX_ATTACHED_DS18B20];
    int numSensors=0;
    bool receivedConfig = false;
    bool metric = true;
    // Initialize temperature message
    MyMessage msg(0,V_TEMP);

    and

    // sleep() call can be replaced by wait() call if node need to process incoming messages (or if node is repeater)
    wait(conversionTime);

    sleep(WAIT_TIME);

    Development

  • RF24 PA LOW or HIGH
    A Affe

    @BartE Thanks

    So i need too feed extern with 3 volt or select standard NRF24L01+

    Can you also explain reapeter funtion ?
    If i should change to wait insted of sleep

    Development

  • RF24 PA LOW or HIGH
    A Affe

    Hi

    Can someone please explanin for me ?

    how should i do ?

    If I 'm building a reapeter

    #define MY_RF24_PA_LEVEL RF24_PA_LOW *or HIGH *
    #define MY_REPEATER_NODE

    Should I change to wait insted of sleep ? or only include **#define MY_REPEATER_NODE **

    I use a PA+LNA ,
    Is it better to use standard NRF24L01+?

    http://www.elecfreaks.com/wiki/index.php?title=2.4G_Wireless_nRF24L01p_with_PA_and_LNA

    Development

  • RF24 PA LOW or HIGH
    A Affe

    Hi Guys

    ¨Can someone explain for me when should i use Low and HIGH for RF 24

    #define MY_RF24_PA_LEVEL RF24_PA_LOW

    If a use high
    should i feed with extern 3 v ?

    Is there a difference with an external antenna LNA?:flushed:

    Development

  • 💬 Easy/Newbie PCB for MySensors
    A Affe

    Hello, I'm just finished with 3 cards and test . I read on mysensor.org I'll connect NRF24L01+ Radio whit decoupling capacitor of 47µF and on your card whit 4,7µF

    What is the difference?

    OpenHardware.io mysensors battery easy newbie pcb mysx
  • Login

  • Don't have an account? Register

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