Skip to content
  • 1 Votes
    12 Posts
    5k Views
    NeverDieN
    @Alan-Minor said in πŸ’¬ Small nRF24L01+ Shield for ESP8266 Wemos D1 Mini: @NeverDie "Move" the trace to a different pin. AFAIK, yes.
  • 0 Votes
    85 Posts
    24k Views
    d00616D
    Sorry for my NRF24 clone post yesterday. The ACK bit was an issue with the NRF5 platform. I had switched the memory region to handle TX/RX/ACK packages separately. Sometimes the received packages are written in the wrong region. I had seen my testing ACK bit. Now, I have changed my NRF5 code and I can't see no difference between the modules, I have. ACK and timing are exactly at the same level.
  • 2 Votes
    20 Posts
    5k Views
    KoreshK
    @NeverDie Sorry for delay... This is example (improved version with 3d printed fixer) [image: 1507817315530-img_2017-10-12_165821-resized.jpeg] [image: 1507817330831-img_2017-10-12_165833-resized.jpeg]
  • 2 Votes
    6 Posts
    2k Views
    A
    Hi @GertSanders, Do you happen to still have the Eagle project files from version 3 you created and shared on OSH Park? I'd like to add a set of pads for the mini smd version of the NRF24L01. If not, I'll just use the version 2 files from openhardware.io and try my best to recreate the changes you made between them. Kind regards, AH
  • 0 Votes
    11 Posts
    4k Views
    tekkaT
    @torfinn said in ATMega328p 8Mhz internal, standalone, mysensors low power problem: #define MY_REGISTRATION_FEATURE Disabled This has no effect, the correct approach would be to comment this line: https://github.com/mysensors/MySensors/blob/master/MyConfig.h#L146
  • 0 Votes
    3 Posts
    2k Views
    19Dani921
    Thank you so much, scalz. That solved my problem. Just soldered them and now it works. It really seems the arduino needs a good wired connection in order to work.
  • nRF frequency and channels

    Troubleshooting frequency nrf nrf24l01+ ghz
    5
    0 Votes
    5 Posts
    25k Views
    F
    @korttoma You were right
  • Why You Should Encase Your Nodes

    Hardware weatherstation nrf24l01+
    5
    2 Votes
    5 Posts
    2k Views
    W
    @TheoL No damage. Water went up about 7 feet on our lake but had another 11 feet to go to threaten our property. Biggest flooding was to the south of us. We did have a fun time hiding out in our laundry room during tornado flying up to the east of us. Also, I do not think the radio is dead - hooked it by accident to my Uno testing board and it was transmitting just fine. Love these things - very tough.
  • 0 Votes
    4 Posts
    3k Views
    D
    Thank you both for your answers. With so many parameters to play with, it was not easy to understand what was wrong.. But I think I finally got a way do get my hardware working :) Here are my findings : I thought I got RFM73 version of NRF24-like radios. They look like like here and here. After checking and connecting all VCC and GND together, switch radios and arduinos... I got them suddenly working with Mysensors development librairies, then back to silence without apparent reason... Indeed like @mark_venn suggested, I went back to stable librairies and try so set a static ID. Worked well... until it went back to silence again ! Then, following @mfalkvidd advice, I realised that flashing the eeprom_clear sketch solved my all my problems ! My summary : Ensure that your 3.3V power supply is strong enough. Ensure that your arduino, radios and sensors are sharing the same GND and VCC. Use development librairies from github Flash eeprom_clear before flashing your mysensor sketches Then gatewaySerial and relayActuator should be able to communicate "out of box", mean you'll monitor some lines like this on the gateway serial : 0;255;3;0;9;read: 0-0-0 s=255,c=3,t=15,pt=0,l=2,sg=0: Thanks again for your help, now I can start to play :)
  • Call to begin function hangs arduino

    Troubleshooting hang arduino nrf24l01+
    5
    0 Votes
    5 Posts
    3k Views
    gerardG
    @SiLeX So it may be due to an incorrect connection? Pins of module are untagged and I connected them according to the positions of schemes that I found online. All modules have same pinout?
  • DevDuino v2.2 with EEPROM

    Hardware devduino rf24 nrf24l01+
    10
    0 Votes
    10 Posts
    4k Views
    O
    Here is the code works with devDuino v2.2 It shows how all of the sensors on board (via com port) and also makes it possible to (expect) to download the firmware over the air. (for example through MYSController) /* This sketch is for a devDuino SN v2.2 with the support OTA http://www.seeedstudio.com/wiki/DevDuino_Sensor_Node_V2.2_(ATmega_328) and MySensors 1.5 For testing all the equipment, press the button D4 when a voltage is applied. This sketch is a modification of code written Version 1.3 - Thomas Bowman MΓΈrch for sensor Sensebender Micro http://www.mysensors.org/hardware/micro modified 18 December 2015 by greengo */ #include <MySensor.h> #include <SPI.h> #include "utility/SPIFlash.h" #include <EEPROM.h> #include <sha204_lib_return_codes.h> #include <sha204_library.h> // Define a static node address, remove if you want auto address assignment //#define NODE_ADDRESS 2 #define RELEASE "0.01" #define TEST_PIN 4 // Button D4 #define TEMP_SENSE_PIN A3 // Input pin for the Temp sensor MCP9700 #define LED_PIN 9 // LED #define ATSHA204_PIN A2 // ATSHA204A const int sha204Pin = ATSHA204_PIN; atsha204Class sha204(sha204Pin); SPIFlash flash(8, 0x1F65); MyTransportNRF24 transport(7, 6); MySensor gw(transport); // the setup function runs once when you press reset or power the board void setup() { // initialize digital pin 9 as an output. pinMode(LED_PIN, OUTPUT); Serial.begin(115200); Serial.print(F("devDuino V2.2")); Serial.println(RELEASE); Serial.flush(); // First check if we should boot into test mode pinMode(TEST_PIN,INPUT); digitalWrite(TEST_PIN, HIGH); // Enable pullup if (!digitalRead(TEST_PIN)) testMode(); // Make sure that ATSHA204 is not floating pinMode(ATSHA204_PIN, INPUT); digitalWrite(ATSHA204_PIN, HIGH); digitalWrite(LED_PIN, HIGH); #ifdef NODE_ADDRESS gw.begin(NULL, NODE_ADDRESS, false); #else gw.begin(NULL,AUTO,false); #endif digitalWrite(LED_PIN, LOW); Serial.flush(); Serial.println(F(" - Online!")); gw.sendSketchInfo("devDuino SN V2.2", RELEASE); } // the loop function runs over and over again forever void loop() { gw.process(); } /**************************************************** * * Verify all peripherals, and signal via the LED if any problems. * ****************************************************/ void testMode() { uint8_t rx_buffer[SHA204_RSP_SIZE_MAX]; uint8_t ret_code; byte tests = 0; digitalWrite(LED_PIN, HIGH); // Turn on LED. Serial.println(F(" - TestMode")); Serial.println(F("Testing peripherals!")); Serial.flush(); Serial.print(F("-> MCP9700 : ")); Serial.flush(); if (analogRead (TEMP_SENSE_PIN),HIGH ) { Serial.println(F("ok!")); tests ++; } else { Serial.println(F("failed!")); } Serial.flush(); Serial.print(F("-> Flash : ")); Serial.flush(); if (flash.initialize()) { Serial.println(F("ok!")); tests ++; } else { Serial.println(F("failed!")); } Serial.flush(); Serial.print(F("-> SHA204 : ")); ret_code = sha204.sha204c_wakeup(rx_buffer); Serial.flush(); if (ret_code != SHA204_SUCCESS) { Serial.print(F("Failed to wake device. Response: ")); Serial.println(ret_code, HEX); } Serial.flush(); if (ret_code == SHA204_SUCCESS) { ret_code = sha204.getSerialNumber(rx_buffer); if (ret_code != SHA204_SUCCESS) { Serial.print(F("Failed to obtain device serial number. Response: ")); Serial.println(ret_code, HEX); } else { Serial.print(F("Ok (serial : ")); for (int i=0; i<9; i++) { if (rx_buffer[i] < 0x10) { Serial.print('0'); // Because Serial.print does not 0-pad HEX } Serial.print(rx_buffer[i], HEX); } Serial.println(")"); tests ++; } } Serial.flush(); Serial.println(F("Test finished")); if (tests == 3) { Serial.println(F("Selftest ok!")); while (1) // Blink OK pattern! { digitalWrite(LED_PIN, HIGH); delay(200); digitalWrite(LED_PIN, LOW); delay(200); } } else { Serial.println(F("----> Selftest failed!")); while (1) // Blink FAILED pattern! Rappidly blinking.. { } } }
  • SmartClock

    pimatic pimatic-mysenso nrf24l01+
    3
    4 Votes
    3 Posts
    2k Views
    D
    Any more details would to make one of these!
  • 0 Votes
    9 Posts
    6k Views
    antiA
    In the BACnet protocol, the messages are not sent directly, but pushed into an internal state machine that remembers (some) of the previously messages sent (i.e. memorize(_msg); send(_msg); ). The state machine also peeks incoming messages and can trigger a message re-send in case of a missed ACK. the difference with MySensors is that all the messages are numbered, otherwise you would not know which message of the last N sent previously was ACKed, but well.. ACKing the last similar message might be good enough. Anyway @SiLeX : if you want to try, this is not that complicated, (if you don't take into account the STREAMs) it will just costs about (1 status byte + 1 timestamp + 1 frame size) x N ; for N frames memorized.
  • Long range radios not compatible?

    Hardware radio pinout nrf24l01+
    3
    0 Votes
    3 Posts
    4k Views
    I
    Thanks for the tip!. It looks like a USB powered Arduino Nano cannot handle the long range radios power requirements. I powered the radio module independently and I can send commands succesfully again! The range has not improved, though, but that's another matter... Thanks !
  • 0 Votes
    6 Posts
    3k Views
    S
    I looking with a magnifying glass at the chip, i noted that this is NOT NRF24L01+ but just a NRF24L01 without the plus. I used this smaller versions and they worked immediately. I_GATEWAY_READY message appeared. http://www.ebay.com/itm/2-4G-NRF24L01-PA-LNA-Wireless-Module-with-Ceramic-Antenna-1-27mm-/400746941364?pt=LH_DefaultDomain_0&hash=item5d4e610bb4 MySensors did post a warning on that: http://forum.mysensors.org/topic/728/radio-setup-give-check-wires/16 THREAD RESOLVED.
  • 0 Votes
    3 Posts
    4k Views
    hekH
    @Dirk_H There isn't any limit. But keep the number of hops low if possible.
  • Relay with ACS712

    Hardware relay nrf24l01+
    18
    3 Votes
    18 Posts
    12k Views
    Boots33B
    @Shivanand-Chanderbally I recently finished a node using the acs712 and found it to be very sensitive to nearby magnetic fields. It is best to have it as far away from these as you can.
  • 0 Votes
    17 Posts
    11k Views
    gaduG
    @TommySharp Hmm dont really remember, but I think this was the solution https://github.com/knolleary/pubsubclient/issues/46
  • 0 Votes
    11 Posts
    8k Views
    FrancoisF
    @bjornhallberg can you measure the voltage on your batteries it will be great to know what you're voltage are.
  • 2 Votes
    92 Posts
    56k Views
    D
    @ricardot said in pimatic-mysensors controller plugin: @Dheeraj, Do you plan to continue to develop this plugin? I will very pleased to see a mysensors button. Thank you! I second this. And also see if we can lose the dependency on serialport 2.0.6 so that we can use Node.js > 4.9.1

4

Online

11.7k

Users

11.2k

Topics

113.0k

Posts