Thanks gohan,
Today my setup in on breadboard and I did not soldered pin of my arduino and my issue comes from bad contact on pin between arduino and NRF24.
Thanks again
Posts made by knop
-
RE: NRF24 Init fail with Arduino mini pro 3v3
-
RE: NRF24 Init fail with Arduino mini pro 3v3
@gohan
Ok thanks gohan
So you suggest that i apply 5v from my arduino uno in raw pin of mini pro, right?
And how power supply nrf24l01?
Thanks -
NRF24 Init fail with Arduino mini pro 3v3
Hi,
I've a sketch which is working fine with arduino Uno, the exactly same sketch in arduino mini pro is failed :
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
4 TSM:INIT
4 TSF:WUR:MS=0
6 RF24:write register, reg=0, value=14
14 RF24:write register, reg=3, value=3
18 RF24:write register, reg=4, value=95
22 RF24:write register, reg=5, value=76
26 RF24:write register, reg=6, value=39
30 RF24:write register, reg=16, value=115
36 RF24:write register, reg=29, value=6
40 RF24:read register, reg=6, value=0
45 RF24:read register, reg=5, value=0
47 !RF24:INIT:SANCHK FAIL
51 !TSM:INIT:TSP FAIL
53 TSM:FAIL:CNT=1
55 TSM:FAIL:PDT
57 RF24:write register, reg=0, value=12
61 RF24:PDThe NRF24L01 is working fine (it is a same that is running in Arduino Uno), My arduino mini pro seems to working fine (I've tested with Blink sketch).
For connection I've followed :https://www.mysensors.org/build/connect_radio#nrf24l01+-&-arduino
To power supply my arduino mini pro I've used 3.3V pin from my arduino Uno, I've also connected VCC of NRF24L01 to 3.3VDo you have an idea of what is wrong ?
Thanks for your help.
Chris
-
RE: Strange behaviour with mysensors + RFLink
Ok thanks you guys, I will try to make a Serial GW with Arduino Uno + NRF24L01
And to connect this GW to my Raspberry Pi3.
But I very disappointed about RFLink, and do not understand why there is an option "MySensors" on it !Thanks again for clarifications.
Chris
-
RE: Strange behaviour with mysensors + RFLink
Hi,
Little update. So I need as you said a serial gateway. The question is : does rflink is equivalent to mysensors gateway ?
If not i need to build a serial gw and connect it on usb port of my raspberry and declare it on domoticz interface. If yes how to configure domoticz to manage rflink + others protocol ? (Declare 2 gateways (rflink and traditionnal gw) on same usb port?
Thanks for your help.
Chris -
RE: Need example for setup : RFLink + mySensors Project with NRF24L01
Ok thanks, but concretely what I must do to succeed to receive msg send from arduino nano pro/NRF24L01 to my RFLink ?
Sorry I'm newbie in MySensors environement
Thanks for your help
Chris
-
RE: Need example for setup : RFLink + mySensors Project with NRF24L01
thanks Fabien,
I do not understand your answer.
My RFLink it is an official RFLink Gateway (based on Arduino MEGA), RFLink normally support 2.4Ghz signal (on receive), I've checked on RFLink setup that mysensors support is activated (mySensors=on)
So normally with RFLink I'm able to received packets from MySensor sensor (arduino pro mini + NRF24L01).
I'm not expert, only beginner on RFLink/Mysensors environnement so may be I've missing something.
-
RE: Strange behaviour with mysensors + RFLink
Good remark
But I've checked this point ;-), I've disconnected one wire of my NRF24L01 and no more packets received on RFLink
-
Need example for setup : RFLink + mySensors Project with NRF24L01
Hello MySensors community,
I would like to know if someone have a setup with RFLink (connected to RaspberryPi3 and domoticz) and use a sensor based on Arduino Uno or Arduino Pro mini connected to NRF24L01.
My goal is to create a reed (contact) sensor with arduino pro mini with NRF24L01.I've tried some manipulation but impossible to receive packets (status about sensors) on RFLink.
If someone have already this setup and can share sketch uploaded on arduino + hardware setup it would be very great.
Thanks for your help.
Chris.
-
RE: Strange behaviour with mysensors + RFLink
Thanks for feedback,
I'm not an expert, I just want to know if is it normal behavior to have packets send by mysensors lib in empty project ?
Thanks for your clarification
Chris -
RE: Strange behaviour with mysensors + RFLink
@gohan said in Strange behaviour with mysensors + RFLink:
Mysensors has some "service" traffic maybe it is what you are seeing (I am not into RF su I don't know how to read the debug messages you get)
Thanks gohan, very Interesting, if you have more information about that (how to deactivate it etc..), it should be great
-
RE: Strange behaviour with mysensors + RFLink
@yos2000 said in Strange behaviour with mysensors + RFLink:
Same here:
20;76;MySensors;ID=03;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1d0303ff020307ff;This is a DHT22 sending temp en hum. It worked on a mysensors gateway, but is see these logs when I try to read it with the RFlink. (Firmware 46 & 47)
Thx for your reply
In your sketch to manage the DHT22 you have send(msg...) to transmit temp/hum ?
In my case there is nothing in setup() and loop(), if I remove "#include <MySensors.h>" in my sketch there is not packet receive in RFLink. The behaviour seems to come from MySensors library which send itself some packets ! -
RE: Strange behaviour with mysensors + RFLink
Furthermore I did not change MyConfig.h and some others files in MySensors (no DEBUG etc..), I'm using MySensors V2.1.1
I'm using RF24 lib from TMRh20 version 1.3.0Thanks
-
RE: Strange behaviour with mysensors + RFLink
I think it is not noise, I've tried with 10meters between my RFLink and Arduino+NRF24 and same packets received on RFLink
-
Strange behaviour with mysensors + RFLink
Hi,
I need your help to understand this strange behaviour :
I've an Arduino Uno with NRF24L01 and with this sketch :
#define MY_RADIO_NRF24#include <avr/sleep.h> // Sleep Modes
#include <MySensors.h>
#include <SPI.h>void setup() {
// put your setup code here, to run once:}
void loop() {
// put your main code here, to run repeatedly:}
So this sketch is "empty" and when is loading on Arduino Uno + NRF24, I've received packets from this setup on my RFLink !! (checked with RFLinkLoader)
(My RFLink setup is Firmware R47 and setRF433=ON;setNodoNRF=OFF;setMilight=OFF;setLivingColors=OFF;setAnsluta=OFF;setGPIO=OFF;setBLE=OFF;setMysensors=ON;)
Packets looks like :
20;09;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1cffffff020307ff;
20;0A;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1dffffff020307ff;
20;0B;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1effffff020307ff;
20;0C;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1fffffff020307ff;
20;0D;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1cffffff020307ff;
20;0E;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1dffffff020307ff;
20;0F;MySensors;ID=FF;Len=00;pltype=00;t=07;s=FF;DEBUG=ff1effffff020307ff;So how it is possible ? What is the meaning of these packets ?
Thanks for your feedback
Chris.