Go to Post The season ended. Not cool. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 06-03-2013, 13:22
jnaranjo jnaranjo is offline
Registered User
FRC #4682
 
Join Date: Jan 2013
Location: Seattle
Posts: 7
jnaranjo is an unknown quantity at this point
Setting up a Victor 888 with an arduino

We are building a second shooter from spare parts, and we are using an arduino microcontroller.

The box on our arduino says that we have Digital I/O pins, and 7 of them have PWM.

We are using a Victor 888 motor controller.
We would like some advice/suggestions/guidance on the wiring for this setup.

I am using that the PWM cable has a + (red), a - (black) and a signal wire (the other color).

So I've got it setup for 5v, ground, and a digital i/o pin with PWM on it.

We know that we have to calibrate the Victor to the appropriate max, min, and neutral values from our microcontroller.

Our idea right now is to use the builtin Servo library in the arduino, because that uses PWM.
So we want to calibrate the victor to recognize 0 as full reverse, 90 as stop, and 180 as full forward (the range for an arduino servo is 0 to 180).
I read the user guide for the victor, and it says to hold down the CAL button to calibrate, and that we should see red and green alternating lights. We did that, and we didn't see any lights, but we tried to calibrate it anyways.

We've set it up so our arduino sends a signal (0 to 180) that is proportional to the values from a potentiometer that we've got set up.

Either way, our motors are not moving with our setup and we have no idea what to do.

Any ideas?

Also, I wasn't sure whether to put this in Electrical or Programming, because there is a lot of overlap.
Should I also post this in programming?
I think I need help from someone who is knowledgeable with arduino, and someone who is knowledgeable with electronics.

Also, I found someone who was trying to do something similar, and they took a similar approach
Hopefully this helps (the bottom page comment): http://www.chiefdelphi.com/forums/sh...d.php?t=114659

I just found someone else who had similar success. The last comment on that thread shows that they did the exact same thing I did, but mine didn't work.

Last edited by jnaranjo : 06-03-2013 at 13:38.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi