Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dc-motor]

DC motors are commonly used in robotics and vehicles. They come in brushed and brushless versions; the latter also includes stepper motors. Note they are distinct from servos, for which there is a separate tag.

0
votes
3answers
734 views

Coding a GUI in python and driving stepper motor by user input

I am hoping to use my Raspberry Pi 3 in a senior project for my mechancical engineering program. I want to use the pi to drive a vice like fixture to predetermined positions by connecting a stepper ...
1
vote
2answers
81 views

Single power supply to RP3 and Adafruit Motor Hat

I have a project that includes a RP3 and an Adafruit motor hat (https://www.adafruit.com/product/2348), with 2 5v stepper motors (https://www.adafruit.com/product/858). In the guide they state the ...
0
votes
2answers
19 views

Wiring DC Motor Controller board to Raspberry Pi 3

I have a fried Pie :( I used a 12 V power supply to this setup. Can you tell me what I did wrong. Here is my sample code in python: IN1- gpio18 / IN2 - gpio27 / EN - gpio5 GPIO.setmode(GPIO.BCM) ...
0
votes
2answers
640 views

Incorrect Encoder tick counts using Raspberry Pi

Hi I have a DC motor with encoder which has a PPR count of 990 (No load RPM = 107). However, I tried to read the number of ticks (on a Raspberry Pi 3B) by rotating the wheel 1 turn and I get a PPR ...
0
votes
2answers
700 views

Simultaneous servo control on RPi 3?

I am building a project wherein I'll be controlling four servos using the Raspberry Pi 3. I wanted to control each pair of servos simultaneously (as in, when one servo is moving to a specified angle, ...
3
votes
1answer
74 views

Controlling a High Power 13V DC Motor with in-built Hall Effect sensor

I am a beginner with electronics and RPi. I have a Brushed DC Motor that runs at a constant 13V and draws about 4-5 A while running and about 18-20 A at stall. It also has a single Hall effect sensor ...
2
votes
1answer
128 views

part incompatibilities

I am trying to control a 4.5V motor with a pi. I am going to use this to control the motor: https://www.ebay.com/itm/2X-L298N-Dual-H-Bridge-DC-Stepper-Motor-Driver-Controller-Board-Arduino/...
1
vote
1answer
1k views

Problem with ESC, brushless motor and Raspberry Pi

I have connected an ESC (an electronic speed control) with a battery and a brushless motor. The Raspberry is connected to the ESC to control it. I know - when I turn on the program that is on the ...
0
votes
1answer
26 views

How to connect components of an RC (and rPi) car to the battery safely?

I am building an RC car from scratch. I have a 6v motor with an appropriate mdb, a 5v hobby servo, a raspberry pi zero w, and an 2200mAh 11.1v 50 C battery. I will upgrade the motor to a higher ...
0
votes
1answer
689 views

Raspberry Pi 3: DC motor power supply problem

I'm newbie in electronics. I'm joining RPi's world through a starter learning kit but there's a wiring incongruity in DC Motor lesson: In the 1st image there's only RPi's 3.3V power. In the 2nd image ...
0
votes
1answer
1k views

ESC Control with RPi GPIO Pins

Ok so, I’m going to be using a pi zero and an esc to control a brushless motor based on a Bluetooth controller input. Basically, I want to know how via python I can control the esc. I heard using gpio ...
0
votes
1answer
43 views

What will happen if I put my ESC's BEC black wire to ground and yellow/white wire to 5v pin directly

I wanted to do some experiment with raspi, ESC and BLDC motor. I am able to run my motor using servo tester. But I was curious what will happen if I connect ESC's BEC to Raspi's GND and 5v output ...
-1
votes
1answer
27 views

How to connect a M24 Multi Pin Connector to a Raspberry Pi

How do i connect a M24 Multipin Motor Plug Wire that is coming from a brushless motor to a raspberry Pi , I know i need to use an ESC however the wires attached to my brushless motor is a multipin ...
-1
votes
1answer
67 views

Why don't my motors rotate?

I know I asked this question before, but this time I will give a more clearer description. I have been using the raspberry pi for approximately 6 months now. I am making a very simple robot car that ...
1
vote
0answers
11 views

Raspberry pi robot wheels not moving

I need some help with a Raspberry Pi robot I am attempting to put together. I'm using an L298N h-bridge to manage both DC motor wheels. I have a simple python script on the Pi which should simply ...
0
votes
0answers
64 views

Control 12V motor from 3.3V GPIO with external 12V Power Supply

I have a 12V motor, which I need to control from my Raspberry Pi (through the RaspiRobot Board). However, the RaspiRobot Board gives me only 3.3V for the motor. At the same time, I have a 12V adapter ...
0
votes
0answers
57 views

L298N not working anymore

This is an image of how I had it routed up, it was working just fine until I attempted to add a rocker switch. I used the 2 pin on/off rocker switch that came with my smart car kit (https://www.ebay....
0
votes
0answers
155 views

Motor driving using template matching using python and opencv on Rapberry pi

I want to drive a motor when my template is matched, I have written code of template matching but can't figure out how to drive the motor with it. This is my code: import cv2 import numpy as np ...