I’m using the RAK11300 on top of the RAK19010, with the RAK12007.
This is not really a software question, but how to connect the RAK12007 to the RAK19010 via a wire.
The reason is that i’d like to use both in separate enclosures connected with a connecting wire (in this case, RJ11’s). I’ve noticed the pads on the 120007 and soldered wires onto those, and i’d like to connect those to the terminals on the RAK19010.
I seem to have difficulty doing so, so i’m wondering if this is a scenario that should work.
You can use IO1 for Echo and IO2 for Trig. These pins are accessible in RAK19010. I did a quick test and it works fine. The PD pin can be left floating if you do not need power down control. You can use the RAK12007 example code here and modify the pin definition to use WB_IO1 and WB_IO2.
Working on an option for LoRa P2P as well.
No need for gateway and LoRaWAN server. Direct transmission to a Wisblock with display and buzzer for low level and overflow alerts.
hahaha! Oh wow guys! Thanks so much for the super quick responses.
I love that @beegee is using this at home. That’s really drinking your own Champain (hmm… maybe he should put that in his tank?!)
My application is exactly the same, and i have wired it up, but it’s not working so i need to double check things.
I’d love to get those 3d printed enclosures, given that i’m looking at an enter 3 next to me
I did see the pads and that it would be ready to put a connector on there. Is this something we could do at home?
(it’s so cool to find people that need exactly the same thing!)
So, of course before i posted on the forum i tried it myself already and couldn’t get it to work. Turns out the cable that i used to connect the two is actually a twisted cable and i just had the points the wrong way around. I didn’t troubleshoot it properely yesterday evening and that’s why i posted. I guess it was late and i was sleepy
Anyway - now connected properly and all is awesome as always with RAK
I’m planning to build the final solution with the ESP32 as lora in my application isn’t going to work well (unfortunately, i like it a lot). Any tips for deep deep sleep?
The sensor is working surprisingly well. The condensed water on the surface doesn’t affect it.
I had two incidents with tank overflow (the cheap valve has a tendency to hang) and the sensor got complete flooded. But as it is not powered permanently, only for measurements, it survived and after drying up the PCB it worked again.
Here is my visualization:
I am planning to share the code, but I am still testing the P2P version.
For the ESP32, you can have a look on this (very old) DeepSleep code. It is not made for the RAK11200, but for the Adafruit ESP32 Huzzah. So for the LoRa part there will be some changes required in the initialization (actually it is easier with a RAK11200 + RAK13300).
There’s something to say for having lora, BT and WiFi on the board, but i’ll order the RAK11200 and see how that goes.
It’ sreally a shame that i cna’t do lora with this little project. It would be so much better suited for it imho…
The LoRaWAN and the LoRa P2P code are the same.
You can setup the workmode with AT commands (I copied that from our RUI3 API) and use the same code for both.
The display part is not finished yet, I am trying to do some automatic pairing between the sensor and the display. The code is for RAK4631, but as I am using my WisBlock-API-V2, it should work the same way on the RAK11200.
I want to love the RAK11300, and haven’t played enough with it, but lack of good low power mode is a problem for me as well. The device is capable of it, but last time i checked that required super low-level programming (IE, not framework = arduino). Doing that brings lots of other libs that don’t work…
I guess it’s a “do you have enough time” problem, because if you had time to write all that code, it can be great…
Following up on this topic. I was wondering if it’s doable to connect the wires to TX0 and RX0 on the baseboard mini?
Struggling to find the pin numbers… (as always…)