Ethernet shield + NRF24L01 radio init fail and MQTT server disconnects every 10 second
Gustafsson last edited by Gustafsson
I know this issue has been talked about a lot but I can't get it to work. I have a Arduino Uno with Ethernet Shield on top and attached to that is my NRF24L01 with antenna. On my Radio I have soldered on a capacitor between VCC and GND and I also connected the wires like this,
GND to GND
VCC to 3,3V
CE to pin 5
CSN to pin 6
SCK to pin A0
MOSI to pin A1
MISO to pin A2
When I upload my sketch, MySensors/GatewayW5100MQTTClient, to my arduino I removed the comment before #define MY_SOFTSPI on line 443 in my myConfig.h file.
All I get when I try to run my gateway is that my Radio Init Failed and I just cant figure out what is going on.
I also installed MQTT server on my Rasp Pi to communicate whit my openhab controller, It worked fine. But after the first reboot of my Rasp Pi the MQTT server disconnects and connects every 10 second. I think this is a weird behavior.
Anyone got a clue for me?