<?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>Thu, 25 Jun 2026 00:49:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/products/raspberry-pi/f/forum" /><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>Dipeshkachhi</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>RE: I wrote a handson Raspberry Pi Pico 2 project book  free review copies for embedded devs</title><link>https://community.element14.com/thread/235575?ContentTypeID=1</link><pubDate>Thu, 14 May 2026 15:54:50 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cd6dcaee-a678-4be1-b165-93dfbd867f98</guid><dc:creator>micheal.embedded</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235575?ContentTypeID=1</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;yes i get that and i was about to start that but work&amp;nbsp;,exams&amp;nbsp; family came up and ive been busy since&amp;nbsp;&lt;br /&gt;i apologize for any inconvenience yall&amp;nbsp; might have experienced&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&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><item><title>RE: I wrote a handson Raspberry Pi Pico 2 project book  free review copies for embedded devs</title><link>https://community.element14.com/thread/235574?ContentTypeID=1</link><pubDate>Thu, 14 May 2026 15:52:33 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:cfd0ce52-71b4-43c0-aa12-6b24f0715116</guid><dc:creator>micheal.embedded</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235574?ContentTypeID=1</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;im sorry about that send me your email via a dm and id send you a free soft copy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I wrote a handson Raspberry Pi Pico 2 project book  free review copies for embedded devs</title><link>https://community.element14.com/thread/235563?ContentTypeID=1</link><pubDate>Wed, 13 May 2026 15:51:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f53fc5fa-dd14-4ea4-b744-72184f6aae16</guid><dc:creator>IOTSimon</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/235563?ContentTypeID=1</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;&amp;gt;&amp;nbsp; i could edit up the codes ive got on github&lt;/p&gt;
&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;When writing a programming book, it seems obvious to me that the source code should be available in a repository. &lt;br /&gt;Otherwise, the book loses much of its practical and educational value for a developer,&amp;nbsp;&lt;br /&gt;Don&amp;rsquo;t you think?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I wrote a handson Raspberry Pi Pico 2 project book  free review copies for embedded devs</title><link>https://community.element14.com/thread/235562?ContentTypeID=1</link><pubDate>Wed, 13 May 2026 14:32:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:66263608-7095-4d41-9d5d-56ba727d8f6b</guid><dc:creator>MyEric</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/235562?ContentTypeID=1</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 Michael, this is the link on Amazon&amp;nbsp;&lt;a href="https://www.amazon.com.be/dp/B0GQY4TXRN?ref=ppx_yo2ov_dt_b_fed_asin_title" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://www.amazon.com.be/dp/B0GQY4TXRN?ref=ppx_yo2ov_dt_b_fed_asin_title&lt;br /&gt;I&lt;/a&gt;&amp;nbsp;leave in Belgium.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s not the right book?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I wrote a handson Raspberry Pi Pico 2 project book  free review copies for embedded devs</title><link>https://community.element14.com/thread/235561?ContentTypeID=1</link><pubDate>Wed, 13 May 2026 14:24:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b65c3b7b-f87e-48be-9911-b3726f6c0f86</guid><dc:creator>micheal.embedded</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/235561?ContentTypeID=1</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;thank you im glad i could help&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>