<?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[Lesson 16. LORA. SignalMeter]]></title><description><![CDATA[<h2>The purpose of this lesson</h2>
<p dir="auto">Hi! Today we will get acquainted with LORA modules not in words, but in deeds. Let's write a sketch for the receiver and transmitter using the M5 UI for Arduino IDE. We will conduct field tests with both the built-in antenna and the external homemade j-type antenna (Fig. 1).</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636445/16f73/OuqjtF6v5XU.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 1</p>
<p dir="auto">This tutorial will teach you how to use M5 UI for Arduino IDE together with LORA wireless communication modules. Produce an external antenna J-type at a frequency of 433MHz. Perform field tests to measure the range of the wireless network.</p>
<h2>Short help</h2>
<p dir="auto"><strong>List of components for the lesson</strong></p>
<ul>
<li>PC;</li>
<li>M5STACK (2 PCs . );</li>
<li>USB-C cable from standard set (2 PCs.);</li>
<li>Additional LORA modules (2 PCs.);</li>
<li>Plastic housing for antenna (2 PCs .);</li>
<li>Copper ground wire (16 mm2) 140 cm;</li>
<li>Hotmelt;</li>
<li>Soldering iron and solder;</li>
<li>Drill and drill bits;</li>
<li>Office knife;</li>
<li>Wire cutters . ;</li>
<li>Ruler;</li>
<li>Additional battery (2 PCs.).</li>
</ul>
<h2>Let's start!</h2>
<h3>Step 1 Add UI, so more beautiful and more convenient ;)</h3>
<p dir="auto">Using the skills obtained in the previous lessons, we will create two graphical interfaces: one for the receiver, the second for the transmitter in the M5 UI Designer for Arduino IDE (Fig. 2).</p>
<p dir="auto"><img src="https://pp.userapi.com/c846017/v846017441/102c9d/X3NoEwBQCxg.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 2</p>
<p dir="auto">On the transmitter: to start/stop the transmission, press the B button (on the device itself).</p>
<p dir="auto">On the receiver: no action is required from the user to get started.</p>
<h3>Step 2. Field test of built-in antenna</h3>
<p dir="auto">Once we got acquainted with the LORA module (Fig. 3). The built-in antenna is a printed circuit Board with a printed track, the length of which corresponds to the wavelength.</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636445/16f9b/T5Q5xU6R0us.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 3</p>
<p dir="auto">The connection of the antenna to the LORA module does not inspire much confidence, as this antenna is designed primarily for laboratory testing; to use the greater potential of the module, it is necessary to connect an external antenna. Still, there is a built-in antenna, so do not let it out of sight - we will conduct field tests to measure the distance of the radius of action.</p>
<p dir="auto">In General, the transmission of packets is well carried out at a distance of only 20 meters from the transmitter (Fig. 3.1).</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636445/16fec/AbT_JwyI8qU.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 3.1</p>
<p dir="auto">Figure 3.2 shows two pillars. On the near table is the transmitter. On the far post reception of the signal is almost impossible.</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636445/16fd9/1Rc00SudqWQ.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 3.2</p>
<h3>Step 3. J-type antenna manufacturer</h3>
<p dir="auto">Take the copper ground wire and remove the insulation with a utility knife.</p>
<blockquote>
<p dir="auto">Warning! Be very careful not to point the knife blade in your direction. If you are under the age of majority - ask adults to help you.</p>
</blockquote>
<p dir="auto">Next, divide the wire into two equal parts using wire cutters (Fig. 4).</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636520/1729c/_fnJNdTDFR8.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 4</p>
<p dir="auto">Now, strictly according to figure 4.1, make bends and marks where you want to connect the cable.</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636520/17265/r3cPeWBc4zU.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 4.1</p>
<p dir="auto">Take a drill, soldering iron, hot melt glue and fix the antenna and module on the body (Fig. 4.2).</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636520/172b0/6NF2K1I4Wpw.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 4.2</p>
<p dir="auto">Great! The antenna is ready for testing.</p>
<h3>Step 4. Field test of j-type self-made external antenna</h3>
<p dir="auto">The first thing to do is to fix the transmitter on the same place on the same pole (Fig. 5).</p>
<blockquote>
<p dir="auto">Please note: the antenna must be strictly perpendicular to the horizon to achieve maximum radio wave efficiency.</p>
</blockquote>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636198/18871/RKtWAI1ygCM.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5</p>
<p dir="auto">The second - let's go back to the second column, where the connection last time stopped (figure 5.1).</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636198/1889a/2pH7SHmXffU.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5.1</p>
<p dir="auto">Wow! The link is now there, but do not forget that it is only about 20 m from the transmitter. Let's see where the antenna of the transmitter is directed, select the objects of the reference point (Fig. 5.2) and start removing.</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636198/188ac/S55hdHvMW5M.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5.2. Objects of reference</p>
<p dir="auto">After arrival to the place of the first reference point (Fig. 5.3), which is located at a distance of ~200 m (Fig. 5.4).</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636198/188e2/0E-qCDNLkec.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5.3. The first object of the landmark is the yellow tree</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636198/188d8/JvuNsklLRcg.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5.4. Distance to the first landmark object</p>
<p dir="auto">The following data were received at the receiver (Fig. 5.5). Packets are received sequentially without delays or omissions. The signal RSSI -94 dB.</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636198/188ce/_9gzfydEKxI.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5.5</p>
<p dir="auto">Since the first landmark has passed the test, we will continue to move to the second one (Fig. 5.6).</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636442/17ee9/RL50G3PjKlc.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5.6</p>
<p dir="auto">The second object of the reference point is located at a distance of ~700 m from the transmitter (Fig. 5.7).</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636442/17ef3/ftiCwzN5Jjk.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5.7</p>
<p dir="auto">On the screen of the receiver a packet arrives (Fig. 5.8), but provided that the antenna is perpendicular to the transmitter.</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636442/17efd/sUD70mThuGs.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5.8</p>
<p dir="auto">As the second reference point met our expectations. Let's try to get to the third landmark. Whoops! Failed, half way (~2.4 km) (Fig. 5.9) the signal disappeared completely (Fig. 5.10).</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636442/17f07/hVnVzwVr03s.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5.9</p>
<p dir="auto"><img src="https://pp.userapi.com/c850636/v850636442/17f11/WVfj3Kh8zBg.jpg" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figure 5.10</p>
<h3>Final step</h3>
<p dir="auto">On this both experiment completed. Of course, a homemade external antenna J-type showed the best results compared to the built-in. The distance was increased approximately 50 times. This concludes the lesson. Make antennas, test them, achieve the best results!</p>
<h2>Downloads</h2>
<ul>
<li>Sketches (GitHub): <a href="https://github.com/dsiberia9s/Lesson-16.-LORA.-SignalMeter" title="https://github.com/dsiberia9s/Lesson-16.-LORA.-SignalMeter" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/dsiberia9s/Lesson-16.-LORA.-SignalMeter</a></li>
<li>Video. Episode #1 (YouTube): <a href="https://youtu.be/2mWAu6X_v-U" title="https://youtu.be/2mWAu6X_v-U" target="_blank" rel="noopener noreferrer nofollow ugc">https://youtu.be/2mWAu6X_v-U</a></li>
<li>Video. Episode #2 (YouTube): <a href="https://youtu.be/uo6YWy8AYZE" title="https://youtu.be/uo6YWy8AYZE" target="_blank" rel="noopener noreferrer nofollow ugc">https://youtu.be/uo6YWy8AYZE</a></li>
</ul>
]]></description><link>https://community.m5stack.com/topic/354/lesson-16-lora-signalmeter</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 22:32:31 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/354.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Oct 2018 08:27:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Lesson 16. LORA. SignalMeter on Wed, 12 Jan 2022 07:17:45 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for this awesome tutorial.</p>
<p dir="auto">I've got my copper wire on order, and am looking forward to putting it together. =D</p>
<p dir="auto">Thanks to some brilliant recent inventions, there's now antenna analysers for $50, called "NanoVNA". You can use them to perfectly tune the J Pole antenna, so as much of the transmit power as possible leaves the antenna.</p>
<p dir="auto"><a href="https://www.youtube.com/watch?v=QJYeFpiqY8c" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.youtube.com/watch?v=QJYeFpiqY8c</a></p>
]]></description><link>https://community.m5stack.com/post/16156</link><guid isPermaLink="true">https://community.m5stack.com/post/16156</guid><dc:creator><![CDATA[SarahC]]></dc:creator><pubDate>Wed, 12 Jan 2022 07:17:45 GMT</pubDate></item></channel></rss>