element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog Pas Home / Stepper motor
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: verrverr
  • Date Created: 19 Sep 2014 2:18 AM Date Created
  • Views 603 views
  • Likes 0 likes
  • Comments 0 comments
  • forget_me_not
  • pas_home
Related
Recommended

Pas Home / Stepper motor

verrverr
verrverr
19 Sep 2014

Pas Home - Index

 

During the last days I have do some testing and prototype with Stepper motor for opening and closing my curtains.

Durant les derniers jours j'ai réaliser quelque test et protype avec les Stepper motor pour l'ouverture et la fermeture de mes rideaux

 

imageimage

imageimage

 

 

Beginning / Début

 

imageimageimageimage

I started by following this tutorial https://learn.adafruit.com/adafruits-raspberry-pi-lesson-10-stepper-motors to control a stepper motor and then I try in real situation I realized that the engine was really not strong enough.

J'ai commencé par suivre ce tutoriel https://learn.adafruit.com/adafruits-raspberry-pi-lesson-10-stepper-motors pour contrôler un stepper motor et j'ai ensuite essayer en situation réel pour me rendre compte que le moteur étais vraiment pas de taille.

 

This link is also really useful to understand how a stepper motor work

C'est lien sont aussi vraiment utile pour comprendre comment fonctionne un stepper motor

https://learn.adafruit.com/all-about-stepper-motors

https://learn.adafruit.com/adafruit-motor-selection-guide

 

Really informative video / Vidéo vraiment instructive

https://www.youtube.com/watch?v=Dc16mKFA7Fo

 

Bigger / Plus gros

 

From Adafruit "Driving a stepper motor is a bit more complicated than driving a regular brushed DC motor. Stepper motors require a stepper controller to energize the phases in a timely sequence to make the motor turn."

 

imageimage

There are several choices of stepper motor and controller and have a big price range. I finally selected a bigger engine with normally 8 times more torque. To operate the engine with the maximum of power it needs to run on 12v. So I look for a good stepper controller to ensure proper operation and high isolation between 3.3V use by the Raspberry Pi and the 12v engine. I chose two product from Adafruit which are also well documented. The Adafruit motor shield v2 is designed for Arduino but according to the specifications he also work well with a raspberry pi.

 

Il existe plusieurs choix de moteur et de stepper controller et avez de grosse variation de prix. J'ai finalement choisie un plus gros moteur avec normalement 8 fois plus de torque. Pour faire fonctionne le moteur avec le maximun de puissance il doit fonctionner sur le 12v. Donc j'ai recherche un bon stepper controller pour assurer un bon fonctionnement et une bonne isolation entre le 3.3v d'utilisation du Raspberry Pi et le 12v du moteur. J'ai choisi deux produit de adafruit qui sont aussi bien documenter. Le Adafruit motor shield v2 est consue pour un arduino mais selon les spécifications devais aussi bien fonctionner avec un raspberry pi.

 

https://www.adafruit.com/product/1438

https://www.adafruit.com/products/324

https://learn.adafruit.com/adafruit-motor-shield-v2-for-arduino

 

Testing new devices / Test nouveaux matériels

 

image

 

Once I received the new engine I quickly put to the test with the Motor Shield and Arduino. The results are very conclusive, the motor and controller are really good work. I now turn to the realization of a pretty final assembly and then I'll focus more on the software part and control with OpenHab.

 

Une fois que j'ai recu les nouveaux moteur je l'ai rapidement mis a l'essais avec le Motor Shield et un arduino. Les résultats sont très concluant, le moteur et le contrôleur font vraiment bien le travail. Je vais maintenant passer a la réalisation d'une version pas mal finale du montage et ensuite je vais me concentrer plus sur la partie logiciel et le contrôle avec OpenHab.

 

Use with the raspberry pi / Utilisation avec le raspberry pi

 

imageimage

To use the Motor Shield designed for Arduino with raspberry pi I just had to convert the library use with the Arduino to python. That is very well done and the result is the same. I'll do soon an another post about using Motor shield with a raspberry pi and some video.

 

Pour utiliser le Motor Shield fait pour un arduino avec le raspberry pi j'ai juste eu a convertir la library de contrôle utiliser avec le arduino en python. Ça c'est très bien fait et le résultat est identique. Je vais prochainement faire un autre poste sur l'utilisation avec un raspberry pi et quelque vidéo.

 

Here is the link to the code for the raspberry pi for those spineless not wait until the next blog.

Voici le lien vers le code pour le raspberry pi pour ceux qui veule pas attendre la prochain blog.

https://github.com/pascalmartin/Adafruit-Raspberry-Pi-Python-Code/tree/master/Adafruit_MotorShield

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube