<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Gpio pins — Your Destination for Single Board Computers</title>
        <link>https://forum.loverpi.com/</link>
        <pubDate>Sat, 14 Jan 2023 14:27:17 +0000</pubDate>
        <language>en</language>
            <description>Gpio pins — Your Destination for Single Board Computers</description>
    <atom:link href="https://forum.loverpi.com/discussions/tagged/gpio-pins/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Utilizing UARTA as a serial port</title>
        <link>https://forum.loverpi.com/discussion/1310/utilizing-uarta-as-a-serial-port</link>
        <pubDate>Thu, 14 Apr 2022 12:36:10 +0000</pubDate>
        <category>AML-S905X-CC</category>
        <dc:creator>craighaworth</dc:creator>
        <guid isPermaLink="false">1310@/discussions</guid>
        <description><![CDATA[Board: le Potato<br />OS: Rasbian headerless<br />I wish to use the 40 pin header Pin 8 (UART_A_TX)&nbsp;and 10 (UART_A_RX)&nbsp;for uart to uart coms with an ESP32 microcontroller board. <br />I have used lc_overlay to activate overlay uarta.<br />I had an expectation, that either one of the serial ports ttyS[0,1,2,3] would now be usable as a serialport, OR<br />that a serialport would appear in /dev similar to ttyAML0 but maybe ttyAML1.<br />Any advice on the proper approach to enabling a serial port over UART A would be appreciated.<br /><br />]]>
        </description>
    </item>
    <item>
        <title>How does one use PWM?</title>
        <link>https://forum.loverpi.com/discussion/1614/how-does-one-use-pwm</link>
        <pubDate>Thu, 13 Oct 2022 15:26:52 +0000</pubDate>
        <category>AML-S905X-CC</category>
        <dc:creator>tristan</dc:creator>
        <guid isPermaLink="false">1614@/discussions</guid>
        <description><![CDATA[<div>Hi,</div><div>Is there any guidance available on how to use PWM on GPIO for the AML-S905X-CC?</div><div>I had a look under /sys/class/pwm, but that directory appears empty, at least in Ubuntu 22.0.4 LTS.<br /></div><div>Thanks!<br /></div>]]>
        </description>
    </item>
    <item>
        <title>Can't get IC2 to work with Ubuntu image of Libre board</title>
        <link>https://forum.loverpi.com/discussion/1357/cant-get-ic2-to-work-with-ubuntu-image-of-libre-board</link>
        <pubDate>Sat, 20 Aug 2022 00:09:53 +0000</pubDate>
        <category>AML-S905X-CC</category>
        <dc:creator>jzpi</dc:creator>
        <guid isPermaLink="false">1357@/discussions</guid>
        <description><![CDATA[Using <a rel="nofollow" href="/home/leaving?target=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2FB08MPTND1V%2Fref%3Dppx_yo_dt_b_search_asin_title%3Fie%3DUTF8%26th%3D1" title="Link: /home/leaving?target=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2FB08MPTND1V%2Fref%3Dppx_yo_dt_b_search_asin_title%3Fie%3DUTF8%26th%3D1">this LCD</a> and the Ubuntu image for my Libre board I can't seem to communicate to it. I tried following a guide for doing it on a Pi with no luck. Is there a config I need to enable it with? <br />]]>
        </description>
    </item>
    <item>
        <title>Epaper hat problems</title>
        <link>https://forum.loverpi.com/discussion/1307/epaper-hat-problems</link>
        <pubDate>Tue, 05 Apr 2022 22:43:00 +0000</pubDate>
        <category>AML-S905X-CC</category>
        <dc:creator>Spudz</dc:creator>
        <guid isPermaLink="false">1307@/discussions</guid>
        <description><![CDATA[Hi everyone. Recently got a potato and an 2.13 inch epaper hat. I got the epaper files from waveshare and need some assistance. I do have a raspberry and use a piglow in it but the armbian os is new to me. So how would I get it working? The epaper hat has a plug with wires that one by one connect to the gpio pins.]]>
        </description>
    </item>
    <item>
        <title>How do I access gpio pins (H2+ version)?</title>
        <link>https://forum.loverpi.com/discussion/912/how-do-i-access-gpio-pins-h2-version</link>
        <pubDate>Fri, 03 Apr 2020 08:19:03 +0000</pubDate>
        <category>ALL-H3-CC</category>
        <dc:creator>Bicko</dc:creator>
        <guid isPermaLink="false">912@/discussions</guid>
        <description><![CDATA[Hi, I really like my H2+ version of the ALL-H3-CC; it's been sitting on my network taking regular surveys and providing useful reports for a very long time.&nbsp; Now I want to use it for some hardware control, as I do with Raspberry Pi, and I'm struggling to find out how to do this.<br />In Raspbian on Raspberry Pi I use Gpiozero (<a rel="nofollow" href="/home/leaving?target=https%3A%2F%2Fgpiozero.readthedocs.io%2Fen%2Fstable%2Findex.html">https://gpiozero.readthedocs.io/en/stable/index.html</a>) in Python.&nbsp; How would I go about this on the H2+?<br />I had been using Armbian and sometimes Ubuntu, but I cannot seem to get Gpiozero to work in either of those.<br />I thought Raspbian might be the way to go (downloaded from <a href="http://share.loverpi.com/board/libre-computer-project/libre-computer-board-all-h3-cc/image/raspbian/" rel="nofollow">http://share.loverpi.com/board/libre-computer-project/libre-computer-board-all-h3-cc/image/raspbian/</a>), but I'm a bit concerned that 'h5' appears in those filenames. I did try the latest from that server, but it did not work on my H2+ (led stayed red, no o/p on the screen).<br />So I'm looking for some pointers, please.&nbsp; Ideally Gpiozero, but that's not critical - using Python really is desirable, though.<br />Over to you, the experts.<br />Regards from the locked-down UK.<br />Mike.<br /><br /><br />]]>
        </description>
    </item>
    <item>
        <title>Putting the Le Potato in a car</title>
        <link>https://forum.loverpi.com/discussion/906/putting-the-le-potato-in-a-car</link>
        <pubDate>Sun, 22 Mar 2020 07:35:27 +0000</pubDate>
        <category>Model B+</category>
        <dc:creator>bman1296</dc:creator>
        <guid isPermaLink="false">906@/discussions</guid>
        <description><![CDATA[<div>Hi,</div><div><br /></div><div>I would like to put a 'Le Potato' board in my car. However, I do not want it to cycle with the ignition turning on and off - instead, I would like the board to control when it turns off (say, 24 hours after the engine being off), after detecting the ignition wire is low.</div><div><br /></div><div>I understand completely how to do this with a raspberry pi - I use a switch to supply power to pull GLOBAL_EN to low and this trips the pi into rebooting. However, this does not exist on Le Potato. From what I have seen, when you sudo shutdown -H now, it reboots, and if you reboot it obviously reboots. <br /></div><div><br /></div><div>My question is if there is any functionality on the board to get it to power back up after having halted or some other means - any suggestions??<br /></div>]]>
        </description>
    </item>
    <item>
        <title>1wire Device</title>
        <link>https://forum.loverpi.com/discussion/865/1wire-device</link>
        <pubDate>Sun, 08 Dec 2019 13:55:38 +0000</pubDate>
        <category>AML-S805X-AC</category>
        <dc:creator>DOcean</dc:creator>
        <guid isPermaLink="false">865@/discussions</guid>
        <description><![CDATA[<div>Hello,</div><div>is it possible to use 1wire on La Frite?<br /></div>]]>
        </description>
    </item>
    <item>
        <title>Is it dead?</title>
        <link>https://forum.loverpi.com/discussion/732/is-it-dead</link>
        <pubDate>Sun, 25 Aug 2019 15:34:31 +0000</pubDate>
        <category>AML-S805X-AC</category>
        <dc:creator>Alejandro</dc:creator>
        <guid isPermaLink="false">732@/discussions</guid>
        <description><![CDATA[All started when I connected my Lafrite, it did not load normally. I disconnected it and tried again but nothing, is dead. Both LEDs turn on but beyond that I have nothing, I have no image on the monitor that is the one I have always used and discard with another TV, HDMI cable and another power source but nothing.<br /><b>Update 1:<br /></b>I have already verified and discarded the hdmi cable, the power adapter, likewise remove the Emmc.&nbsp;<br /><b>Update 2:<br /></b>I connected Lafrite through the USB port closest to the pins to the PC and it has detected it as "GX-Chip", I am looking for the driver and I have been able to install it with this app "Amlogic USB Burning Tool" and Windows detects it as "WorldCup Device". Beyond this point I don't know what I can really do because the Amlogic tool is to flash .img files and the firmware offered by LibreComputer for Lafrite are .bin<br /><b>Thanks for any help you can give me</b><br />]]>
        </description>
    </item>
    <item>
        <title>Resin 3d Printer with this Board</title>
        <link>https://forum.loverpi.com/discussion/601/resin-3d-printer-with-this-board</link>
        <pubDate>Tue, 30 Apr 2019 18:47:03 +0000</pubDate>
        <category>AML-S905X-CC</category>
        <dc:creator>nmitchko</dc:creator>
        <guid isPermaLink="false">601@/discussions</guid>
        <description><![CDATA[<div>Hi all,</div><div><br /></div><div>Has anyone used this board to power a 3d Resin printer? The open source NanoDLP software can run natively on a raspberry pi 3,3B but does not support 4k output on the RPI. I am looking for this board to replace the RPI because of the 4k support.</div><div><br /></div><div>I will keep this discussion open as I venture into getting this board to power my DIY printer.</div><div><br /></div><div>Nmitchko</div><div><br /></div><div><br /></div><div>Progress so far:</div><div><ol><li>Frame nearly assembled<img alt="" src="https://forum.loverpi.com/uploads/editor/5b/96squ4hkf1tv.jpg" title="Image: https://forum.loverpi.com/uploads/editor/5b/96squ4hkf1tv.jpg" /></li><li>Ubuntu bionic installed</li><li>NanoDLP Installed as server, may have to use an arduino nano to act as a driver controller for now.</li><li><pre><code>sudo apt-get -y install unzip</code></pre></li><li><pre><code>wget https://www.nanodlp.com/download/nanodlp.arm64.zip</code></pre></li><li><pre><code>unzip nanodlp.arm64.zip &amp;&amp; cd nanodlp <br /></code></pre></li><li><pre><code>./run.sh</code></pre></li></ol></div><br />More to come when my display arrives from CHINA.<br />]]>
        </description>
    </item>
    <item>
        <title>GPIO on Android?</title>
        <link>https://forum.loverpi.com/discussion/605/gpio-on-android</link>
        <pubDate>Wed, 08 May 2019 19:22:36 +0000</pubDate>
        <category>AML-S905X-CC</category>
        <dc:creator>mossball765</dc:creator>
        <guid isPermaLink="false">605@/discussions</guid>
        <description><![CDATA[Has anyone been able to access the gpio using android on the le potato?<br />I'm an android noobie, but I'm looking for a starting point to figure out how to add physical buttons to android via the gpio. Any information, pointers, or suggestions would be a huge help!<br />]]>
        </description>
    </item>
    <item>
        <title>SPI Device Interface</title>
        <link>https://forum.loverpi.com/discussion/334/spi-device-interface</link>
        <pubDate>Tue, 23 Oct 2018 06:11:34 +0000</pubDate>
        <category>AML-S905X-CC</category>
        <dc:creator>HelloMyNameIsRob</dc:creator>
        <guid isPermaLink="false">334@/discussions</guid>
        <description><![CDATA[<p>Hey, I'm pretty new to thus stuff, so I appreciate any help I can get.</p>

<p>I'm trying to get the Le Potato to communicate to some Arduinos using a NRF24L01.<br />
I think I should be able to interface using this RF24 library (<a href="https://github.com/nRF24/RF24" rel="nofollow">https://github.com/nRF24/RF24</a>), but trying the example results in: Unable to open SPI device: No such file or directory</p>

<p>It's looking for the device at /dev/spidev0.0, which doesn't exist.</p>

<p>I started out with the Ubuntu images from Libre Computing, and got frustrated.<br />
So, I tried loading their Raspbian image and using the raspi-config to enable the SPI interface.<br />
...still no luck (after verifying the /boot/config.txt contains dtparam=spi=on, and rebooting)</p>

<p>I took a look at some forum posts that reference device-tree overlays, but I'm really not sure what I'm doing with them.<br />
This one never really seems to come to a usable conclusion:<br />
<a href="https://forum.armbian.com/topic/6448-le-potato-gpio-pins-on-sys/" rel="nofollow">https://forum.armbian.com/topic/6448-le-potato-gpio-pins-on-sys/</a><br />
...maybe I just don't understand what they are talking about.</p>

<p>This one references a new linux source, and I'm not sure how to compile it for Le Potato, and that seems like a lot of effort unless I'm sure it will work:<br />
<a href="https://github.com/libre-computer-project/libretech-overlays" rel="nofollow">https://github.com/libre-computer-project/libretech-overlays</a></p>

<p>Again, my goal is just to get this communicating through the NRF24L01 through the SPI interface.<br />
I don't care which OS I use, as long as I can do that... and run a NodeJS server.<br />
If anyone has had any amount of success with this board, I would love to hear how you got there.</p>

<p>Thank you in advance for your responses!</p>
]]>
        </description>
    </item>
    <item>
        <title>GPIO library support for Le Potato</title>
        <link>https://forum.loverpi.com/discussion/345/gpio-library-support-for-le-potato</link>
        <pubDate>Mon, 12 Nov 2018 01:04:02 +0000</pubDate>
        <category>AML-S905X-CC</category>
        <dc:creator>dogbert2</dc:creator>
        <guid isPermaLink="false">345@/discussions</guid>
        <description><![CDATA[<p>Are there any C or python libraries for GPIO access for the Le Potato, or does someone have some examples they can share on the list?</p>
]]>
        </description>
    </item>
    <item>
        <title>TFT Touch display &amp;amp; Android ?</title>
        <link>https://forum.loverpi.com/discussion/319/tft-touch-display-amp-android</link>
        <pubDate>Mon, 08 Oct 2018 22:05:30 +0000</pubDate>
        <category>AML-S905X-CC</category>
        <dc:creator>DarioBocc</dc:creator>
        <guid isPermaLink="false">319@/discussions</guid>
        <description><![CDATA[<p>Hello, is possible to use GPIO pins to drive a TFT Touch display on android?<br />
Thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>Gpio pins for solid state relay</title>
        <link>https://forum.loverpi.com/discussion/318/gpio-pins-for-solid-state-relay</link>
        <pubDate>Fri, 05 Oct 2018 14:09:40 +0000</pubDate>
        <category>AML-S905X-CC</category>
        <dc:creator>brandonme</dc:creator>
        <guid isPermaLink="false">318@/discussions</guid>
        <description><![CDATA[If I understand this correctly you don't have to import the gpio library In the script? I think I'll start out checking output with a multimeter first. Am I going about this the correct way? I see people use resistors but every wiring diagram I see doesn't show resistors used but this is a fused relay though. Sainsmart to be exact.]]>
        </description>
    </item>
   </channel>
</rss>
