Hello.
I’m trying to implement the communication between two modules, using your sendFixedTransmission and receiveFixedTransmission on your E32 library. I have an Arduino Mega for both modules, with pins connected as:
* M0 —– 30
* M1 —– 31
* TX —– Serial2
* RX —– Serial2
* AUX —– 32
* VCC —– 5v
* GND —– GND
Both RX and TX have a level shifter for the 3.3V communication.
I’ve tried using both the EBYTE software configuration and the arduino code.
And the sender:
18:31:04.919 -> RX MIC ---> -1
18:31:04.919 -> TX MIC ---> -1
18:31:04.919 -> AUX ---> 32
18:31:04.919 -> M0 ---> 30
18:31:04.919 -> M1 ---> 31
18:31:04.966 -> Init AUX pin!
18:31:04.966 -> Init M0 pin!
18:31:05.014 -> Init M1 pin!
18:31:05.014 -> Begin ex
18:31:05.014 -> Begin Hardware Serial
18:31:05.014 -> Begin
18:31:05.014 -> MODE NORMAL!
18:31:05.392 -> AUX HIGH!
18:31:05.439 -> Complete!
18:31:05.486 -> MODE PROGRAM/SLEEP!
18:31:05.486 -> AUX HIGH!
18:31:05.533 -> Complete!
18:31:06.574 -> Available buffer: 0 structure size: 6
18:31:06.621 -> ----------------------------------------
18:31:06.668 -> HEAD : 1000111 71 47
18:31:06.668 ->
18:31:06.668 -> AddH : 84
18:31:06.668 -> AddL : 215
18:31:06.715 -> Chan : 235 -> 1097MHz
18:31:06.715 ->
18:31:06.715 -> SpeedParityBit : 11 -> 8N1
18:31:06.762 -> SpeedUARTDatte : 110 -> 57600bps
18:31:06.809 -> SpeedAirDataRate : 0 -> 0.3kbps
18:31:06.856 -> OptionTrans : 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)
18:31:06.951 -> OptionPullup : 1 -> TXD, RXD, AUX are push-pulls/pull-ups
18:31:07.045 -> OptionWakeup : 110 -> 1750ms
18:31:07.045 -> OptionFEC : 1 -> Turn on Forward Error Correction Switch (Default)
18:31:07.140 -> OptionPower : 1 -> 17dBm
18:31:07.188 -> ----------------------------------------
18:31:07.235 -> MODE NORMAL!
18:31:07.235 -> AUX HIGH!
18:31:07.235 -> Complete!
18:31:07.282 -> MODE PROGRAM/SLEEP!
18:31:07.329 -> AUX HIGH!
18:31:07.329 -> Complete!
18:31:07.377 -> AUX HIGH!
18:31:07.424 -> Complete!
18:31:07.424 -> Clear buffer...ok!
18:31:07.424 -> ----------------------------------------
18:31:07.518 -> HEAD BIN INSIDE: 11000000 192 C0
18:31:07.518 -> ----------------------------------------
18:31:07.565 -> MODE NORMAL!
18:31:07.565 -> AUX HIGH!
18:31:07.612 -> Complete!
18:31:07.612 -> ----------------------------------------
18:31:07.659 -> HEAD : 1000111 71 47
18:31:07.707 ->
18:31:07.707 -> AddH : 0
18:31:07.707 -> AddL : 1
18:31:07.707 -> Chan : 2 -> 864MHz
18:31:07.707 ->
18:31:07.707 -> SpeedParityBit : 11 -> 8N1
18:31:07.754 -> SpeedUARTDatte : 110 -> 57600bps
18:31:07.802 -> SpeedAirDataRate : 0 -> 0.3kbps
18:31:07.802 -> OptionTrans : 1 -> Fixed transmission (first three bytes can be used as high/low address and channel)
18:31:07.943 -> OptionPullup : 1 -> TXD, RXD, AUX are push-pulls/pull-ups
18:31:08.038 -> OptionWakeup : 110 -> 1750ms
18:31:08.038 -> OptionFEC : 1 -> Turn on Forward Error Correction Switch (Default)
18:31:08.134 -> OptionPower : 1 -> 17dBm
18:31:08.180 -> ----------------------------------------
18:31:10.158 -> Send message to 00 03 04
18:31:10.158 -> AUX HIGH!
18:31:10.206 -> Complete!
18:31:10.206 -> Clear buffer...ok!
18:31:10.206 -> Success
18:31:12.190 -> Send message to 00 03 04
18:31:12.190 -> AUX HIGH!
18:31:12.237 -> Complete!
18:31:12.237 -> Clear buffer...ok!
18:31:12.237 -> Success
18:31:14.217 -> Send message to 00 03 04
18:31:14.217 -> AUX HIGH!
18:31:14.217 -> Complete!
18:31:14.217 -> Clear buffer...ok!
Both modules are receiving enough power from an external source, and I’ve used a ESP-05 in Serial2 to test it and it’s working fine.
What else can I check?
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.