Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
Bart BaarsB

Bart Baars

@Bart Baars
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • IBoard with MySensors 2.0 library
    Bart BaarsB Bart Baars

    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?

    Hardware

  • Ethernet gateway troubleshooting advice
    Bart BaarsB Bart Baars

    Sorry for the huge kick.. But I seem to have the same ethernet gateway as TS. His his wire diagram valid?

    Troubleshooting w5100 nrf24l01+ ethernet vera gateway
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular