chipKIT® Development Platform

Inspired by Arduino™

Question: I/O Shield + motors

Created Wed, 22 Feb 2012 10:23:01 +0000 by fastlater_pro


fastlater_pro

Wed, 22 Feb 2012 10:23:01 +0000

Can anyone help a beginner? :?: :?: :?: I bought a Chipkit max 32 with the I/O shield, but I don't have much experience in microcontrollers. I would like to know how to connect aDC motor, a servo motor andstepper motor_with 5 wires_. I means where I need to put every wire.

I have searched on the internet but I didn't find any answer and I hope someone can answer this question, maybe a little easy and stupid, but because I am a beginner, It is difficult to know where I have to connect the cables correctly.

It would be necessary to connect a external power supply to use printer motors or a toy motors?

Thanks in advance


clyde

Thu, 23 Feb 2012 14:44:53 +0000

there is lots of net advice on arduino boards- motor connections. should be much the same. try arduino -motors- shields clyde


fastlater_pro

Fri, 24 Feb 2012 09:42:42 +0000

I meant I wanted to know in order that I have to plug in JP7 and JP8 the DC motor and Stepper motors

IMG_0095.jpg:


MarkHoskins

Fri, 24 Feb 2012 18:14:02 +0000

[NOTE]: This forum won't let me post links. Replaced them with google searches.

For stepper motors, the following tutorial exists. It's for Arduino, but it should be able to be adapted for Chipkit, though that isn't always simple.

Google: Arduino stepper

The link to Tom Igoe's notes is broken on that page. Here's a link that works:

Google: Tom Igoe's notes on steppers

In the case of both your DC and your stepper motor, you are going to be dealing with far more current than the microcontroller is going to able to output. You're going to need some sort of external current control, probably an H-Bridge, as suggested in Tom Igoe's notes. This will allow you to power large motors in more than one direction. Basically, you are going to NEED to get some more hardware to control the stepper/DC motors. The benefit of having a microcontroller is you're going to have a lot of precision in signals, but the signals won't be very powerful. The H-Bridges will allow these tiny signals to be amplified into doing some actual work.

As for the servo, I don't know how much current it requires. Since you're using a stepper motor ( Brushless ) and servos, it's almost like you are doing some sort of remote control aircraft project? Maybe? You can almost always power the servo directly from the 5v output pin of the Arduino, and presumably the chipkit as well.

In any case, here is the Servo library for Arduino, again it will have to be adapted for chipkit which may or may not be difficult:

Google: Arduino servo


fastlater_pro

Sat, 25 Feb 2012 20:36:34 +0000

Thanks for your advice MarkHoskins I would check all information you give me. I hope understand enough


fastlater_pro

Mon, 27 Feb 2012 08:10:48 +0000

I read a lot of papers and websites but nothing. :( I am trying the stepper_oneRevolution example, change the example's pins for pins 3,5,6,9 which correspond to arduino max 32 for open drain/pwm output.

Help please!!!!!

I attached a photo of my project. I am trying to connect the bipolar motor, but I would like to know how to connect a both unipolar and biporlar motors


cebalo

Wed, 09 May 2012 12:41:35 +0000

hi, please i have a same problem and i need your help to connect my Stepper Motor(DC 12 V and 0,7 A) of the Shield to the Basoch I/O, wich Pin of the Basic i need to connect my Stepper.? please i need the Answer thanks