Controlling brushless dc motor with off chip PWM+hbridge
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- rmdsouza
- Posts: 3
- Joined: Fri Nov 28, 2014 10:35 pm
Controlling brushless dc motor with off chip PWM+hbridge
Does your 16 servo chip device include h-bridges?. Is there a device that includes a free running PWM chip which send its output to a h-bridge and the PWM is controlled from an arduino. I am also looking for direction control.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Controlling brushless dc motor with off chip PWM+hbridge
No, the 16-channel PWM board does not include H-Bridges.Does your 16 servo chip device include h-bridges?.
Yes. Our motor shield uses the same PWM chip coupled with 2 dual H-bridges to provide a total of 4 reversible DC motor control channels.Is there a device that includes a free running PWM chip which send its output to a h-bridge and the PWM is controlled from an arduino.
You can stack up to 32 of these boards for a total of 128 PWM controlled H-bridges on an Arduino.
https://www.adafruit.com/products/1438
- rmdsouza
- Posts: 3
- Joined: Fri Nov 28, 2014 10:35 pm
Re: Controlling brushless dc motor with off chip PWM+hbridge
How about changing the direction. Do you need a separate digital out from arduino or is it taken care inside the pwm duty cycle bits. Do you have sample code that does hi directional dcmotor control
Thanks
Roshan
Thanks
Roshan
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Controlling brushless dc motor with off chip PWM+hbridge
They are full H-bridges so by definition they have direction control. All is controlled via i2c. Only 2 Arduino pins are necessary. Example code is included in the library.
https://github.com/adafruit/Adafruit_Mo ... V2_Library
https://github.com/adafruit/Adafruit_Mo ... V2_Library
- rmdsouza
- Posts: 3
- Joined: Fri Nov 28, 2014 10:35 pm
Re: Controlling brushless dc motor with off chip PWM+hbridge
This is super good. Do you guys have MATLAB SIMULINK blocks for Arduino Mega + Motor Shield V2?. If yes, that would be great!. I am about to revamp our Control Systems Lab and go with Arduino Mega + Motor Shield V2. What you already have is great for our Mechatronics lab. Can you also suggest brushless DC motors with speed (analog electrical tachometer) and position (encoder or potentiometer, preferably and encoder with chip on the motor so that I only have to poll it.) that will work with this combo?
Thanks in advance.
Roshan
Thanks in advance.
Roshan
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Controlling brushless dc motor with off chip PWM+hbridge
Mathworks has a supprt package to interface their software products with the shield:
http://www.mathworks.com/help/supportpk ... ld-v2.html
Brushless DC motors require a brushless motor controller. We don't support brushless motors with the V2 motor shield.
www.pololu.com has a very good selection of brushed DC motors and encoders, many of which will work well with the shield.
http://www.mathworks.com/help/supportpk ... ld-v2.html
Brushless DC motors require a brushless motor controller. We don't support brushless motors with the V2 motor shield.
www.pololu.com has a very good selection of brushed DC motors and encoders, many of which will work well with the shield.
Please be positive and constructive with your questions and comments.