Hi Renzo,
I have trouble with config Lora E32 433T30D, I see it can sendmessage with code 1: success, but they can not receive. I dont know why and how to solve, I use ESP32 doit devkit V1, it do not support softwareSerial so I use hardwareSerial (Serial2) for connect Lora module.
I have info after config as below for 1st module:
HEAD : 10010001 145 91
AddH : 0
AddL : 2
Chan : 17 -> 433MHz
SpeedParityBit : 0 -> 8N1 (Default)
SpeedUARTDatte : 11 -> 9600bps (default)
SpeedAirDataRate : 10 -> 2.4kbps (default)
OptionTrans : 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)
OptionPullup : 1 -> TXD, RXD, AUX are push-pulls/pull-ups
OptionWakeup : 0 -> 250ms (default)
OptionFEC : 1 -> Turn on Forward Error Correction Switch (Default)
OptionPower : 0 -> 20dBm (Default)
—————————————-
Success
Waiting for incoming data…
Data available: 0
CHECK: No_data
And 2nd Module as below:
HEAD : 11000011 195 C3
AddH : 0
AddL : 3
Chan : 17 -> 433MHz
SpeedParityBit : 0 -> 8N1 (Default)
SpeedUARTDatte : 11 -> 9600bps (default)
SpeedAirDataRate : 10 -> 2.4kbps (default)
OptionTrans : 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)
OptionPullup : 1 -> TXD, RXD, AUX are push-pulls/pull-ups
OptionWakeup : 0 -> 250ms (default)
OptionFEC : 1 -> Turn on Forward Error Correction Switch (Default)
OptionPower : 0 -> 20dBm (Default)
—————————————-
Success
Waiting for incoming data…
Data available: 0
CHECK: No_data
Hi Renzo,
Thanks for your support, I have update my code with your comment, I also check voltage of all lora pin, I get M0 = M1 = 0v, AUX = 3.3v, Tx = 3.3v, Rx = 3.3v, for both module. But can not get receive data from both.
AUX, RX, TX I use resistor 4.7k to 3.3v and M1, M0 use 1k ohm to GND (cause if dont use resistor it always 3.3v even though I set it LOW . Serial output as below:
CHECK: No_data
No_data
Pin GPIO27: 0.00 V
Pin GPIO33: 0.00 V
Message sent successfully!
Module acknowledged with response:
Waiting for incoming data…
Data available: 0
CHECK: No_data
void voltage() {
for (int i = 0; i < numPins; i++) {
int pin = adcPins[i];
int adcValue = analogRead(pin); // Đọc giá trị ADC
float voltage = adcValue * 3.3 / 4095.0; // Chuyển đổi giá trị ADC sang điện áp
Serial.print(“Pin GPIO”);
Serial.print(pin);
Serial.print(“: “);
Serial.print(voltage);
Serial.println(” V”);
}
}
Please help! Thank Renzo!
Hi Renzo,
They have been communicated each other, I change UART_BPS_RATE_9600 for serial speed and configuration.SPED.uartBaudRate = 0x03 and it works.
I try to set higher like 19200 for all but after upload it in restart loop. Just 9600 is suitable, I dont know why.
Thank Renzo!
Maintaining a repository (or site or forum) is a lot like tending to a garden - it requires constant care and attention to keep it thriving. If you're a skilled gardener (or coder!) and want to help keep our repository blooming, we'd love to have you on board! We're also looking for talented writers and forum moderators to help us grow our community. Interested in joining our team? Don't hesitate to reach out and let us know how you can contribute!
Are you a fan of electronics or programming? Share your knowledge with others, write a simple tutorial or how to make a great project Contact me: share_your_ideas@mischianti.org
The content displayed on this website is protected under a CC BY-NC-ND license. Visitors are prohibited from using, redistributing, or altering any content from this website for commercial purposes, including generating revenue through advertising. Any unauthorized use is a violation of the license terms and legal action may be taken against individuals or entities found to be in violation.
You must also provide the link to the source.
Welcome to Our Family!
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.