Just bought a Iboard 1.1 and used the thread below to configure it.
https://forum.mysensors.org/topic/224/iboard-cheap-single-board-ethernet-arduino-with-radio/2
I used the Gatewayw5100 sketch and editted the following:
#if !defined(MY_W5100_SPI_EN) && !defined(ARDUINO_ARCH_SAMD)
#define MY_SOFTSPI
#define MY_SOFT_SPI_SCK_PIN 7
#define MY_SOFT_SPI_MISO_PIN 6
#define MY_SOFT_SPI_MOSI_PIN 5
#endif
// When W5100 is connected we have to move CE/CSN pins for NRF radio
#ifndef MY_RF24_CE_PIN
#define MY_RF24_CE_PIN 3
#endif
#ifndef MY_RF24_CS_PIN
#define MY_RF24_CS_PIN 8
#endif```
Also editted myconfig.h:
// Enable SOFTSPI for NRF24L01, useful for the W5100 Ethernet module
#define MY_SOFTSPI
/**
* @def MY_SOFT_SPI_SCK_PIN
* @brief Soft SPI SCK pin.
*/
#ifndef MY_SOFT_SPI_SCK_PIN
#define MY_SOFT_SPI_SCK_PIN 7
#endif
/**
* def MY_SOFT_SPI_MISO_PIN
* @brief Soft SPI MISO pin.
*/
#ifndef MY_SOFT_SPI_MISO_PIN
#define MY_SOFT_SPI_MISO_PIN 6
#endif
/**
* @def MY_SOFT_SPI_MOSI_PIN
* @brief Soft SPI MOSI pin.
*/
#ifndef MY_SOFT_SPI_MOSI_PIN
#define MY_SOFT_SPI_MOSI_PIN 5
#endif
All seems to work fine, except that the board keeps restarting? Debug-output:
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.0.237
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
IP: 192.168.0.237
The debug-log keeps flooding like this. I can ping the board, but 50% of all pings fail. Telnetting to port 5003 fails.
Anyone got any idea what is happening?