<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Lora on Lloyd Rochester's Geek Blog</title><link>https://lloydroc.github.io/tags/lora/</link><description>Recent content in Lora on Lloyd Rochester's Geek Blog</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2025, Lloyd Rochester.</copyright><lastBuildDate>Fri, 23 Jul 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://lloydroc.github.io/tags/lora/index.xml" rel="self" type="application/rss+xml"/><item><title>Ebyte e32 Lora Module - Client Socket Examples</title><link>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-socket-client-examples/</link><pubDate>Fri, 23 Jul 2021 00:00:00 +0000</pubDate><guid>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-socket-client-examples/</guid><description>&lt;h1 id="hahahugoshortcode56s0hbhb">Ebyte e32 Lora Module - Client Socket Examples&lt;/h1>
&lt;p>This post currently has a example client in Python that sends information through Unix Domain Sockets when the &lt;code>e32&lt;/code> is running as a service. Adding clients in other programming languages is a hopeful future addition. See &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora/">Getting Started&lt;/a>.&lt;/p>
&lt;h1 id="prerequisites">Prerequisites&lt;/h1>
&lt;p>Ensure either you have the &lt;code>e32&lt;/code> programming running with sockets enabled. Or, preferred, &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-systemd-service/">running as a service&lt;/a>.&lt;/p>
&lt;p>More background on can be found in &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-sockets/">e32 sockets&lt;/a>.&lt;/p></description></item><item><title>Ebyte e32 Lora Module - Wiring and Configuring the Raspberry Pi</title><link>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-configuration-wiring/</link><pubDate>Sun, 18 Jul 2021 00:00:00 +0000</pubDate><guid>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-configuration-wiring/</guid><description>&lt;p>This post explains how to wire up the UART and the mode pins. We need 5 connections between the Raspberry Pi and EByte E32, as well as a power and a ground. See this &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-getting-started">software installation&lt;/a> after the wiring is complete.&lt;/p>
&lt;h1 id="wiring">Wiring&lt;/h1>
&lt;p>Here is the wiring between the E32 and the Raspberry Pi. Please make sure the UART TX of the RPI is wired to the RX of the E32 and vice-versa.&lt;/p></description></item><item><title>Ebyte E32 Lora Module - systemd service</title><link>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-systemd-service/</link><pubDate>Fri, 18 Jun 2021 00:00:00 +0000</pubDate><guid>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-systemd-service/</guid><description>&lt;h1 id="hahahugoshortcode58s0hbhb">Ebyte E32 Lora Module - systemd service&lt;/h1>
&lt;p>The &lt;code>e32&lt;/code> program is intended to be run as a service in the backround with &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-sockets">communication through sockets&lt;/a>. This way you can write software in any langauge and just have to deal with the easy job of reading and writing to a socket. Once the &lt;code>e32&lt;/code> service is started and running it can be accessed at any time by a client. In this post we&amp;rsquo;ll document the actual systemd service. We have some &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-socket-client-examples">client examples&lt;/a> demonstrating clients interfacing with the socket.&lt;/p></description></item><item><title>Ebyte E32 Lora Module - Transfer Files</title><link>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-transfer-files/</link><pubDate>Fri, 18 Jun 2021 00:00:00 +0000</pubDate><guid>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-transfer-files/</guid><description>&lt;h1 id="hahahugoshortcode59s0hbhb">Ebyte E32 Lora Module - Transfer Files&lt;/h1>
&lt;p>This post explains how to transfer files over Lora using the &lt;code>e32&lt;/code> program. See &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-getting-started/">getting started&lt;/a> for the background.&lt;/p>
&lt;h1 id="prerequisites">Prerequisites&lt;/h1>
&lt;p>We must first assume the &lt;code>e32&lt;/code> is not &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-getting-started/">running as a service&lt;/a>. If not sure run a &lt;code>sudo systemctl stop e32&lt;/code> to stop it.&lt;/p>
&lt;h1 id="transferring-files-between-two-raspberry-pi-boards">Transferring Files Between two Raspberry Pi Boards&lt;/h1>
&lt;p>We obviously need at least two Ebyte e32 lora modules for this.&lt;/p>
&lt;h2 id="receiving">Receiving&lt;/h2>
&lt;p>From one Raspberry Pi with the &lt;code>e32&lt;/code> installed. We need to be receiving before we transmit the file.&lt;/p></description></item><item><title>Ebyte e32 - Sockets</title><link>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-sockets/</link><pubDate>Tue, 08 Jun 2021 00:00:00 +0000</pubDate><guid>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-sockets/</guid><description>&lt;h1 id="hahahugoshortcode57s0hbhb">Ebyte e32 - Sockets&lt;/h1>
&lt;p>The &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora/">e32 program&lt;/a> can run as a &lt;a href="https://lloydroc.github.io/post/c/unix-daemon-example">daemon&lt;/a> and listen on &lt;a href="https://lloydroc.github.io/post/c/unix-domain-socket-datagram/">Unix Domain Sockets&lt;/a> for data to transmit and receive. This post documents the functionality of the sockets the &lt;code>e32&lt;/code> software is listening on.&lt;/p>
&lt;h1 id="intention-of-the-sockets">Intention of the Sockets&lt;/h1>
&lt;p>The software for the &lt;code>e32&lt;/code> is written in the C Programming Language. I&amp;rsquo;m a huge fan of C, but it isn&amp;rsquo;t for everyone, nor, is it for every application. The sockets are created so we can interface any program to the e32. Instead of having to write C code to do what you want, you can just use the &lt;code>e32&lt;/code> as a &lt;em>driver&lt;/em> and write a &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-socket-client-examples/">client in any language&lt;/a>. When this client writes and reads from the socket it&amp;rsquo;s transmitting and receiving wireless data. Since the sockets are Unix Domain Sockets they are reliable.&lt;/p></description></item><item><title>Ebyte e32 LoRa Module - Getting Started</title><link>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-getting-started/</link><pubDate>Tue, 15 Sep 2020 00:00:00 +0000</pubDate><guid>https://lloydroc.github.io/post/hardware/ebyte-e32-lora-getting-started/</guid><description>&lt;h1 id="hahahugoshortcode54s0hbhb">Ebyte e32 LoRa Module - Getting Started&lt;/h1>
&lt;p>This page documents software for the Ebyte e32 Lora module that runs on the Raspberry Pi which can be found in this &lt;a href="https://github.com/lloydroc/ebyte-sx1276">github repo&lt;/a>. See below for &lt;a href="#software-installation">software installation&lt;/a>.&lt;/p>
&lt;p>&lt;img src="https://lloydroc.github.io/assets/jpg/ebyte-e32-lora-module.jpg" alt="Ebyte e32 LoRa Module">&lt;/p>
&lt;h2 id="resources">Resources&lt;/h2>
&lt;p>Wire up the Ebyte e32 Lora Module to the Raspberry Pi first. Then check out the other resources listed below:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-configuration-wiring/">Wiring and Pi Configuration&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-systemd-service/">Running as a Service&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-sockets/">Using Sockets&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-socket-client-examples/">Client Example using Sockets&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-transfer-files/">Transfer Files&lt;/a>&lt;/li>
&lt;/ul>
&lt;h1 id="software-installation">Software Installation&lt;/h1>
&lt;p>Before you install the &lt;code>e32&lt;/code> program be sure to have completed the &lt;a href="https://lloydroc.github.io/post/hardware/ebyte-e32-lora-configuration-wiring/">Wiring and Pi Configuration&lt;/a>. These instructions are to be run on your Raspberry Pi. Download &lt;a href="https://lloydroc.github.io/code/e32-1.10.2.tar.gz">e32&lt;/a>. See instructions below.&lt;/p></description></item></channel></rss>