<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[m5 stack is rubbish support for arduino, lorae220-433 on atoms3 lite and atom s3r fail on arduino but fine on ui flow]]></title><description><![CDATA[<p dir="auto">LoRa Communication Issue: Arduino Code vs UIFLOW<br />
Problem Overview:</p>
<p dir="auto">I’m working with two M5Stack Atom S3 Lite devices with LoRa E220-433 modules.<br />
UIFlow code works perfectly for sending and receiving messages between the devices, immediately and without issue.<br />
However, when using Arduino IDE with a similar configuration, the sender sends data, but the receiver doesn’t get the messages.<br />
Details:<br />
Sender Code (Arduino IDE):</p>
<p dir="auto">The code sends messages via LoRa.<br />
Serial Monitor shows confirmation of messages being sent.<br />
Example output from sender Serial Monitor:<br />
makefile<br />
Copy code<br />
DEBUG: Sent message via LoRa: Hello<br />
DEBUG: Sent message via LoRa: Hello<br />
Receiver Code (Arduino IDE):</p>
<p dir="auto">The code is set to the same address 0x0007 and channel 7 as the sender.<br />
The receiver is initialized and waits for incoming data.<br />
Serial Monitor shows initialization messages, but no incoming data is received.<br />
vbnet<br />
Copy code<br />
DEBUG: LoRa Receiver setup starting...<br />
DEBUG: LoRa module initialized.<br />
DEBUG: LoRa module configured with Address 7 and Channel 7.<br />
What Works (UIFlow):<br />
When using UIFlow, the setup works immediately.<br />
Sender and receiver exchange data perfectly via LoRa.<br />
No issues when running the same setup via UIFlow.<br />
Steps Taken to Resolve the Issue:<br />
Configuration Check:</p>
<p dir="auto">Both sender and receiver are set to the same address (0x0007) and channel (7) in the Arduino IDE code.<br />
Explicit configuration commands were added to ensure correct addressing and channeling for the LoRa modules.<br />
Hardware Setup:</p>
<p dir="auto">Verified wiring for LoRa RX and TX pins between the M5Stack devices.<br />
No issues with the physical connections, as UIFlow works perfectly.<br />
Arduino Code Modifications:</p>
<p dir="auto">Multiple attempts were made to ensure correct serial communication via HardwareSerial.<br />
Configured LoRa modules to match normal mode (M0 = 0, M1 = 0).<br />
Debugging:</p>
<p dir="auto">Added comprehensive debugging messages for sending and receiving data.<br />
Verified that sender is transmitting, but the receiver is not receiving data.<br />
Expected Behavior:<br />
Both the sender and receiver should communicate seamlessly with the same address and channel configuration.<br />
Debugging output should show incoming data on the receiver side if communication is working correctly.<br />
What I Need Help With:<br />
Despite following proper setup and configuration steps, the receiver does not get data.<br />
The same hardware setup works perfectly with UIFLOW, so the issue seems to be specific to the Arduino IDE setup.<br />
Could someone from M5Stack or the community help identify any potential issues in the Arduino code or suggest a different approach?<br />
Additional Information:<br />
LoRa Module Model: E220-433<br />
M5Stack Model: Atom S3 Lite<br />
Sender Serial Monitor Output:<br />
makefile<br />
Copy code<br />
DEBUG: Sent message via LoRa: Hello<br />
DEBUG: Sent message via LoRa: Hello<br />
Receiver Serial Monitor Output:<br />
vbnet<br />
Copy code<br />
DEBUG: LoRa Receiver setup starting...<br />
DEBUG: LoRa module initialized.<br />
DEBUG: LoRa module configured with Address 7 and Channel 7.<br />
Conclusion:<br />
I’ve been unable to resolve the issue with Arduino code, but everything works seamlessly with UIFLOW. Looking for guidance from the community to figure out what’s going wrong in the Arduino setup.</p>
]]></description><link>https://community.m5stack.com/topic/7168/m5-stack-is-rubbish-support-for-arduino-lorae220-433-on-atoms3-lite-and-atom-s3r-fail-on-arduino-but-fine-on-ui-flow</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 07:56:37 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7168.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Jan 2025 10:47:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to m5 stack is rubbish support for arduino, lorae220-433 on atoms3 lite and atom s3r fail on arduino but fine on ui flow on Thu, 16 Jan 2025 10:36:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/riztronic" aria-label="Profile: riztronic">@<bdi>riztronic</bdi></a><br />
We have fully tested the Arduino code running normally and without a problem!<br />
You can get the newest code here:<br />
<a href="https://github.com/m5stack/M5-LoRa-E220/blob/main/examples/P2P_TX_RX/P2P_TX_RX.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5-LoRa-E220/blob/main/examples/P2P_TX_RX/P2P_TX_RX.ino</a><br />
The test video is here:<br />
<a href="https://www.dropbox.com/scl/fi/soim9m8aonp52850p5xqs/361e2e27700890d74db6e65082fd4d05.mov?rlkey=tay4leplto1qlrsl2zt9s549d&amp;st=dff6d295&amp;dl=0" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.dropbox.com/scl/fi/soim9m8aonp52850p5xqs/361e2e27700890d74db6e65082fd4d05.mov?rlkey=tay4leplto1qlrsl2zt9s549d&amp;st=dff6d295&amp;dl=0</a><br />
The problem may be that your TX/RX pins are reversed</p>
]]></description><link>https://community.m5stack.com/post/27916</link><guid isPermaLink="true">https://community.m5stack.com/post/27916</guid><dc:creator><![CDATA[kuriko]]></dc:creator><pubDate>Thu, 16 Jan 2025 10:36:23 GMT</pubDate></item></channel></rss>