<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Raspberry Pi Forum - Recent Threads</title><link>https://community.element14.com/products/raspberry-pi/f/forum</link><description>Raspberry Pi Forum for discussing the foundation and trading&amp;#39;s products and community support</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Tue, 21 Jul 2026 21:20:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/products/raspberry-pi/f/forum" /><item><title>Is it possible to read simultaneously from same sensor with python raspberry pi</title><link>https://community.element14.com/thread/57116?ContentTypeID=0</link><pubDate>Tue, 21 Jul 2026 09:21:19 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:09259c0d-2f0b-4e78-82d4-a15ef6bf4dd6</guid><dc:creator>Kenne76</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/57116?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57116/is-it-possible-to-read-simultaneously-from-same-sensor-with-python-raspberry-pi/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;span&gt;Is it possible to read simultaneously (to two variables) from same sensor with python raspberry pi?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>RE: Is it possible to read simultaneously from same sensor with python raspberry pi</title><link>https://community.element14.com/thread/236461?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2026 21:20:17 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e9b4c12e-5ed1-40dd-80ce-b6d40801ecc4</guid><dc:creator>dougw</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236461?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57116/is-it-possible-to-read-simultaneously-from-same-sensor-with-python-raspberry-pi/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;RPi is a sequential machine. How much time do you have to copy to 2 variables and still call it simultaneous?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to read simultaneously from same sensor with python raspberry pi</title><link>https://community.element14.com/thread/236450?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2026 09:39:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ca26a2b7-b7cb-41a8-a0d6-23ecdc7866c7</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236450?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57116/is-it-possible-to-read-simultaneously-from-same-sensor-with-python-raspberry-pi/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Do you have info about the sensor, and what protocol needs to be used to read its data?&lt;/p&gt;
&lt;p&gt;(and what is your definition of &lt;em&gt;simultaneously&lt;/em&gt;? Is there any time allowed between the reads?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pi 5 Custom Active Fan setup</title><link>https://community.element14.com/thread/236276?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2026 05:23:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:03ddae25-5454-468e-a914-47e7c803a9a7</guid><dc:creator>ralphjy</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236276?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57076/pi-5-custom-active-fan-setup/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;You might try looking at this link&amp;nbsp;&lt;a href="https://discourse.ubuntu.com/t/how-to-customize-raspberry-pi-5-fan-speeds-from-within-ubuntu/63254" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;how-to-customize-raspberry-pi-5-fan-speeds&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the relevant info from that discussion:&lt;/p&gt;
&lt;p&gt;&amp;quot;You are correct that the device-tree is where this is configured, but the dtb file is the compiled device-tree which isn&amp;rsquo;t (directly) editable. However, in this case we don&amp;rsquo;t even need to edit the device-tree itself because the values you want to tweak are parameterized and can be customized simply by adding some lines to /boot/firmware/config.txt.&lt;/p&gt;
&lt;p&gt;Firstly, the reference file you want to have a look at is /boot/firmware/overlays/README. This text file documents all the available device-tree overlays, and their parameters. It also documents the parameters for the base device tree, which is what we&amp;rsquo;re interested in here.&lt;/p&gt;
&lt;p&gt;Search for fan_temp0 in that README file and you should find yourself at the start of the various fan-related parameters in the base device-tree. I&amp;rsquo;ll quote them here, but you should double-check in that file in case they&amp;rsquo;ve changed across kernel versions:&amp;quot;&lt;/p&gt;
&lt;p&gt;***********&lt;/p&gt;
&lt;p&gt;fan_temp0 Temperature threshold (in millicelcius) for 1st cooling level (default 50000). Pi5 only.&lt;br /&gt; fan_temp0_hyst Temperature hysteresis (in millicelcius) for 1st cooling level (default 5000). Pi5 only.&lt;br /&gt; fan_temp0_speed Fan PWM setting for 1st cooling level (0-255, default 75). Pi5 only.&lt;br /&gt;&lt;br /&gt; fan_temp1 Temperature threshold (in millicelcius) for 2nd cooling level (default 60000). Pi5 only.&lt;br /&gt; fan_temp1_hyst Temperature hysteresis (in millicelcius) for 2nd cooling level (default 5000). Pi5 only.&lt;br /&gt; fan_temp1_speed Fan PWM setting for 2nd cooling level (0-255, default 125). Pi5 only.&lt;br /&gt;&lt;br /&gt; fan_temp2 Temperature threshold (in millicelcius) for 3rd cooling level (default 67500). Pi5 only.&lt;br /&gt; fan_temp2_hyst Temperature hysteresis (in millicelcius) for 3rd cooling level (default 5000). Pi5 only.&lt;br /&gt; fan_temp2_speed Fan PWM setting for 3rd cooling level (0-255, default 175). Pi5 only.&lt;br /&gt;&lt;br /&gt; fan_temp3 Temperature threshold (in millicelcius) for 4th cooling level (default 75000). Pi5 only.&lt;br /&gt; fan_temp3_hyst Temperature hysteresis (in millicelcius) for 4th cooling level (default 5000). Pi5 only.&lt;br /&gt; fan_temp3_speed Fan PWM setting for 4th cooling level (0-255, default 250). Pi5 only.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The syntax for customizing these is a little strange, but not too difficult. In /boot/firmware/config.txt you need to add lines with the format dtparam=PARAM=VALUE. For example, if you want to change the base temperature at which the fan turns on from 50&amp;deg;C to 55&amp;deg;C you might append the following (bearing in mind the value is in millicelcius):&lt;/p&gt;
&lt;p&gt;dtparam=fan_temp0=55000&lt;br /&gt;&lt;br /&gt;You can list multiple parameters in a single dtparam= line like so:&lt;/p&gt;
&lt;p&gt;dtparam=fan_temp0=55000,fan_temp0_speed=90&lt;br /&gt;&lt;br /&gt;Alternatively, you can use multiple dtparam= lines, if you prefer:&lt;/p&gt;
&lt;p&gt;dtparam=fan_temp0=55000&lt;br /&gt;dtparam=fan_temp0_speed=90&lt;/p&gt;
&lt;p&gt;***********&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Pi 5 Custom Active Fan setup</title><link>https://community.element14.com/thread/57076?ContentTypeID=0</link><pubDate>Mon, 29 Jun 2026 20:33:19 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d405b423-84da-4b56-98f4-84239878c00f</guid><dc:creator>brex2048</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/57076?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57076/pi-5-custom-active-fan-setup/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I am trying to setup a custom fan setting so that it will come on sooner, just to help keep it cooler. I have found the config.txt, how do I actually set a custom fan profile. The file is blank right now.&lt;/p&gt;</description></item><item><title>IA Generador neural network library for microcontroller</title><link>https://community.element14.com/thread/57031?ContentTypeID=0</link><pubDate>Sat, 13 Jun 2026 23:53:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f85f3216-405b-4353-9960-619ea1491204</guid><dc:creator>rbasulto53</dc:creator><slash:comments>8</slash:comments><comments>https://community.element14.com/thread/57031?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57031/ia-generador-neural-network-library-for-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hello, please let me know what you think of this AI web application for improvement. It allows you to generate trained neural network models for use with microcontrollers like Raspberry Pi Pico, ESP32, etc. These models don&amp;#39;t require an internet connection and are trained by loading a CSV file. It dynamically maps inputs and outputs and has two hidden layers whose architecture can be configured.&lt;/p&gt;
&lt;p&gt;The link is:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://traindeep.ai" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://traindeep.ai&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item><item><title>RE: IA Generador neural network library for microcontroller</title><link>https://community.element14.com/thread/236229?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2026 00:49:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ae6b7cf8-14d8-4d40-973f-f302a55546d9</guid><dc:creator>rbasulto53</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236229?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57031/ia-generador-neural-network-library-for-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;hi,&lt;br /&gt;We ran tests on the rp2040 and obtained these measurements (execution time of already trained model)&lt;br /&gt;- 3 inputs, 2 hidden layers, and 6 neurons per layer with ReLU activation function: &lt;strong&gt;3.5 ms&lt;/strong&gt;&lt;br /&gt;- 3 inputs, 4 hidden layers, and 10 neurons per layer with ReLU and Leaky activation function: &lt;strong&gt;7.1 ms&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IA Generador neural network library for microcontroller</title><link>https://community.element14.com/thread/236221?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2026 14:52:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9831d3cd-1901-4f52-902c-0073697408c3</guid><dc:creator>rbasulto53</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236221?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57031/ia-generador-neural-network-library-for-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Ready version 2.0.&lt;br /&gt;&lt;a href="https://traindeep.ai/" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://traindeep.ai&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IA Generador neural network library for microcontroller</title><link>https://community.element14.com/thread/236220?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2026 14:50:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:74780b43-93e5-4e16-b5f5-17d2f09048fc</guid><dc:creator>rbasulto53</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236220?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57031/ia-generador-neural-network-library-for-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;thanks for you comment.&amp;nbsp; Please check out the new version 2.0. It has much of what you mentioned and much more.&lt;br /&gt;&lt;a href="https://traindeep.ai" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://traindeep.ai&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IA Generador neural network library for microcontroller</title><link>https://community.element14.com/thread/236146?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2026 20:34:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:80d8def2-c522-4da3-9376-40783d4c357c</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/236146?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57031/ia-generador-neural-network-library-for-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;If you want anyone to bother with your link, you should greatly expand your description of what is at the end of the link.&lt;/p&gt;
&lt;p&gt;It generates a trained NN. So what?&lt;/p&gt;
&lt;p&gt;Give me a useful example so I can be intrigued about the possibilities.&lt;/p&gt;
&lt;p&gt;Provide a walk through of the process so I can see how easy it is to use.&lt;/p&gt;
&lt;p&gt;What is the size of the resulting output? How useful is it? How limited is its application?&lt;/p&gt;
&lt;p&gt;You have to make a reasonable effort to sell it if you want anyone to kick the tires.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IA Generador neural network library for microcontroller</title><link>https://community.element14.com/thread/236132?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2026 14:19:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7ef404c7-5df8-4db5-9685-1d6d96788956</guid><dc:creator>rbasulto53</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236132?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57031/ia-generador-neural-network-library-for-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Thank you very much for your comment. Yes, I will be running performance tests, although the generated library is very lightweight for high performance and low resource consumption.&lt;br /&gt;Another important difference is that it doesn&amp;#39;t require installing anything to create the model, as it&amp;#39;s trained on the web, and you don&amp;#39;t need any libraries to run the trained model; it&amp;#39;s very simple.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IA Generador neural network library for microcontroller</title><link>https://community.element14.com/thread/236131?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2026 11:46:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0b9db137-46b6-49ae-87e9-cf426ca9044b</guid><dc:creator>Qbit</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/236131?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57031/ia-generador-neural-network-library-for-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;span class=""&gt;This is a really interesting project! I&amp;#39;ve been exploring the challenges of running neural networks on microcontrollers myself. Have you had a chance to compare the performance of IA Generador against other lightweight libraries like&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span class=""&gt;emlearn&lt;/span&gt;&lt;/strong&gt;&lt;span class=""&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;or&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span class=""&gt;NNoM&lt;/span&gt;&lt;/strong&gt;&lt;span class=""&gt;? I&amp;#39;d be particularly interested in seeing a benchmark for inference speed on a Raspberry Pi Pico or an STM32 board. I&amp;#39;m excited to see where this project goes. Keep up the great work!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IA Generador neural network library for microcontroller</title><link>https://community.element14.com/thread/236130?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 23:34:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cf5e7b5f-6b81-45d5-9525-8dc60357b809</guid><dc:creator>rbasulto53</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236130?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57031/ia-generador-neural-network-library-for-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Thanks for the welcome,&amp;nbsp;this application is to help the community and has no commercial purpose.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IA Generador neural network library for microcontroller</title><link>https://community.element14.com/thread/236129?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2026 22:56:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f5cfd4c1-2703-45e6-a68b-d4c5d6da4483</guid><dc:creator>colporteur</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/236129?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57031/ia-generador-neural-network-library-for-microcontroller/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;What would be my motivation, to have me click on a link, from a user with a profile of 25 points.&lt;/p&gt;
&lt;p&gt;That score would suggest you are new to the E14 community. Welcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module</title><link>https://community.element14.com/thread/235974?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2026 20:44:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:15e8546b-3c4c-4a7b-b506-bc13965260d8</guid><dc:creator>geralds</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235974?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57009/raspberry-pi-4-gpio-leakage-voltage-1-2v-when-low-on-relay-module/rss?ContentTypeId=0</wfw:commentRss><description>[quote userid="522264" url="~/products/raspberry-pi/f/forum/57009/raspberry-pi-4-gpio-leakage-voltage-1-2v-when-low-on-relay-module"]&lt;p&gt;&lt;span&gt;Wenn der GPIO-Pin &lt;/span&gt;&lt;span&gt;HOCH&lt;/span&gt; ist&lt;span&gt;, messe ich genau &lt;/span&gt;&lt;span&gt;3,3 V&lt;/span&gt;&lt;span&gt; auf der Leitung, was korrekt ist.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;Wenn der GPIO-Pin auf &lt;/span&gt;&lt;span&gt;LOW&lt;/span&gt; statt &lt;span&gt;0V eingestellt ist, sehe ich eine konstante &lt;/span&gt;&lt;span&gt;1,2V-Leck&lt;/span&gt;&lt;span&gt;-/Schwimmenspannung am Multimeter.&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Look here:&amp;nbsp;&lt;a href="https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#gpio-pads-control" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#gpio-pads-control&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;most of the port pin are tri-stated pins.&lt;/p&gt;
&lt;p&gt;Yes, it means that the pin can have 1.2V - the middle of the supply voltage as well as meaning this state is in &amp;quot;high-Z&amp;quot;.&lt;/p&gt;
&lt;p&gt;This is NOT a &amp;quot;leakage&amp;quot;.&amp;nbsp;&amp;nbsp;&lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Z = Impedance in (k)Ohm.&lt;/p&gt;
&lt;p&gt;This function is a very important function if you want to use that pins with different jobs.&lt;/p&gt;
&lt;p&gt;Such port can be driven in: &amp;quot;switched on&amp;quot; (sending high to the output), &amp;quot;h-Z&amp;quot; (the software let the port &amp;quot;swimming&amp;quot;), &amp;quot;switched-off (sending low to the output)&lt;/p&gt;
&lt;p&gt;Gerald&lt;br /&gt;---&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module</title><link>https://community.element14.com/thread/57009?ContentTypeID=0</link><pubDate>Wed, 03 Jun 2026 20:33:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9204c7c4-44b1-40ed-b093-c43908e9a930</guid><dc:creator>emreeyy</dc:creator><slash:comments>8</slash:comments><comments>https://community.element14.com/thread/57009?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57009/raspberry-pi-4-gpio-leakage-voltage-1-2v-when-low-on-relay-module/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;span&gt;Hi everyone,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am using a Raspberry Pi 4 Model B to control industrial 24V relay modules. However, I am not using an external 24V power supply; instead, I am routing the Pi&amp;#39;s own 3.3V pin to the common power rail of the relays to use them as simple mechanical switches for 3.3V signals.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have wired the Raspberry Pi GPIO pins directly to the relay signal inputs via a simple terminal block breakout board (no transistors or optocouplers are used yet).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The Problem:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;When the GPIO pin is &lt;/span&gt;&lt;span&gt;⁠HIGH⁠&lt;/span&gt;&lt;span&gt;, I read exactly &lt;/span&gt;&lt;span&gt;3.3V&lt;/span&gt;&lt;span&gt; on the line, which is correct.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;When the GPIO pin is set to &lt;/span&gt;&lt;span&gt;⁠LOW⁠&lt;/span&gt;&lt;span&gt;, instead of 0V, I see a constant &lt;/span&gt;&lt;span&gt;1.2V&lt;/span&gt;&lt;span&gt; leakage/floating voltage on the multimeter.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There is currently no common ground (GND) connection between the Raspberry Pi and the panel&amp;#39;s internal structure. I suspect this 1.2V is due to a floating ground issue or feedback leakage through the relay&amp;#39;s internal coil/status LED.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What is the best way to eliminate this 1.2V leakage and get a clean 0V when the pin is LOW? Should I use an optocoupler module (like PC817) or a transistor driver?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks in advance!&lt;/span&gt;&lt;/p&gt;</description></item><item><title>RE: Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module</title><link>https://community.element14.com/thread/235970?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2026 19:53:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f6be31ce-fc01-4465-994f-3c9adfe630d2</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235970?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57009/raspberry-pi-4-gpio-leakage-voltage-1-2v-when-low-on-relay-module/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;The RPI does some interesting things with the GPIO pins.&lt;/p&gt;
&lt;p&gt;You may have to set up some external termination resistors to get the right behavior.&lt;/p&gt;
&lt;p&gt;As I recall, there are some internal options you can set to the output configuration to use internal termination.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module</title><link>https://community.element14.com/thread/235967?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2026 19:22:43 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cde3d731-075a-4a05-bbf5-505bff194cdd</guid><dc:creator>robogary</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235967?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57009/raspberry-pi-4-gpio-leakage-voltage-1-2v-when-low-on-relay-module/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hi emreey.y.&lt;/p&gt;
&lt;p&gt;Please reference my spring clean 2026 project: The WrongCo Garden Guardian (a.k.a. Rube Frankenstein).&lt;/p&gt;
&lt;p&gt;I have schematics showing a raspberry pi pico 3v outputs driving 3v relay modules and 3v mosfet boards. The modules then drive 12v circuits. These output driver boards could just as easy pilot 24v devices.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module</title><link>https://community.element14.com/thread/235963?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2026 14:22:19 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3c8a4dfa-579b-4df6-b484-b95f1e7ecca8</guid><dc:creator>dougw</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235963?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57009/raspberry-pi-4-gpio-leakage-voltage-1-2v-when-low-on-relay-module/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;You need to supply a schematic of the connections. Typically a Pi output pin cannot drive a relay coil because the voltage is too high, the current is too high and the inductive flyback is too high. It sounds like you are trying to pull down a coil pin of a coil whose other pin is connected to 3.3V. The I/O pin cannot sink enough current to pull that pin to ground. A transistor would help, but the coil may need a higher voltage and it would definitely need a snubber diode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module</title><link>https://community.element14.com/thread/235953?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2026 23:47:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:86aee25a-963a-4a18-ae99-7e0b6a050b53</guid><dc:creator>geralds</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235953?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57009/raspberry-pi-4-gpio-leakage-voltage-1-2v-when-low-on-relay-module/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;1. Do NOT connect a 24V relay directly to an output of the Raspberry Pi. This will damage the Pi&amp;#39;s port.&lt;/p&gt;
&lt;p&gt;2. You need an external driver transistor to control the 24V relay. Alternatively, you can use an optocoupler such as the PC817.&lt;/p&gt;
&lt;p&gt;The GND - normally - is the base of each switched schematic, special circuits can have other base voltages.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;A relay has three operating states:&lt;/p&gt;
&lt;p&gt;a) Turn-on voltage: This is the minimum voltage at which the relay turns on.&lt;/p&gt;
&lt;p&gt;b) Hold voltage: This voltage is slightly lower than the turn-on voltage and can be even lower before the relay turns off. This voltage can help save power.&lt;/p&gt;
&lt;p&gt;c) Turn-off voltage: This voltage is so low that the relay turns off. A voltage may still be applied, but it will no longer be held.&lt;/p&gt;
&lt;p&gt;You can find the voltage states of your 24V relay in its datasheet.&lt;/p&gt;
&lt;p&gt;3. You can use an NPN transistor, for example. BC547 or BC546 or similar switching transistors (emitter to GND, collector to the relay) &amp;ndash; the relay is connected to the supply voltage (+24 V).&lt;/p&gt;
&lt;p&gt;4. Don&amp;#39;t forget the diode, e.g., 1N4007, in parallel with the relay coil; cathode to the positive supply voltage, anode to the switching transistor collector.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Alternatively:&lt;/p&gt;
&lt;p&gt;There is another option where the relay is connected to ground (GND) and can be switched with a PNP transistor.&lt;/p&gt;
&lt;p&gt;However, this circuit is somewhat more complex and requires a few more components.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module</title><link>https://community.element14.com/thread/235952?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2026 22:55:14 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:4180ff1a-509d-4fc2-a743-879d168cb3e0</guid><dc:creator>colporteur</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235952?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57009/raspberry-pi-4-gpio-leakage-voltage-1-2v-when-low-on-relay-module/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;If the Pi is going to power and external device they both have to have a common ground reference. 3.3V on the Pi is referenced to its own ground. If the Pi&amp;#39;s ground is not the same as the equipment ground, you will have issues. Let&amp;#39;s just say I have had issues until I create the common ground.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module</title><link>https://community.element14.com/thread/235949?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2026 22:21:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a392fa9d-03a8-4817-ad03-49dbae351b7c</guid><dc:creator>robogary</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235949?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57009/raspberry-pi-4-gpio-leakage-voltage-1-2v-when-low-on-relay-module/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;reference the rpi common to the panel internal structures common and the rpi power input common. Make everyone&amp;#39;s common , in common.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Raspberry Pi 4 GPIO Leakage Voltage (1.2V) When LOW on Relay Module</title><link>https://community.element14.com/thread/235947?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2026 21:34:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:37f5e607-88d1-49f5-94dc-b08b501e85a7</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235947?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/57009/raspberry-pi-4-gpio-leakage-voltage-1-2v-when-low-on-relay-module/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You may need to sketch a diagram, and attach a photo showing your setup, and links to the relay module and any other bits you&amp;#39;re using. Right now it&amp;#39;s very unclear what your precise set-up is.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MoOde audio and Raspberry Pi 5</title><link>https://community.element14.com/thread/56946?ContentTypeID=0</link><pubDate>Sun, 17 May 2026 00:32:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6a6b4b00-0076-470e-9d49-1877b2d038f2</guid><dc:creator>Mark87</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/56946?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/56946/moode-audio-and-raspberry-pi-5/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;span style="font-size:inherit;"&gt;Hi there!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;I&amp;rsquo;m experiencing the same issues with moOde Audio performance when using the built‑in Wi‑Fi server. The problem occurs very frequently&amp;mdash;after about two months of running optimally, the system starts freezing repeatedly. When this happens, I can&amp;rsquo;t stop playback or perform any other actions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;My setup is a Raspberry Pi 5 (8GB) running moOde Audio Player 10.2.0 (64-bit Trixie) and a official power supply For a Raspberry Pi 5 .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:inherit;"&gt;Any suggestion about how overcome this issue?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>I wrote a handson Raspberry Pi Pico 2 project book  free review copies for embedded devs</title><link>https://community.element14.com/thread/56536?ContentTypeID=0</link><pubDate>Mon, 29 Dec 2025 12:24:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2febe046-fb23-4c49-b6af-d45ef5bbcaaa</guid><dc:creator>micheal.embedded</dc:creator><slash:comments>13</slash:comments><comments>https://community.element14.com/thread/56536?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/products/raspberry-pi/f/forum/56536/i-wrote-a-handson-raspberry-pi-pico-2-project-book-free-review-copies-for-embedded-devs/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hi everyone, I&amp;rsquo;m Michael Bell I write embedded systems books for beginners and professionals.&lt;br /&gt;I just released &amp;ldquo;Embedded Systems with Raspberry Pi Pico 2 and RP2350: Projects and Deep Dives&amp;rdquo;.&lt;br /&gt;This is a project-based book that takes you from blinking LEDs to building real embedded systems using the RP2350, GPIO, timers, interrupts, and communication interfaces.&lt;br /&gt;I&amp;rsquo;m looking for honest feedback from developers and hobbyists.&lt;br /&gt;If you&amp;rsquo;re interested, I can send you a free Kindle copy in exchange for an honest review on Amazon. No pressure I just want to make sure the book is practical and useful.&lt;br /&gt;You can also check out the example code and projects on GitHub here:&lt;br /&gt;[emoticon:bff6f573746e4db3bab4385412e5dd76]&amp;nbsp;&lt;a href="https://github.com/michael-embedded/pico-embedded-book" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;github.com/.../pico-embedded-book&lt;/a&gt;&lt;br /&gt;And here&amp;rsquo;s the Amazon page to see the book details:&lt;br /&gt;[emoticon:bff6f573746e4db3bab4385412e5dd76]&amp;nbsp;&lt;a href="https://www.amazon.com/dp/B0G62PXWTP" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;www.amazon.com/.../B0G62PXWTP&lt;/a&gt;&lt;br /&gt;Many of the projects include detailed walk-throughs and debugging notes so you can learn how and why things work.&lt;br /&gt;Thanks for helping me make embedded learning better!&lt;/p&gt;</description></item></channel></rss>