Here is a nice tutorial @ raspberrypi.org on how to control a DC motor using Python.
In this guide, you’ll be controlling two motors from your Raspberry Pi using Python on the desktop. First, it’s best just to learn how to control the motor. Then, once you have it working, you could easily use your code to drive a Raspberry Pi-powered robot by detaching the monitor, mouse, and keyboard and building a robot around a chassis.
Control a stepper motor using Raspberry Pi – [Link]
RELATED POSTS
- 24 July, 2019 Beyond 5G: Wireless Transceiver With Ultra-Fast Data Processing
- 18 May, 2021 MP6540H/MP6540HA are three-phase brushless DC motor drivers
- 2 September, 2021 Convert your Raspberry Pi in an Open Source tablet with the RasPad 3
- 20 November, 2017 SYZYGY Brain-1 – FPGA development platform featuring the SYZYGY standard
- 7 December, 2020 Advantech Launches AIMB-233 “THIN” Mini-ITX Industrial Motherboard with 8th Gen. Intel® Core™
- 16 September, 2017 3 Phase AC Motor Controller
Mike is the founder and editor of Electronics-Lab.com, an electronics engineering community/news and project sharing platform. He studied Electronics and Physics and enjoys everything that has moving electrons and fun. His interests lying on solar cells, microcontrollers and switchmode power supplies. Feel free to reach him for feedback, random tips or just to say hello :-)
view all posts by admin- 3D Printing (4)
- AI (267)
- Arduino (853)
- Audio (82)
- Basic Electronics (92)
- Books (18)
- Control (81)
- DIY (62)
- Ebay (1)
- Electronics-Lab (16)
- FPGA (122)
- GPS (73)
- Hardware (60)
- High Voltage (33)
- IC (735)
- Interface (80)
- IoT (661)
- Laser (44)
- LCD/OLED/ePaper (219)
- Led (196)
- Light (20)
- Mcu (621)
- Miscellaneous (79)
- Motor (147)
- Parts (245)
- PCB (115)
- Photovoltaic (75)
- Power (168)
- Power supply (175)
- Products (412)
- Raspberry Pi (405)
- RF (127)
- Robots (63)
- SBC (1022)
- Science (132)
- Sensor (612)
- SoC-SiP (15)
- Software (177)
- Soldering (31)
- SoM-CoM (45)
- Technology (229)
- Test Equipment (208)
- Test/Measurements (237)
- Timer (42)
- Tools (84)
- Top Stories (556)
- Uncategorized (69)
- USB (163)
- Websites (67)
- Youtube (99)
- /r/askelectronics
- /r/electronics
- 1-click BOM
- 3D ContentCentral
- Adafruit
- Adafruit Eagle Library
- Aisler
- All About Circuits
- Altium Circuit Maker
- Altium Designer
- Autodesk EAGLE
- AutoDesk Library.io
- AVRDUDE
- AVRDUDESS – A GUI for AVRDUDE
- CADENCE ALLEGRO
- CADSTAR
- Caneda
- Circuit JS
- Circuit Sandbox
- CircuitLab
- CircuitMaker
- CircuitPeople
- CometCAD
- Contextual Electronics' Getting to Blinky Tutorial
- Contextual Electronics' Shine on You Crazy KiCad
- Crowd Supply
- Design Spark PCB
- DipTrace
- DIPTRACE
- Dirty PCBs
- Eagle
- Eagle – List of ULPs everyone should know
- EasyEDA
- EasyEDA Gerber Viewer
- EASYPC
- EEVblog
- EEVBlog forum
- Electrical Engineering – Khan Academy
- Electronic Circuits and Projects
- Electronics Stack Exchange
- Electronics-Talk.com
- ElectronicsTutorials
- ElektorLabs
- Elliott Sound Products
- Embedded Lab
- Every Circuit
- EXPRESSPCB
- Eyrie.io
- Findchips
- FreeVideoLectures/Electronics
- Fritzing
- GC-Prevue
- gEDA
- Gerblook
- Gerbv
- GrabCAD
- GreatScott!
- Hackaday.io
- Hackster
- iCircuit
- Indiegogo
- Instructables
- JLCPCB
- Kerry D. Wong
- KiCAD
- KiCad Cheatsheet
- KiCad Footprint Collection
- KiCAD Gerbview
- KiCad Third-Party Tools
- KiCAD.info Forums
- Kickstarter
- KiKit – Automation for KiCAD
- Kitspace.org
- LCSC
- LibrePCB
- LTSpice
- Maker.io
- Maker.pro
- Mayhew Labs 3dpcb
- MENTOR
- Multisim
- Ngspice
- Octopart
- OemSecrets
- OrCAD
- OSH Park
- Pad2Pad
- PADS
- Part-DB
- Partkeepr
- Parts.io
- Partsbox.io
- PartSim
- PCB Shopper
- PCB123
- PCBWeb
- Pentalogix ViewMate
- Pololu
- PULSONIX
- PwnKitteh/InsanelyCheapElectronics
- Qucs
- SamacSys
- SnapEDA.com
- Sparkfun
- SparkFun Electronics Eagle Libraries
- Technoblogy
- The Signal Path
- Tindie
- traceParts
- Tracespace Viewer
- Ultra Librarian
- Upverter
- Viewplot
- Voltlog
- WIN SOURCE
- WinAVR
- Xesscorp's list of KiCAD 3rd party tools
- ZenitPCB
- ZofZPCB
Join 97,426 other subscribers