<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Controlling 12v solenoid]]></title><description><![CDATA[<p dir="auto">I want to use an M5 to switch a 12v DC solenoid valve. I was hoping the GoPlus2 which takes a 12v input, but only outputs the motor voltage at 5v.<br />
Is there an 'off the shelf' solution?</p>
]]></description><link>https://community.m5stack.com/topic/2701/controlling-12v-solenoid</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 01:31:22 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2701.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Jan 2021 21:32:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Controlling 12v solenoid on Thu, 07 Jan 2021 11:01:38 GMT]]></title><description><![CDATA[<p dir="auto">If you need to PWM the output, you can use a mosfet module. You can find a cheap one on eBay or AliExpress.</p>
<p dir="auto"><img src="/assets/uploads/files/1610017285350-4cf5d38c-ba95-4ae3-886d-db7c5321ab59-image-resized.png" alt="0_1610017280844_4cf5d38c-ba95-4ae3-886d-db7c5321ab59-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/11581</link><guid isPermaLink="true">https://community.m5stack.com/post/11581</guid><dc:creator><![CDATA[Dario]]></dc:creator><pubDate>Thu, 07 Jan 2021 11:01:38 GMT</pubDate></item><item><title><![CDATA[Reply to Controlling 12v solenoid on Thu, 07 Jan 2021 10:00:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ksprayberry" aria-label="Profile: ksprayberry">@<bdi>ksprayberry</bdi></a> That's a good suggestion, bit I should have mentioned that I may need to 'pwm' the output at 20-30Hz so a relay won't last long.</p>
]]></description><link>https://community.m5stack.com/post/11580</link><guid isPermaLink="true">https://community.m5stack.com/post/11580</guid><dc:creator><![CDATA[richm]]></dc:creator><pubDate>Thu, 07 Jan 2021 10:00:18 GMT</pubDate></item><item><title><![CDATA[Reply to Controlling 12v solenoid on Thu, 07 Jan 2021 02:14:32 GMT]]></title><description><![CDATA[<p dir="auto">I don't know that the Goplus2 module would work. Could you maybe not use a relay module triggered from one of the GPIO on the M5 to operate the relay and then feed 12 volts to the solenoid valve that way? If you're using the goplus2 module in addition, you could just maybe split the 12 volt power off and route one leg through the relay so that when you make and break that relay you energize your solenoid valve.</p>
]]></description><link>https://community.m5stack.com/post/11577</link><guid isPermaLink="true">https://community.m5stack.com/post/11577</guid><dc:creator><![CDATA[ksprayberry]]></dc:creator><pubDate>Thu, 07 Jan 2021 02:14:32 GMT</pubDate></item></channel></rss>