Go to advanced search

by Gavinmc42
Wed Sep 20, 2023 12:15 am
Forum: Automation, sensing and robotics
Topic: 4 Stepper simultaneously with Pi 4 for a (sort of) CNC
Replies: 24
Views: 762

Re: 4 Stepper simultaneously with Pi 4 for a (sort of) CNC

... drive a laser, but I haven't tried it. Uses the same driver board for DC motor or Laser, so the gcode is there. I suspect bCNC can be hacked for the laser extra options. ...
by ame
Tue Sep 19, 2023 10:53 pm
Forum: Automation, sensing and robotics
Topic: 4 Stepper simultaneously with Pi 4 for a (sort of) CNC
Replies: 24
Views: 762

Re: 4 Stepper simultaneously with Pi 4 for a (sort of) CNC

... is better/easier. I still use Lasergrbl on a x86 laptop when I swap the DC motor router out for the 2.5W laser on the 3018 (now up sized to 3040) ;) Have not had a chance ...
by Gavinmc42
Tue Sep 19, 2023 10:39 pm
Forum: Automation, sensing and robotics
Topic: 4 Stepper simultaneously with Pi 4 for a (sort of) CNC
Replies: 24
Views: 762

Re: 4 Stepper simultaneously with Pi 4 for a (sort of) CNC

... is better/easier. I still use Lasergrbl on a x86 laptop when I swap the DC motor router out for the 2.5W laser on the 3018 (now up sized to 3040) ;) Have not had a chance ...
by akhodeir
Mon Sep 18, 2023 4:32 pm
Forum: General
Topic: Motor control TBB6612FNG
Replies: 2
Views: 137

Motor control TBB6612FNG

Hi All, I am trying to control a 8520 DC motor using Pi Pico, I am trying to use TBB6612FNG. I will use PWM to control the speed of the motors. ...
by loui
Sat Sep 16, 2023 2:36 pm
Forum: Beginners
Topic: Seeking Help with Raspberry Pi Motor for Cable Winding
Replies: 0
Views: 124

Seeking Help with Raspberry Pi Motor for Cable Winding

... trying to build a system where I can wind and unwind a cable using a motor, controlled by my Raspberry Pi. The key requirement is that the motor ... and unwind the cable without putting up a fight. Now I can't find a DC-Motor with a suitable motor controller. Does anyone know where you can ...
by Doctor Foo
Sun Aug 20, 2023 5:00 pm
Forum: General
Topic: PIO quadrature encoder: too many ticks?
Replies: 6
Views: 734

PIO quadrature encoder: too many ticks?

... in my C++ application, counting encoder signals from a cheap DC motor. The wiring should be correct, since I had a more primitive, non-PIO encoder function ...
by tpxhorus
Fri Aug 18, 2023 9:43 pm
Forum: General
Topic: Pico W PWMs don't work externally
Replies: 2
Views: 280

Pico W PWMs don't work externally

... for my drone project. Everything works and i can run dc motor with the code below when i am connected to the computer. from machine import Pin, PWM ...
by LuisPavel
Mon Aug 14, 2023 7:40 pm
Forum: General
Topic: Raspberry Pi Pico with Motors
Replies: 6
Views: 614

Re: Raspberry Pi Pico with Motors

In general, you can not run the motors directly from the Raspberry Pico, you need to run it through a motor controller ... these are pretty inexpensive driver boards, assuming no step motor, just simple DC motor, each board can handle two motors. I have used both these and the other breakout ...
by ghp
Sat Aug 05, 2023 4:58 pm
Forum: Automation, sensing and robotics
Topic: astronomical clock for battery operated feeder
Replies: 23
Views: 1693

Re: astronomical clock for battery operated feeder

but a simple motor, always turning the same direction
Guess you need something which can run both directions for open/close. DC motors usually can run both directions if polarity is reversed. Do you use a H-bridge or a relay board to control it ?
by ARM_believable
Fri Aug 04, 2023 3:16 pm
Forum: General
Topic: Using ADC on Pico in bare metal c++
Replies: 1
Views: 238

Using ADC on Pico in bare metal c++

Greetings, I have a dc motor and i want to control its pwm duty cycle with the use of a potentiometer. I have done all the coding ...
by Gavinmc42
Thu Aug 03, 2023 3:38 am
Forum: Beginners
Topic: Absolute beginner
Replies: 13
Views: 733

Re: Absolute beginner

... make it easy for beginners. If you want a Pi on the robot then a bigger motor power supply will be needed to move the weight around, 6-10 AA cells. ... causing glitches when running from the same power bank. Cheap 3-6V DC motors have a high stall current, 12V DC motors would be better, hence ...
by Mario88
Fri Jul 28, 2023 6:32 am
Forum: Automation, sensing and robotics
Topic: Why I can not activate my car on GPIO?
Replies: 2
Views: 740

Why I can not activate my car on GPIO?

... 电机接口1 IN2 = 33 # 电机接口2 IN3 = 35 # 电机接口3 IN4 = 37 # 电机接口4 frequency = 30 dc = 50 GPIO.setup(ENA, GPIO.OUT, initial=GPIO.LOW) ENA_pwm = GPIO.PWM(ENA, ... GPIO.OUT, initial=GPIO.LOW) def Motor_Forward(): print( 'motor forward' ) GPIO.output(ENA, True) GPIO.output(ENB, True) GPIO.output(IN1, ...
by dbrion1
Wed Jul 26, 2023 3:31 pm
Forum: Español
Topic: Ayuda con mi proyecto
Replies: 8
Views: 3246

Re: Ayuda con mi proyecto

... write.; google translate is way better. https://www.instructables.com/DC-Motor-Control-With-Raspberry-Pi-and-L293D/ Disculpe, pero su RPi está sufriendo mucho por la ...
by gerhick
Wed Jul 26, 2023 11:57 am
Forum: Other projects
Topic: Voltage Regulator Design
Replies: 5
Views: 1711

Voltage Regulator Design

... do it right - I want a printed circuit board and simple plug-in (AC or DC) power supply, but I'm not sure where to start for the voltage regulator ... background on the project. the rig will consist of 3 Nema 17 stepper motors (plus 1 spare driver for future expansion) driven via TMC2209 drivers, ...
by MDMatt
Wed Jul 19, 2023 6:01 pm
Forum: General
Topic: Raspberry Pi Pico with Motors
Replies: 6
Views: 614

Re: Raspberry Pi Pico with Motors

In general, you can not run the motors directly from the Raspberry Pico, you need to run it through a motor controller ... these are pretty inexpensive driver boards, assuming no step motor, just simple DC motor, each board can handle two motors. I have used both these and the other breakout ...
by thukohama
Mon Jul 17, 2023 2:54 pm
Forum: Beginners
Topic: starting a rpi for controll servo motor
Replies: 6
Views: 278

Re: starting a rpi for controll servo motor

... controller are really expensive. So i`m figure out to find alternative motor and controller And fianlly i found Rpi and few motors. Problem was,there ... in btween power servo like 9v? 7v? or middle range servo?(12v or 24v dc servo), What if need Reducer? i need more power!. But when i`m reserching ...
by ame
Mon Jul 17, 2023 2:15 am
Forum: Beginners
Topic: starting a rpi for controll servo motor
Replies: 6
Views: 278

Re: starting a rpi for controll servo motor

if i want to use 12v dc servo, i think its not possible. Do you want to use a 12V servo? Assuming that "servo" means an RC hobby servo then you should probably read a bit more about how they work and how to control them: https://learn.sparkfun.com/tutorials/hobby-servo-tutorial/all ...
by thukohama
Sun Jul 16, 2023 1:55 pm
Forum: Beginners
Topic: starting a rpi for controll servo motor
Replies: 6
Views: 278

starting a rpi for controll servo motor

... use raspberry pi and looking for how to controll multiple servo motor with over 5v voltage usually i`m searching that some board such as ... But, all that board running a 5v~6v motor, so if i want to use 12v dc servo, i think its not possible. Also some servo recommend 5v to 7v . ...
by neilgl
Sun Jul 09, 2023 6:59 pm
Forum: Automation, sensing and robotics
Topic: How to control 4 motors wirelessy(pls answer quick i need to do this in under a week)
Replies: 7
Views: 677

Re: How to control 4 motors wirelessy(pls answer quick i need to do this in under a week)

Yes what thagrol said, and assuming it is “Adafruit DC & Stepper Motor HAT for Raspberry Pi”, that can control 4 DC motors when attached to a raspberry pi. So “something” is a raspberry pi - with WiFi.
And they have python libraries for it.
by sasmit5993
Sun Jul 09, 2023 5:45 pm
Forum: Automation, sensing and robotics
Topic: How to control 4 motors wirelessy(pls answer quick i need to do this in under a week)
Replies: 7
Views: 677

How to control 4 motors wirelessy(pls answer quick i need to do this in under a week)

Does anyone know how to control a adafruit dc motor and stepper motor hat by remote control For example lets say im making a remote controlled car, ...
by ghp
Tue Jul 04, 2023 10:17 am
Forum: Automation, sensing and robotics
Topic: PWM pump control
Replies: 2
Views: 261

Re: PWM pump control

but it doesn't have a signal gnd for the pwm If it is a DC motor, then possibly the DC GND could be used. But better to have a look to the datasheet. Doublecheck ...
by bjesus
Wed Jun 07, 2023 6:45 pm
Forum: General
Topic: Using Pico to run a Stepper Motor
Replies: 4
Views: 418

Using Pico to run a Stepper Motor

Hello! I'm trying to use my Pico W to power a stepper motor. This is my very fast electronics project so I'm completely clueless, I ... board, but since nothing worked I also tried doing that and connected a 12V DC to the green VIN/GND connector (it says 12V-24V). I'm kinda lost regarding ...
by ChrisF12000
Mon May 29, 2023 2:11 am
Forum: Troubleshooting
Topic: Motors starting smooth, then getting choppy after a few seconds.
Replies: 1
Views: 211

Motors starting smooth, then getting choppy after a few seconds.

Hello, I am running two stepper motors using a driver from adafruit (stepper motor hat). When I have them run, they ... Driver: adafruit dc stepper motor hat, don't know what info is relevant here other than it's powered ...
by yukdumboobum
Thu May 11, 2023 2:47 pm
Forum: SDK
Topic: PIO PWM on one of two pins with a single SM
Replies: 22
Views: 1714

Re: PIO PWM on one of two pins with a single SM

... uint DUTY_CYCLE = 30; //forward declaration of struct typedef struct DC_MOTOR DC_MOTOR; //global struct, we'll pass this around with a pointer DC_MOTOR motor_1; //Function ...
by yukdumboobum
Thu May 11, 2023 4:36 am
Forum: SDK
Topic: PIO PWM on one of two pins with a single SM
Replies: 22
Views: 1714

Re: PIO PWM on one of two pins with a single SM

... code here in case someone wants to take me to school real quick: motorPWM.pio ;;;; .program motorPWM .side_set 2 opt fetch: pull noblock side ... = false; const uint FREQ_HZ = 20000; const uint DUTY_CYCLE = 50; struct DC_MOTOR { uint16_t freq; //in hz uint16_t dutyCycle; //percentage 0-100 ...

Go to advanced search