Have resolved and modified code as of 7/4/2024; only remaining issue no receiver interrupt except on ESP32 reset. Think if code is correct; only leaves a defective E220 module.
Renzo could you or a forum reader; please check the Receiver, mode settings, been working hard at coding this project. I am no expert on coding for RF modules of any kind. Old age of mid 70’s is setting in… still trying my best!
Load index7.h andsender from same folder. When sender and receiver are running; open web browser to 10.0.0.27/relay. this will send structure Message to receiver.
Kind Regards,
William
This topic was modified 3 months, 1 week ago by William.
This topic was modified 3 months, 1 week ago by William.
This topic was modified 3 months, 1 week ago by William. Reason: Added note to send Message structure
Hi William,
to manage the WOR, you must do some additional things.
To preserve Sleep mode, you must hold down the M0 M1 pin and enable the ext GPIO wake-up.
You can find what you need in this article.
// Send message
ResponseStatus rs = e220ttl.sendFixedMessage(0, DESTINATION_ADDL, CHANNEL, &message, sizeof(Message));
// Check If there is some problem of succesfully send
Serial.println(rs.getResponseDescription());
}
Additionally WOR message is transmitted successfully; Receiver does not respond. Checked pullup resistors; all 3.3V opposite of the 3.3V rail, referenced to ground.
M0 = 21, M1 = 19, TXD = 17, RXD = 16, AUX = 15 Vcc = 3.3V, and GND = Ground. Pin connections verifed by continuity tests. Modules programmed by Ebyte, RF software. Receiver ADDL 2, Channel 66, Tran Fixed, WOR period 2000ms, Power 30dbm. Sender same except ADDL 3.
Confused with simple Fixed Transmission, Sender example reults.
Modules configuration was done using Ebyte software application.
First, used the “Normal connections” to program E220 module, then used “Fully connected” to execute sketch. Sending of message from either Sender or Receiver only produces word “Success”; on module sending message. Message does not appear as the sent word “test”; does not appear on either serial monitor.
Both Sender and Receiver crash when trying to exeute sketch with “Normal connections”.
Please explain diffence between the pin connections listed as comments at top of sketch and the pins used in esp32 constructor.
Both Send and Receiver reported wrong configuration values from what was programmed with Ebyte programming software.
Best Regards,
William
This reply was modified 3 months ago by William. Reason: Clarifcation of early morning post
Hi William,
I think there is a wiring issue or device problem; I think you must return to a breadboard and arrive at a working solution, then start to check all variations from this version.
Bye Renzo
Have E220-Remote_Switch project working; posted to Espressif, ESP32.com, link to project code on Github and a Demo video of E220-Remote-Switch project.
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.