Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Using Vex Brain as FRC Coprocessor (http://www.chiefdelphi.com/forums/showthread.php?t=46645)

Tom Bottiglieri 17-04-2006 14:37

Re: Innovation First acquires Vex from Radio Shack
 
Vex Controller: $150

Co-processor anyone? I'm sure you all know how to program for it!

Richard Wallace 17-04-2006 14:54

Re: Innovation First acquires Vex from Radio Shack
 
Quote:

Originally Posted by Tom Bottiglieri
Vex Controller: $150

Co-processor anyone? I'm sure you all know how to program for it!

IFI is a VENDOR => VEX Controller is a COTS electronic component => compliant(<R45>)=.TRUE.

$150 < $200 => compliant(<R49>)=.TRUE.

Don't know about compliance with <R51>. Can you run a VEX controller from a 12V battery? Specs say 7.2V, and draw is 62mA for the controller and receiver. Since the receiver can't be used, maybe the draw is a little less.

lukevanoort 17-04-2006 14:59

Re: Innovation First acquires Vex from Radio Shack
 
Quote:

Originally Posted by Richard
$150 < $200 => compliant(<R49>)=.TRUE.

Don't know about compliance with <R51>. Can you run a VEX controller from a 12V battery? Specs say 7.2V, and draw is 62mA for the controller and receiver. Since the receiver can't be used, maybe the draw is a little less.

Could you power it through the pwm outputs on the RC like the servos?

Tom Bottiglieri 17-04-2006 15:16

Re: Using Vex Brain as FRC Coprocessor
 
Woah, my post got merged into a new thread. (I guess someone was expecting this topic to come up?)

Interfacing to the Vex controller shouldn't be hard at all. I haven't been able to play with my kit much since I bought it, but I have been able to interface the cmucam with the vex programming module and a male to male 9 pin serial cable. This setup could probably be become less bulky, as I'm pretty sure the only thing in the programming module box is an TTL->RSR232 converter chip like the one we get in the FRC kop.

Anyway, code to run this coproccesor shouldn't be hard at all. If theres enough support, and Mr. Watson permits me to use his serial driver (what a beautiful piece of software that is..), I should be able to get something released soon.

UlTiMaTeP 17-04-2006 15:42

Re: Using Vex Brain as FRC Coprocessor
 
You need to build a 12v to 7.2 psu's which is fairly easy, the instructions are on IFI's white papers. Also nothing stops you from pulling a tap off of the backup battery supply.

wsansewjs 17-04-2006 15:45

Re: Using Vex Brain as FRC Coprocessor
 
Oh man, imagine the 'dual core' processing in our robots everywhere. Maybe this robot can do the game procedures while other can do a smiley or noise making part during the game at the audience. Only time will tell!

-WJS

UlTiMaTeP 17-04-2006 15:48

Re: Using Vex Brain as FRC Coprocessor
 
I really like this idea of using Vex controllers :)

Richard Wallace 17-04-2006 15:49

Re: Using Vex Brain as FRC Coprocessor
 
Quote:

Originally Posted by UlTiMaTeP
You need to build a 12v to 7.2 psu's which is fairly easy, the instructions are on IFI's white papers. Also nothing stops you from pulling a tap off of the backup battery supply.

Thanks for referencing the IFI white paper on powering the controller. [I think you mean this circuit which uses an LM317T regulator?]

Actually, as written for 2006, <R51> would stop you from pulling a tap off of the backup battery supply.

UlTiMaTeP 17-04-2006 16:13

Re: Using Vex Brain as FRC Coprocessor
 
I was actually planning on building a few of these for purchase next season. It took me quite a long time to track down all the parts and most companies required me to spend 50$ min order.

Rickertsen2 17-04-2006 18:04

Re: Using Vex Brain as FRC Coprocessor
 
Cheaper to build your own coprocessor

Gdeaver 17-04-2006 19:35

Re: Using Vex Brain as FRC Coprocessor
 
Why do you need a coprocessor. Why would you want to spend 150$ just for a PIC coprocessor. What are you trying to do that the FRC can't handle. I could see a coprocessor if you wanted to use a sensor that was I2C or SPI. If you needed fast floating point math. If you wanted to play with machine vision. The Vex Modula would not be a good fit for these purposes. Either it's way to much $ or not powerful enough. There are several chip and carrier solutions on the market that would be easier and more cost effective.

DonRotolo 17-04-2006 20:09

Re: Using Vex Brain as FRC Coprocessor
 
Quote:

Originally Posted by Richard
Thanks for referencing the IFI white paper on powering the controller. [I think you mean this circuit which uses an LM317T regulator?]

Actually, as written for 2006, <R51> would stop you from pulling a tap off of the backup battery supply.

I would not use that circuit to power a 7.2 volt Vex controller. You'd be far better off using the standard LM317T power circuit (like this), since the quoted circuit is designed to charge a 7.2 volt battery, not replace it. All of the parts are available from Radio Shack, or Jameco, DigiKey, Mouser, etc. You definitely need a heat sink, and it should be powered from a 12 volt tap off the fuse panel.

This is a good circuit to play with in the off season. The LM-317T is a very versatile circuit and everyone would be well-served to gain some familiarity with it - including it's disadvantages (such as heat generated and relative inefficiency with high voltage drops).

Don

Qbranch 17-04-2006 21:02

Re: Using Vex Brain as FRC Coprocessor
 
My question is, why on earth do you need more processing power?

The PIC18F8722 processor runs at 40MHz, which is way faster and has way more flash than any of us could ever want. That is, of course, as long as you don't use any polling loops. (hopefully you aren't polling :ahh: ). I'm running about 9 parallel processes this year, and no signs of lag...

The processor has 8 external interrupts and several internal interrupts along with four timers, four banks flash memory, 16 channels analog to digital converter, ... :D

Just curious does anyone had any ideas what they would do with a co processor if they had one?

-Q

Donut 17-04-2006 21:21

Re: Using Vex Brain as FRC Coprocessor
 
Quote:

Originally Posted by Qbranch
Just curious does anyone had any ideas what they would do with a co processor if they had one?

Originally I thought of a co processor to handle 6+ sonar sensors all requiring interrupts (because then we'd have no room for encoders). Since we've found ones that wouldn't require interrupts now though, I don't think we'd really have much use for it anymore.

If you had a sensor requiring a specific interface I could still see it.

dlavery 17-04-2006 21:43

Re: Using Vex Brain as FRC Coprocessor
 
Quote:

Originally Posted by Gdeaver
If you needed fast floating point math. If you wanted to play with machine vision.

Hmmmmm... :rolleyes:


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

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