Please help! Arduino UNO + RFM69HW (TSM:INIT:TSP FAIL)
-
Hello,
A few things are wrong I think:
- RFM69 'HW' variant needs this define in your relay sketch:
#define MY_IS_RFM69HWyou can check docs here ;) https://www.mysensors.org/download/sensor_api_20#configuration
- RFM69 is not 5v tolerant on VCC, nor the spi bus. you're using a UNO, I understand you're using 3v, but UNO mcu is powered by 5v and outputs 5v signals on spi bus as (I think the 'not 5v tolerant' is in docs too. maybe we should highlight it
-
@scalz, many thanks for the reply and the desire to help!
I understand what you are talking about, but for now I can figure out how to solve it.
Perhaps you have ideas?Replace Arduino board with Pro Mini 3.3V?
-
@mfalkvidd I'm not properly connected? In the photo above. He's turned over there.
-
That is the voltage regulator like the one on the arduino that supplies the 3.3v pin, but the Arduino is using 5v also on the other GPIO pins and that usually could kill the RFM69 that should operate at 3.5V max on data pins
-
@vladimir the shopping guide at https://www.mysensors.org/build/connect_radio lists a logic level shifter.
@mfalkvidd thank you very much for your help! :+1: :v:
-
I hope you didn't fry the rfm69, so in case you are still having problems with the level shifter connected try with another module
-
-
@mfalkvidd Thank you! I hope I can figure it out. To regret, my knowledge of English is not very great. As I understand it, the connection scheme will be the most similar to this:

I'm right? -
@mfalkvidd Thank you! I hope I can figure it out. To regret, my knowledge of English is not very great. As I understand it, the connection scheme will be the most similar to this:

I'm right? -
@vladimir yes, that looks great (except for the brown cable that doesn't go through the level shifter)
@mfalkvidd So I do not like the converter for 4 channels?
Here this is indicated by the link you gave me above

It will take 5? More precisely 8-channel version? -
@mfalkvidd So I do not like the converter for 4 channels?
Here this is indicated by the link you gave me above

It will take 5? More precisely 8-channel version? -
@vladimir you will need to shift all signals. You can use multiple 4x boards, or a bigger board.
Edit: maybe miso and dio0 don't need to be shifted, since the Arduino only reads from it. But I am not 100% sure.
@mfalkvidd Thank you! :raised_hands: I'll try tomorrow.
-
4ch is enough as the brown cable is the interrupt signal so it's just an input on the arduino
