Hello there, I recently received my logic converter as you suggested me and I plugged everything back in ( see pictures, the links, can't manage to display pictures when I send them from my pc : http://imgur.com/gallery/1B7qWgt ).
Now I tried powering all this without burning the chip and after uploading the serial monitor showed me this:
0
init failed
sending message
(I'm using the Radiohead library )
I don't think it's normal that even if the init failed, the message is still sent
What could it be ?
I've searched in the library and can't find why the init returns false.
Also I modified the line rf95.waitPacketSent(); and added 9 seconds of delay and the other instructions unlocked after 9 seconds,
said there was no server online ( which is normal )
then tried to send another message but blocked again.
( Don't mind the Serial.print("Data" / "Driver ") those were just tests to see where the code stops )
Could you please help me ?
Also don't hesitate to use simple terms etc, I'm french and it would be better for me to understand all this
Thanks
Oh also I noticed I might run out of logic converters,
There are 5 digital outputs per RF M95 and I have a total of 8 digital converters
Is there a way to avoid using one of these outputs ?
Or convert them myself with resistors ?
Staren:
I don't think it's normal that even if the init failed, the message is still sent
What could it be ?
I've searched in the library and can't find why the init returns false.
The init writes to one of the LoRa devices registers and then reads it back, if this fails you get the init failed message.
So as before, you either have it wired wrong, the LoRa device is faulty or there is a problem with the Arduino.
Regarding the wiring,
It's: (Arduino side ---> Chip side )
DiO 13 ---> SCK
DiO 12 ---> MISO
DiO 11 ---> MOSI
DiO 10 ---> NSS
DiO 2 ---> DIO0
3.3V ---> 3.3V
GND ---> GND
I may have burned the chip the last time.
Should I try with another one with this wiring setup ?
Hello again,
So I tried wih the other chip ( never used it ) and it's doing exactly the same thing (Init failed then sending then no server found the re sending then nothing )
So in that case I guess the only solution is the wiring but again I connected everything at the right place
Anyone has an idea ?
Thanks
srnet:
Have you used a scope to check the levels and edges on both sides of the logic converter ?
Post 2 in this thread.
I don't get the first sentence, what do you mean ?
I noticed something stupid, I thought as I already had the chip plugged to the arduino I didn't need to plug the logic converter with the GND, 5V and 3.3V wires
Now it still fails the init but I don't get 0 at the beginning, I'm getting "FF"
I won't learn how to get rid of those mistakes though.
By the way I think my arduino IS able to deliver 3.3V because there's a 3.3V port, but on my last topic I've been told I HAD to use these logic converters even with this arduino
Any hint ?
Was it false ?
Staren:
I don't get the first sentence, what do you mean ?
If you had used a scope to check the signals either side of the logic level converter its likley there would of been an indication of a problem, the logic converter could have been faulty, not good enough or it could have been miss-wired.
Sorry for the late answer I didn't see there was a second page on my topic.
I still don't have any 3.3V board but I'll try again with the 5V and the logical converters until I manage to make the chip work / until I receive my 3.3V board
I'll try with the first chip though, I don't want to break the second and I still don't know if I broke the first
So until now with both RFM95 when I plug the logical converters the eror is:
FF
Init failed
Sending to the server
And when I remove the logical converter ( from the chip I'm supposed to have broken ) I get the qame error but with a 0 replacing the FF
I guess it's the same with the brand new one but since the error changes I guess my first chip isn't broken
I checked and FF means 255 in decimal so maybe my chip's sending a full byte of data then init fails I don't know why
Staren:
I checked and FF means 255 in decimal so maybe my chip's sending a full byte of data
More likely the LoRa device is not responding at all, and 0xFF is caused by a MOSI pin that has nothing connected to it on the other side of the logic level converter.