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 BuildI'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.......
-
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
-
My NRF24 Gateway and Nodes were working fine for 2 days then everything stopped!!!
Troubleshooting • 12 Apr 2016, 21:40 • micah 15 Apr 2016, 19:59 -
Newbie question about Sending sensor data with an nRF52832 module to my sensors
Hardware • 12 Apr 2020, 04:55 • tBS 26 Apr 2020, 15:57 -
💬 Just RFM gateway
OpenHardware.io • 15 Nov 2016, 01:19 • openhardware.io 10 Mar 2017, 18:15 -
Cross compile mysensors gateway
General Discussion • 30 Aug 2020, 10:42 • Jasper van Zuijlen 8 Sept 2020, 07:11 -
[SOLVED] ESP8266MQTTClientGateway problem
General Discussion • 24 Jan 2016, 19:32 • mbj 26 Jan 2016, 21:29 -
Parallel Gateways
General Discussion • 29 May 2020, 11:12 • jocke4u 29 May 2020, 12:35 -
ENC28J60 and EtherCard
My Project • 2 Mar 2020, 21:56 • giangired 4 Mar 2020, 14:56 -
Data collection
My Project • 22 Sept 2014, 00:36 • pvoj 22 Sept 2014, 01:52