This project is modified based on the ESPLoRa single gateway for salt soda water.
It has been verified. The board verification was successful in early June, and it was not released until August, hahaha...
Differences from the original salt soda:
describe:
Main control: Essence's ESP32-S or Espressif's ESP32-WROOM-32. According to actual testing, these two modules are interchangeable. Just choose according to your own needs.
LoRa module: Anxinke Ra-01
Corresponding pins of ESP32 and Ra-01:
ESP32 Pins | Ra-01 Pins |
D5 | NSS |
D23 | MOSI |
D19 | MISO |
D18 | SCK |
D14 | RST |
D2 | DIO |
Function:
Precautions:
If you are using an SMA antenna, it is recommended to plug this hole with tin.
The capacitors NC1 and NC2 on the back of the PCB do not need to be soldered (they are used for impedance matching and adjusting the LoRa signal strength. You cannot choose them randomly!!! If you choose them correctly, you can enhance the signal. If you choose the wrong ones, they will weaken the signal. I don’t know how to calculate impedance, so I No soldering), but resistor R5 must be! (It plays a certain filtering role. Of course, if there is no 0Ω resistor, it can also be solved with a piece of tin)
45° routing version ( verified )
Arc routing version ( not verified )
About the IO port of ESP32:
Libraries used by the example program:
some documents:
image display:
front
reverse side
Start interface
Take the mold according to the logo on the salt soda water PCB
Test effect
Serial port:
ESP LoRa:
appendix:
The file name is PCB_ESP_LoRa_rev1.3.zip. Unzip it and use it. It cannot be uploaded without compressing the package...
Sample program:
Based on the modification of the original work, the LoRa library, u8g2 library, and WS2812 library have been added and can be used directly without adding them again. Requires PlatformIO platform!
The main program is main.cpp under src
The model of OLED display picture is in oled_font.h under include
I will write one using ESP-IDF when I have time (I guess it will take me a long time...)
schedule:
2021/09/26 The Zhongjingyuan oled program was successfully transplanted (using hardware I2C)
2021/10/08 The WS2812 program was successfully transplanted (based on Freenove_WS2812_Lib_for_ESP32 , using RMT)
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet