iBoard - Ethernet Gateway - Check Wires



  • Hello Everyone -

    Apologies for starting a new thread on this but the build thread where I posted my question isn't getting much traffic these days.

    I'm trying to convert to an Ethernet Gateway using an iBoard as seen in this thread:
    iBoard Build

    I'm attempting to use @nneeoo 's method of not making hardware modifications. (Not that I'm against that, but if I could leave it alone - all the better)

    When I make the below changes, I'm getting the "check wires" message. So I'm either doing something wrong with my config or I'm going to have to make the HW modification anyway.

    Any thoughts?

    Here's my relevant RH24_Config settings:

    const uint8_t SOFT_SPI_MISO_PIN = 6; 
    const uint8_t SOFT_SPI_MOSI_PIN = 5; 
    const uint8_t SOFT_SPI_SCK_PIN = 7;  
    const uint8_t SPI_MODE = 0;
    

    And here's my setup in my gateway sketch:

    #include <Ethernet.h>   
    
    
    #define INCLUSION_MODE_TIME 1 // Number of minutes inclusion mode is enabled
    #define INCLUSION_MODE_PIN  3 // Digital pin used for inclusion mode button
    
    #define RADIO_CE_PIN        5  // radio chip enable
    #define RADIO_SPI_SS_PIN    6  // radio SPI serial select
    #define RADIO_ERROR_LED_PIN 10  // Error led pin
    #define RADIO_RX_LED_PIN    8  // Receive led pin
    #define RADIO_TX_LED_PIN    9  // the PCB, on board LED
    
    #define IP_PORT 5003        // The port you want to open 
    IPAddress myIp (192, 168, 34, 169);


  • It appears I may have had my pin assignments incorrect. I looked at the iBoard schematic and came up with this:

    RH24_Config

      const uint8_t SOFT_SPI_MISO_PIN = 6; 
      const uint8_t SOFT_SPI_MOSI_PIN = 5; 
      const uint8_t SOFT_SPI_SCK_PIN = 7;  
    

    Gateway Sketch:
    #define INCLUSION_MODE_TIME 1 // Number of minutes inclusion mode is enabled
    #define INCLUSION_MODE_PIN 10 // Digital pin used for inclusion mode button

    #define RADIO_CE_PIN        3  // radio chip enable
    #define RADIO_SPI_SS_PIN    8  // radio SPI serial select
    #define RADIO_ERROR_LED_PIN 11  // Error led pin
    #define RADIO_RX_LED_PIN    12  // Receive led pin
    #define RADIO_TX_LED_PIN    13  // the PCB, on board LED
    

    I'm now getting "Gateway Startup Complete" but I'm still unable to ping the board from another host on my network. I see the Tx and Rx lights flashing (as well as the Link) but no joy.

    0;0;3;0;14;Gateway startup complete.
    

    Any help?



  • Hello everyone. I gave up on the software method and just did the hardware mod. I highly recommend it. It only too 10-15 minutes and a steady hand.

    Now to figure out how to do the TX/RX/ERR/Inclusion stuff.......


  • Hero Member

    Hello,

    have you contacted Itead support on this ?

    I bought one too but had no time to test it yet (In fact I was waiting for you 😉



  • @epierre said:

    Hello,

    have you contacted Itead support on this ?

    I bought one too but had no time to test it yet (In fact I was waiting for you 😉

    No worries, @epierre . I put a test webserver on the iBoard to make sure it was working OK. I was able to browse an SD card over ethernet so I didn't want to bother their support people. I never heard from @nneeoo and just decided to go the hardware route. It seems to be working just fine. I recommend it. It's more stable than the serial gateway I was running.



Suggested Topics

  • 69
  • 3
  • 1
  • 1
  • 7
  • 2
  • 4
  • 6

69
Online

11.4k
Users

11.1k
Topics

112.7k
Posts