Hi Claudio,
the configuration is wrong, you don’t initialize the Serial, the library do it for you.
You can look at this topic with the same esp32 configuration problem.
Good afternoon Renzo.
I have the same reboot-loop problem. I am using your example program to read the E32 configuration. It worked until yesterday. But when I used your “E32_Transparent_transmission” program, it didn’t work. And I reinstalled the read config one, but it no longer works. Is it possible that the E32 is damaged?
Hi,
the usage of Serial2 can’t work, because you do the begin and inside the library I do begin again.
To use custom pin on esp32 you can refer this article
E:\AZsystem_Control\azESP32\azLoRa\E32_GetConfiguration_2\E32_GetConfiguration_2.ino: In function ‘void setup()’:
E32_GetConfiguration_2:41:5: error: ‘e32ttl100’ was not declared in this scope
e32ttl100.begin();
^
exit status 1
expected unqualified-id before numeric constant
SpeedParityBit BIN : 10 -> 8E1 SpeedUARTDataRate BIN : 101 -> 38400bps SpeedAirDataRate BIN : 0 -> 0.3kbps OptionTrans BIN : 1 -> Fixed transmission (first three bytes can be used as high/low address and channel) OptionPullup BIN : 0 -> TXD, RXD, AUX are open-collectors OptionWakeup BIN : 10 -> 750ms OptionFEC BIN : 0 -> Turn off Forward Error Correction Switch OptionPower BIN : 1 -> 17dBm
I have changed board, using now a NodeMCU ESP8266 as Receiver.
The Transmitter is running on TTGO TCALL, but I cannot receive any on NodeMCU.
As you can see below, ALL settings parameters are the same between TX and RX.
There are the TTGO TCALL pin’s (TRANSMITTER)
// ——————————————–
// PIN TCALL <–> E32868T30D
// ——————————————–
#define PIN_M0 19 // connect this to the EBYTE M0 pin | GIALLO | ARANCIO
#define PIN_M1 35 // connect this to the EBYTE M1 pin | VERDE | GIALLO
#define PIN_TX 12 // connect this to the EBYTE RX pin | BLU | BLU
#define PIN_RX 14 // connect this to the EBYTE TX pin | VIOLA | VERDE
#define PIN_AUX 34 // connect this to the EBYTE AUX pin | GRIGIO | VIOLA
LoRa_E32 e32Series(PIN_RX, PIN_TX, &ESerial, PIN_AUX, UART_BPS_RATE_9600, SERIAL_8N1);
This is the output of printParameters of TRANSMITTER.
SpeedParityBit BIN : 0 -> 8N1 (Default)
SpeedUARTDataRate BIN : 11 -> 9600bps (default)
SpeedAirDataRate BIN : 10 -> 2.4kbps (default)
OptionTrans BIN : 0 -> Transparent transmission (default)
OptionPullup BIN : 1 -> TXD, RXD, AUX are push-pulls/pull-ups
OptionWakeup BIN : 0 -> 250ms (default)
OptionFEC BIN : 1 -> Turn on Forward Error Correction Switch (Default)
OptionPower BIN : 0 -> 20dBm (Default)
—————————————-
Success
1
—————————————-
HEAD BIN: 11000011 195 C3
Freq.: 45
Version : C
Features : 1E
—————————————-
There are the NodeMCU pin’s (RECEIVER)
// ——————————————–
// PIN NODEMCU <–> E32868T30D
// ——————————————–
#define PIN_M0 5 // D1 on the board (connect this to the EBYTE M0 pin) | GIALLO
#define PIN_M1 4 // D2 on the board (connect this to the EBYTE M1 pin) | VERDE
#define PIN_TX 12 // D6 on the board (connect this to the EBYTE RX pin) | BLU
#define PIN_RX 14 // D5 on the board (connect this to the EBYTE TX pin) | VIOLA
#define PIN_AUX 16 // D0 on the board (connect this to the EBYTE AUX pin) | GRIGIO
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.
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.