Go to Post quick everyone find everything in the whole world that sells for $125 so we can get an edge on our building 2 days before kick off.....ready...go! - Greg Needel [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-11-2008, 21:14
kajeevan kajeevan is offline
Registered User
FRC #0188 (blizzard)
Team Role: Mechanical
 
Join Date: Oct 2007
Rookie Year: 2006
Location: woburn
Posts: 40
kajeevan has much to be proud ofkajeevan has much to be proud ofkajeevan has much to be proud ofkajeevan has much to be proud ofkajeevan has much to be proud ofkajeevan has much to be proud ofkajeevan has much to be proud ofkajeevan has much to be proud ofkajeevan has much to be proud of
Using vex micro controller with hobby shop receiver?

Here is the problem, I am a complete novice at electrical/programming. I have a vex micro controller and a 2.4Ghz Park Flyer receiver. The receiver had a pwm connection. Is it possible to connect it into a digital input and receive it, that way i can use there controller and still program my vex motors.

If so how would the program look. Also is it possible to hook up victors running 2 cims into the micro controller.

Also how would I run battery for it. I need a 7.2V for the micro controller and a 12V for the cims.

Site of receiver:

http://www.horizonhobby.com/Products...odID=SPM2460BR
  #2   Spotlight this post!  
Unread 27-11-2008, 23:18
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,814
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Using vex micro controller with hobby shop receiver?

Quote:
Originally Posted by kajeevan View Post
Here is the problem, I am a complete novice at electrical/programming. I have a vex micro controller and a 2.4Ghz Park Flyer receiver. The receiver had a pwm connection. Is it possible to connect it into a digital input and receive it, that way i can use there controller and still program my vex motors.

If so how would the program look. Also is it possible to hook up victors running 2 cims into the micro controller.

Also how would I run battery for it. I need a 7.2V for the micro controller and a 12V for the cims.
R/C receivers are meant to directly control servos. I don't think there is a way to do what you want, unless you:
-connect every PWM to the R/C controller
-Have a reader on each to read the value and feed it to the VEX controller

Quite simply, it's more trouble than it's worth.

Victors running 2 CIMs is quite possible. It's a standard PWM connection. Just make sure that the throttle output is not one of them.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #3   Spotlight this post!  
Unread 28-11-2008, 02:53
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Using vex micro controller with hobby shop receiver?

Quote:
Originally Posted by kajeevan View Post
Here is the problem, I am a complete novice at electrical/programming. I have a vex micro controller and a 2.4Ghz Park Flyer receiver. The receiver had a pwm connection. Is it possible to connect it into a digital input and receive it, that way i can use there controller and still program my vex motors.

If so how would the program look. Also is it possible to hook up victors running 2 cims into the micro controller.

Also how would I run battery for it. I need a 7.2V for the micro controller and a 12V for the cims.

Site of receiver:

http://www.horizonhobby.com/Products...odID=SPM2460BR
To use their R/C connection to control the Vex controller would work with quite a bit of coercion (by means of custom control circuits). But their is an easier way to do this for relatively cheap.


Note: I have not actually done this yet, but I plan to do it soon with both Vex controllers and Arduinos:

One relatively easy way to wirelessly talk to a Vex controller without the Vex R/C equipment would be to use ZigBee (XBee) wireless nodes.If you want a really simple way of controlling it, you can splice into the analog sensor pots on the back of the Vex transmitter as well as the digital buttons, and feed these values to the XBee module. (Note: Vex transmitter joystick pots run at 5v, the XBee modules use 3.3v. You will need a potentiometer or do the math [and save the world] to calculate an appropiate voltage divider using resistors.)

Since the XBee modules have a "transparent" mode, in which whatever value put on the input pin of the transmitter gets sent to the receiver, you can connect the output pins of the XBee module on the robot directly into the analog/digital I/O ports on the Vex controller.

Now if you want to get fancier, you can add a small controller to the Vex transmitter (such as the ever-famous $20ish Ardunio) to encode the joystick and buttons values into a serial communications stream, and send this over the serial pin. On the Vex robot, you would then wire this over to the Rx port. You can use the Tx port to send data back to the transmitter, and do stuff like light up LEDs or whatever you want.

1mW XBee modules are about $20 each, and you would need two. 1mW XBee modules have a range of about 100-300 feet. If you want to get more advanced and use an Ardunio (or similar system on the transmitter) or use higher power XBee PRO modules (60mW are $35 each, and have a range of up to a mile outdoors), obviously this will cost more. But who wouldn't want to control a Vex robot a MILE away?

You can find XBee/XBee PRO, as well as Arduino controllers over at www.sparkfun.com.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a VEX Receiver with Non-Vex Equipment akaria VEX 26 06-09-2008 00:55
pic: 2009 Speed Controller by Luminary Micro Greg Needel Extra Discussion 26 10-08-2008 22:26
Using a spike with a VEX controller? AdamHeard VEX 2 20-11-2007 10:26
Using auxiliary joystick buttons with IFI controller. Eric W. Jones Programming 9 03-12-2006 22:26
Using Accelerometer with '04 controller sanddrag Control System 4 20-02-2004 12:18


All times are GMT -5. The time now is 19:29.

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