[SOLVED] Problems with Ethernet Gateway (Arduino Ethernet Shield)
-
Ahh.. then we should be fine with the defaults. @Anticimex did his own modification in config to fit his gateway.
@hek Yes, basically, when using SOFT_SPI, you need to decide what pins to use and set the config accordingly. I believe things has been standardized a bit since I meddled with that, because I abandoned the SOFT_SPI approach as soon as I managed to manipulate SPI_EN. Saves me both wires, program space and energy :)
-
I have problems with this setup. No matter what I try i get this printout from the Humidity sensor node:
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
sensor started, id 255
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
T: 20.70
req node id
send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,st=ok:
H: 31.70Appreciate any tips and help!
-
I just switched to the ethernet gateway to try out native Domoticz support and quickly experienced the SPI issue that everyone has been talking about. Can someone explain how the MQTT gateway was able to run for several months with no issues, but the moment I flash the ETHERNET gateway on the same hardware everything goes belly up after a few hours?
-
@hek said:
I have now updated the ethernet sketch and instructions on www.mysensors.org to give a bit clearer instructions on how to use W5100 module and SoftSPI.
greate! But you forgot one thing ;)
RF24_config.h
const uint8_t SOFT_SPI_MISO_PIN = 15; const uint8_t SOFT_SPI_MOSI_PIN = 14; const uint8_t SOFT_SPI_SCK_PIN = 16; -
@korttoma Can you post the link to the updated code and the instruction of using NRF with ethernet module.
@mainali said:
Can you post the link to the updated code and the instruction of using NRF with ethernet module.
I think everything you need to know is described here -> http://www.mysensors.org/build/ethernet_gateway
-
@korttoma Can you post the link to the updated code and the instruction of using NRF with ethernet module.
This post is deleted! -
@korttoma Can you post the link to the updated code and the instruction of using NRF with ethernet module.
This post is deleted!