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.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
166 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
135 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
0answers
28 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 ...
1
vote
2answers
143 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 ...
1
vote
1answer
2k 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
0answers
29 views

Unable to stop motor through GPIO in Python

I'm using an rPi to send a GPIO signal to a servo motor. When I run the program, the motor starts turning, and then continues without stopping, even if the program has terminated through the use of a ...
0
votes
1answer
72 views

Raspberrypi unable to read 2000 ppm encoder

I am using a DC motor attached with a 2000 ppm incremental encoder. I am using RPI to count the number of ticks, my code works fine but I am not able to calculate all the 2000 ticks. Any help would be ...
0
votes
2answers
76 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
1answer
118 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 ...
0
votes
0answers
117 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
2answers
1k 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
0answers
179 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 ...
0
votes
1answer
862 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
2k 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
58 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 ...
0
votes
3answers
855 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
votes
1answer
50 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 ...