Arduino sensor does not communicate
-
Hi everyone,
I not make sensors since 2 year and i will make new.. But I failure since 2 week.
So i start to 0 but i don't find what i make wrong...
When I buy a official MY senser it's OK It's work but if I use a Pro Mini nothing work.I start /use mysensor official gateway W5100
I use PCBso no wiring to check (https://www.openhardware.io/view/4#tabs-instructions)
I use Ebyte antenna with small antenna (check with other sensor, it's work )
2 new AA battery + 4.7uF
Clear EPPROM before uploadAnd Steel.. no work
I try with 2 older Pro Mini different (already use work with MySensor in the past)
I try with Binarysensor sktech from library__ __ ____ | \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___ | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __| | | | | |_| |___| | __/ | | \__ \ _ | | \__ \ |_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/ |___/ 2.3.2 16 MCO:BGN:INIT NODE,CP=RNNNA---,FQ=8,REL=255,VER=2.3.2 28 TSM:INIT 28 TSF:WUR:MS=0 36 TSM:INIT:TSP OK 38 TSM:FPAR 40 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 2050 !TSM:FPAR:NO REPLY 2052 TSM:FPAR 2054 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 4063 !TSM:FPAR:NO REPLY 4065 TSM:FPAR 4067 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 6076 !TSM:FPAR:NO REPLY 6078 TSM:FPAR 6080 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 8089 !TSM:FPAR:FAIL 8091 TSM:FAIL:CNT=1 8093 TSM:FAIL:DIS 8095 TSF:TDI:TSL
Do you have idee where I don't have search ??
Thanks you so much
-
@tutur19 I'm sorry, I don't think I have enough details to do much troubleshooting. Though have you looked at the log parser? Here's a link for this specific log that you showed:
https://www.mysensors.org/build/parser?log=16 MCO%3ABGN%3AINIT NODE%2CCP%3DRNNNA---%2CFQ%3D8%2CREL%3D255%2CVER%3D2.3.2 28 TSM%3AINIT 28 TSF%3AWUR%3AMS%3D0 36 TSM%3AINIT%3ATSP OK 38 TSM%3AFPAR 40 %3FTSF%3AMSG%3ASEND%2C255-255-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 2050 !TSM%3AFPAR%3ANO REPLY 2052 TSM%3AFPAR 2054 %3FTSF%3AMSG%3ASEND%2C255-255-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 4063 !TSM%3AFPAR%3ANO REPLY 4065 TSM%3AFPAR 4067 %3FTSF%3AMSG%3ASEND%2C255-255-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 6076 !TSM%3AFPAR%3ANO REPLY 6078 TSM%3AFPAR 6080 %3FTSF%3AMSG%3ASEND%2C255-255-255-255%2Cs%3D255%2Cc%3D3%2Ct%3D7%2Cpt%3D0%2Cl%3D0%2Csg%3D0%2Cft%3D0%2Cst%3DOK%3A 8089 !TSM%3AFPAR%3AFAIL 8091 TSM%3AFAIL%3ACNT%3D1 8093 TSM%3AFAIL%3ADIS 8095 TSF%3ATDI%3ATSLSorry it's so long and ugly, but that way you don't even have to cut and paste into it. It handles most log outputs really well and has enough detail to usually help find the problem.
Unfortunately, I'm not really familiar with the W5100 gateway. I've only ever used a couple serial gateways and the MQTT gateways. So I'm not sure how different it is. However, the log shows that the gateway isn't responding to the find parent request. That could be because there's something off with the radio, or there's some programming error in the gateway, or in your sensor code. You might need to provide your code to look at. I'm not sure if a parent request goes up past the gateway to the host controller or not. If the controller needs to respond to it then it could also be a connection issue between the gateway and whatever controller you're using. What do you have set up as the host controller?
Though you say if you buy an 'official' sensor it works. So does that mean that everything in your system stays exactly the same except for swapping the 'official' sensor for one that you're building yourself? If so, maybe we would need to see your code for the good sensor side by side with the code that you are trying for your own sensor that isn't working.
Sorry that I can't be more help, but without seeing the code, it's hard to do more troubleshooting from here.
-
Hi,
thanks you so much for answer. I continue to search and I think I find what is wrong.. . .. It's because I use pin pitch female
And the connection is very bad.. Sometime it's work, sometime don't.. . I sold it, and I correctly use 3 NRF now...
I continue to compare but now I have a comparaison point...I continue to search but you're right, the parent ID is not setup same way on different sketch.
I try it next week.