<?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[pneumatic seeder]]></title><description><![CDATA[<p dir="auto">Hi,<br />
i've just discovered M5stack, great product !</p>
<p dir="auto">I am a farmer and I produce organic vegetables.<br />
I have a project of pneumatic seed drill with venturi effect.<br />
I know a little arduino but not at all micropython.<br />
I am a little lost, I would like to know where to start my project.<br />
I have to control stepper motors and a solenoid valve.</p>
<p dir="auto">I would like to start simply by programming a stepper motor to advance a conveyor belt.</p>
<p dir="auto">Any ideas to help me?<br />
thank you very much</p>
]]></description><link>https://community.m5stack.com/topic/311/pneumatic-seeder</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:37:20 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/311.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Sep 2018 18:24:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to pneumatic seeder on Sun, 07 Oct 2018 16:34:30 GMT]]></title><description><![CDATA[<p dir="auto">Hello again,<br />
i've made a sketch on arduino ide to control a nema 17 stepper motor with the shield L298N</p>
<p dir="auto">here is the sketch :<br />
/*<br />
Controle de moteur pas à pas avec un L298N<br />
Le moteur est connecté sur les broches 2,3,4 et 5 de l'Arduino<br />
Le fil de masse (GND) est commun aux 2 platines.<br />
*/</p>
<p dir="auto">#include &lt;Stepper.h&gt;</p>
<p dir="auto">const int NbPasParTour = 200;                      // Nombre de pas pour 360 degres<br />
Stepper Moteur1(NbPasParTour, 2, 3, 4, 5);   // Initialise le moteur sur les broches 2 à 5</p>
<p dir="auto">void setup()<br />
{<br />
Moteur1.setSpeed(60);                               //Vitesse de rotation du moteur<br />
Serial.begin(9600);                                    //Initialise le moniteur série<br />
}</p>
<p dir="auto">void loop()<br />
{<br />
Serial.println("Sens horaire");                    //On fait 1 tour en sens horaire<br />
Moteur1.step(NbPasParTour);<br />
delay(1000);                                            //Pause 1 seconde</p>
<p dir="auto">Serial.println("Sens anti-horaire");            //On fait 1 tour en sens anti-horaire<br />
Moteur1.step(-NbPasParTour);<br />
delay(1000);                                          //Pause 1 seconde<br />
}</p>
<p dir="auto">It's work fine !</p>
<p dir="auto">But when i try on the m5, on the PIN 3, 1, 16, 17 with this sketch, the motor only vibrate :<br />
/*<br />
Controle de moteur pas à pas avec un L298N<br />
Le moteur est connecté sur les broches 3, 1, 16, 17 du m5<br />
Le fil de masse (GND) est commun aux 2 platines.<br />
*/<br />
#include &lt;M5Stack.h&gt;<br />
#include &lt;Stepper.h&gt;</p>
<p dir="auto">const int NbPasParTour = 200;                      // Nombre de pas pour 360 degres</p>
<p dir="auto">Stepper Moteur1(NbPasParTour, 3, 1, 16, 17);   // Initialise le moteur sur les broches</p>
<p dir="auto">void setup()<br />
{<br />
Moteur1.setSpeed(100);                               //Vitesse de rotation du moteur<br />
m5.begin();<br />
M5.Lcd.setBrightness(200);</p>
<p dir="auto">M5.Lcd.setTextColor(0xffff);<br />
M5.Lcd.setTextSize(3);<br />
M5.Lcd.setCursor(50, 20);<br />
M5.Lcd.print("M5 Seeder");<br />
}</p>
<p dir="auto">void loop()<br />
{<br />
M5.Lcd.setTextColor(0x7bef);<br />
M5.Lcd.setTextSize(2);<br />
M5.Lcd.setCursor(55, 60);<br />
M5.Lcd.print("Sens horaire");<br />
Moteur1.step(NbPasParTour*2);<br />
delay(1000);                                            //Pause 1 seconde</p>
<p dir="auto">M5.Lcd.setTextColor(0x7bef);<br />
M5.Lcd.setTextSize(2);<br />
M5.Lcd.setCursor(55, 60);<br />
M5.Lcd.print("Sens anti-horaire");<br />
Moteur1.step(-NbPasParTour);<br />
delay(1000);   //Pause 1 seconde</p>
<p dir="auto">m5.update();<br />
}</p>
<p dir="auto">Any idea ?<br />
thank you</p>
]]></description><link>https://community.m5stack.com/post/1681</link><guid isPermaLink="true">https://community.m5stack.com/post/1681</guid><dc:creator><![CDATA[fameuhly]]></dc:creator><pubDate>Sun, 07 Oct 2018 16:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to pneumatic seeder on Wed, 03 Oct 2018 10:29:04 GMT]]></title><description><![CDATA[<p dir="auto">Hello, thank you Julian, i've tried this sample. It work fine.<br />
But is there a sample of this code with comments too really understand each part ?<br />
Is there some exemples with "fritzing" draw ?</p>
<p dir="auto">thank you.</p>
]]></description><link>https://community.m5stack.com/post/1662</link><guid isPermaLink="true">https://community.m5stack.com/post/1662</guid><dc:creator><![CDATA[fameuhly]]></dc:creator><pubDate>Wed, 03 Oct 2018 10:29:04 GMT</pubDate></item><item><title><![CDATA[Reply to pneumatic seeder on Mon, 03 Sep 2018 19:16:25 GMT]]></title><description><![CDATA[<p dir="auto">There is an Arduino IDE stepper motor example listed on the M5stack site - I think it links to this forum. It is very simplistic, controlling a stepper to make a simple "clock" but it should be enough to get you started.</p>
]]></description><link>https://community.m5stack.com/post/1479</link><guid isPermaLink="true">https://community.m5stack.com/post/1479</guid><dc:creator><![CDATA[Julian]]></dc:creator><pubDate>Mon, 03 Sep 2018 19:16:25 GMT</pubDate></item></channel></rss>