RAK19007+RAK13010 plus custom sensors over pins

I’m using a RAK19007 base board plus an RAK13010 SDI-12 attachment.

I’m running Meshtastic on the RAK4630 with some custom hacks. The RAK13010 works fine, but I need to add two more industrial sensors. One of them is a reed switch, which I added through WB_A1 and this works perfectly also - done!

The last sensor has a digital interface with input and output on 2 pins. It is like I2C (but it is not), so I need to drive it through 2 separate GPIOs.

Now I know that I have the following options:

  • take a RAK19001 base board instead to access more pins - that is easy, but seems to be unnecessary given that we have some more pins on RAK19007, therefore I want to

  • try the available pins on the RAK19007, which is my preferred solution. We have left: RX1, TX1, SDA, SCL, and IO1 and IO2 (which I originally intended to use).

Unfortunately, I could not find out from the Datasheet what is connected to what. RAK13010 uses WB_IO2, WB_IO4, WB_IO5 and WB_IO6.

Now if it uses WB_IO2, does it mess with the IO2 pin on the base board? Similarely, can I use the RX/TX pins or the SDA/SCL pins? What are the pin numbers of all those pins in the RAK4630 domain?

Any help appreciated. Thx

Welcome to the forum @belveder79

IO2 or WB_IO2 are the same GPIO, it is used to switch on/off the power of the RAK13010. You cannot use it as GPIO for other purposes.

IO1 can be used as additional GPIO.

TX1/RX1 can be used as additional GPIO’s, but you loose the Serial1 interface. You must not enable Serial1 if you use them as GPIO’s
SCL/SCK can be used as additional GPIO’s, but you loose the I2C (Wire) interface. You must not enable I2Cif you use them as GPIO’s and you can’t use other sensor modules that require I2C.

thanks for the warm welcome :slight_smile:

will try out and report back if I have any issues… thx a lot