[SOLVED] Not working: Distance Sensor connected to Arduino Uno with NRF24L01+ and adapter
-
I am trying to get my 1st sensor board working, but stil no luck.
What I have done:
- installed the latest Arduino software for Windows: v1.8.3
- Installed mysensor library (library manager Arduino Software: v2.1.1
- installed https://github.com/mysensors/MySensorsArduinoExamples: copied libraries and examples to arduino folder (overwrite the original files if needed)
- Used hardware:
-
Arduino Uno
-
NRF24L01+ adapter:
https://www.tinytronics.nl/shop/nl/communicatie/nrf24l01-wireless-module-adapter-board
Hardware connections:
=> First experiment without adapter board:
http://schullebernd.de/wp-content/uploads/2015/10/Schaltbild_nRF24L01_ArduinUNO_mit_Elko.png
=> Second experiment with adapter board as above but without condensator and board adapterboard powered with 5volt.Ofcourse ultrasoon sensor connected too according https://www.mysensors.org/build/distance,
one exception: #define TRIGGER_PIN 6 changed in 3 (because pin 6 is already used by NRF24L01)After uploading the Distance Sensor sketch I opened the debug window which show this:
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
3 TSM:INIT
4 TSF:WUR:MS=0
11 !TSM:INIT:TSP FAIL
12 TSM:FAIL:CNT=1
14 TSM:FAIL:PDT
10016 TSM:FAIL:RE-INIT
10018 TSM:INIT
10024 !TSM:INIT:TSP FAIL
10028 TSM:FAIL:CNT=2
10029 TSM:FAIL:PDTI have check everything, same results in both hardware setup (with or without NRF24L01 adapter).
Power is ok.I really don't know what's wrong.
By the way: I get a lot of warnings: "Invalid version found: 1.04": this after I have uploaded the https://github.com/mysensors/MySensorsArduinoExamples files..
I really hope somebody can help.
Regards,
;-) Arthur
-
I am trying to get my 1st sensor board working, but stil no luck.
What I have done:
- installed the latest Arduino software for Windows: v1.8.3
- Installed mysensor library (library manager Arduino Software: v2.1.1
- installed https://github.com/mysensors/MySensorsArduinoExamples: copied libraries and examples to arduino folder (overwrite the original files if needed)
- Used hardware:
-
Arduino Uno
-
NRF24L01+ adapter:
https://www.tinytronics.nl/shop/nl/communicatie/nrf24l01-wireless-module-adapter-board
Hardware connections:
=> First experiment without adapter board:
http://schullebernd.de/wp-content/uploads/2015/10/Schaltbild_nRF24L01_ArduinUNO_mit_Elko.png
=> Second experiment with adapter board as above but without condensator and board adapterboard powered with 5volt.Ofcourse ultrasoon sensor connected too according https://www.mysensors.org/build/distance,
one exception: #define TRIGGER_PIN 6 changed in 3 (because pin 6 is already used by NRF24L01)After uploading the Distance Sensor sketch I opened the debug window which show this:
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
3 TSM:INIT
4 TSF:WUR:MS=0
11 !TSM:INIT:TSP FAIL
12 TSM:FAIL:CNT=1
14 TSM:FAIL:PDT
10016 TSM:FAIL:RE-INIT
10018 TSM:INIT
10024 !TSM:INIT:TSP FAIL
10028 TSM:FAIL:CNT=2
10029 TSM:FAIL:PDTI have check everything, same results in both hardware setup (with or without NRF24L01 adapter).
Power is ok.I really don't know what's wrong.
By the way: I get a lot of warnings: "Invalid version found: 1.04": this after I have uploaded the https://github.com/mysensors/MySensorsArduinoExamples files..
I really hope somebody can help.
Regards,
;-) Arthur
@Arthur welcome to the mySensors forum!
@arthur said in Not working: Distance Sensor connected to Arduino Uno with NRF24L01+ and adapter:
overwrite the original files if needed
Make sure no files are overwritten in the libraries/mysensors folder.
I think you're just using the wrong connections.
Have a look here how to connect the radio: https://www.mysensors.org/build/connect_radio
The pinout for Uno is the same as for Promini.Good luck !
-
I am trying to get my 1st sensor board working, but stil no luck.
What I have done:
- installed the latest Arduino software for Windows: v1.8.3
- Installed mysensor library (library manager Arduino Software: v2.1.1
- installed https://github.com/mysensors/MySensorsArduinoExamples: copied libraries and examples to arduino folder (overwrite the original files if needed)
- Used hardware:
-
Arduino Uno
-
NRF24L01+ adapter:
https://www.tinytronics.nl/shop/nl/communicatie/nrf24l01-wireless-module-adapter-board
Hardware connections:
=> First experiment without adapter board:
http://schullebernd.de/wp-content/uploads/2015/10/Schaltbild_nRF24L01_ArduinUNO_mit_Elko.png
=> Second experiment with adapter board as above but without condensator and board adapterboard powered with 5volt.Ofcourse ultrasoon sensor connected too according https://www.mysensors.org/build/distance,
one exception: #define TRIGGER_PIN 6 changed in 3 (because pin 6 is already used by NRF24L01)After uploading the Distance Sensor sketch I opened the debug window which show this:
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
3 TSM:INIT
4 TSF:WUR:MS=0
11 !TSM:INIT:TSP FAIL
12 TSM:FAIL:CNT=1
14 TSM:FAIL:PDT
10016 TSM:FAIL:RE-INIT
10018 TSM:INIT
10024 !TSM:INIT:TSP FAIL
10028 TSM:FAIL:CNT=2
10029 TSM:FAIL:PDTI have check everything, same results in both hardware setup (with or without NRF24L01 adapter).
Power is ok.I really don't know what's wrong.
By the way: I get a lot of warnings: "Invalid version found: 1.04": this after I have uploaded the https://github.com/mysensors/MySensorsArduinoExamples files..
I really hope somebody can help.
Regards,
;-) Arthur
-
Hello !
I checked everything again, deinstalled Arduino and removed the userdata too.
- Installed arduino again.
- Installed mysensor library (library manager Arduino Software: v2.1.1 installed * https://github.com/mysensors/MySensorsArduinoExamples: copied libraries and examples to arduino folder (but wihout any overwriting). After a new sketch upload I see now only 2 errors:
"Invalid version found: 1.04
Invalid version found: 1.04"instead if a huge list of the same errors..
I have checked the wire connections very secure using this images:
https://i.stack.imgur.com/wKz2l.png
https://www.mysensors.org/build/connect_radio
=> I have used the NRF24L01+ adapter also (no condensator needed), powersupply connected to the 5Volt pin from the Arduino Uno (original from Italy, no clone).
=> I have used the Gateway serial now, no ultrasoon sensor connected.
=> No powercable connected to the Arduino, this because it's connected with an USB-cable to my laptop which runs the Aduino software.
But when I check the debug info, I get this: :FAIL:RE-INIT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=3
0;255;3;0;9;TSM:FAIL:PDT
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.0
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=1
0;255;3;0;9;TSM:FAIL:PDT
0;255;3;0;9;TSM:FAIL:RE-INIT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;!TSM:INIT:TSP FAIL
0;255;3;0;9;TSM:FAIL:CNT=2What's wrong, do I made a mistake ?
I hope somebody can help...........
Many thanks !
;-) Arthur

-
Shit, it works I think.
Bad wire, I have now this output:
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.0
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;MCO:REG:NOT NEEDED
0;255;3;0;14;Gateway startup complete.
0;255;0;0;18;2.1.0
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1Thanks !
;-) Arthur
-
Shit, it works I think.
Bad wire, I have now this output:
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.0
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;MCO:REG:NOT NEEDED
0;255;3;0;14;Gateway startup complete.
0;255;0;0;18;2.1.0
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1Thanks !
;-) Arthur
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
