Rak3172 start guide

I have bought a RAK3172 Module and would like to program it with my computer. I’ve learned that it works perfectly with lora devices. My problem is that I don’t know which USB TTL UART adapter I’m going to use. Please help me, I’m new here.
See my schematic

Welcome to the forum @Anytoutcourt12

A CH340 is possible to use. We use the same chip on our WisBlock Core module with the RAK3172.

Schematics of the core module, you can use it as a reference design ==> RAK3372 WisBlock LPWAN Module Datasheet | RAKwireless Documentation Center

I think the pins are limited and there may be conflicts. I would like to use the pins of the rak3172.

I don’t understand what you mean.

UART2 RX and TX are not limited and assigned for serial communication.
You cannot connect a USB directly to the RAK3172 you need a USB/TTL converter like the CH340.

Yes I understand you well. I would like to know if the diagram I made is correct. Thank you

Not really.
While I don’t see problems in 98%, I see the risk of fire or even a small explosion.

Your 5V from the USB connector is directly connected to your battery?

I don’t think your 18650 battery will like that.

The other thing is your RTS connection to RESET. Why? The switch on RESET will not do anything, because the RAK3172 RST (different signal in your schematic) is only connected to the R/C network, which is correct.

Yes the USB is directly connected to the battery

Regarding the reset of the rak3172 I have not yet put a button for the configuration

USB 5V directly on the 18605 battery :astonished:

Better make sure you have a fire extinguisher at hand when you power it up

What to do in this case? Please help me

Is there no one here to suggest what to do?

We misunderstood each other. When the USB is plugged in, the battery is not connected. But when the USB is unplugged, the battery can be connected to power the various modules.

It’s your board that burns when you forget one time.

Better to put a protection in there like we have in our WisBlock Base Boards (but I am sure there are other/better solutions)
image

Ok thanks i understand

I’ve had a big concern for a while that I’d like to ask you about too. In the documentation it is possible to use RUI or STM32Cube to program the Rak3172 but I would like to know if I use RUI, do I still use the STM32 microcontroller integrated in the Rak3172 module? If not, which microcontroller is used in this case?

The RAK3172 has only one MCU, so whether you use STM32CubeIDE or RUI3, it is the same MCU.

Thanks for the help. Another question, isn’t there a rak3172 simulation software?

No there is no simulation software for any of our modules.

Super I have several sensors to connect to the rak3172 module, so I’ll give you a list of these sensors and you can tell me which ones are really compatible with the rak3172 module and which libraries I can use:
DHT22, Mics-VZ-89te, mics-6814, mq136, mq131, pm5003

DHT22 might work (not sure never tried it)
For the other sensors, I don’t know them.