Go to Post Did you know that if a G7, G27, G28, and G20 occur in that order at the same time, then the referee will appear to be doing the "YMCA"? :) - Jack Jones [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 01-11-2003, 18:35
gburlison gburlison is offline
Mentor
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Sep 2002
Rookie Year: 2000
Location: Colorado Springs, CO
Posts: 245
gburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to all
Tether for new EduBot Controller

Let me know If you think this will work!!!

The new EduBot Controller has Analog inputs that you might wire a potentiometer to.

The Joysticks have potentiometers for the X and the Y axis.

Make an adaptor cable to connect a Joystick to the analog inputs of the Edubot ( be sure it will be long enough to act as a tether)

Write your program to use the the analog inputs as you normally would use the joystick inputs.
__________________
Gordon Burlison - Mentor
662/Rocky Mountain Robotics
"Every silver lining's got a Touch of grey - Robert Hunter"
"No sense in being pessimistic, it wouldn't work anyway"
  #2   Spotlight this post!  
Unread 01-11-2003, 22:04
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
In theory that would work perfectly, I think. (Very assuring I know ) now we need a way to make that wireless and we're off to a start.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #3   Spotlight this post!  
Unread 01-11-2003, 22:50
gburlison gburlison is offline
Mentor
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Sep 2002
Rookie Year: 2000
Location: Colorado Springs, CO
Posts: 245
gburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to all
Quote:
now we need a way to make that wireless and we're off to a start.
That part has already been solved, get an R/C transmitter and receiver.
__________________
Gordon Burlison - Mentor
662/Rocky Mountain Robotics
"Every silver lining's got a Touch of grey - Robert Hunter"
"No sense in being pessimistic, it wouldn't work anyway"
  #4   Spotlight this post!  
Unread 01-11-2003, 23:21
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
I meant....ok I don't know what I meant, but it involved a simpler cheaper solution than a hobby R/C system.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #5   Spotlight this post!  
Unread 01-11-2003, 23:42
ZACH P. ZACH P. is offline
Insert Custom User Title
#0321 (Robolancers)
 
Join Date: Jan 2003
Location: Philly!!
Posts: 228
ZACH P. is on a distinguished road
Send a message via AIM to ZACH P.
Quote:
Originally posted by Matt Krass
I meant....ok I don't know what I meant, but it involved a simpler cheaper solution than a hobby R/C system.
unless you were used to constructing r/c circuts, a prebuilt r/c system is definatly the most simple way to go.
__________________
pi is exactly 3

IM me at: zmstr265
  #6   Spotlight this post!  
Unread 02-11-2003, 19:31
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Here is what I think about this,

We could connect the relay outputs of the old EDU-RC to the digital inputs of the new EDU RC. The old EDU controller could be controlled remotely with the OI. I would be careful with voltages (i dont know the signal levels for the Spike Control Pins), but this solution seems fair for those with old EDU robot controllers. Otherwise, I would use an old full-size robot controller for the task.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #7   Spotlight this post!  
Unread 02-11-2003, 19:57
gburlison gburlison is offline
Mentor
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Sep 2002
Rookie Year: 2000
Location: Colorado Springs, CO
Posts: 245
gburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to allgburlison is a name known to all
Quote:
Here is what I think about this,

We could connect the relay outputs of the old EDU-RC to the digital inputs of the new EDU RC. The old EDU controller could be controlled remotely with the OI.
The Relay Outputs only convey an on/off control, therefore only your joystick switches would work. If you could convert the PWM outputs from the old controller to the correct voltage levels, then perhaps you would have something.
__________________
Gordon Burlison - Mentor
662/Rocky Mountain Robotics
"Every silver lining's got a Touch of grey - Robert Hunter"
"No sense in being pessimistic, it wouldn't work anyway"
  #8   Spotlight this post!  
Unread 05-11-2003, 23:33
kmcclary's Avatar
kmcclary kmcclary is offline
Founder 830/1015;Mentor 66/470/1502
FRC #0470 (Alpha Omega Robotics)
Team Role: Engineer
 
Join Date: Aug 2001
Rookie Year: 1994
Location: Ann Arbor, MI
Posts: 491
kmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond reputekmcclary has a reputation beyond repute
Tying the 2003 RC to the 2004 EDUBOT CPU

Quote:
Originally posted by gburlison
If you could convert the PWM outputs from the old controller to the correct voltage levels, then perhaps you would have something.
There is some serious misinformation going around here...

I've personally scoped some of the signals out of the 2003 RC, AND I talked to IFI last year about interfacing other things to PWM outputs, so I have an idea of what the output driver looks like electrically.

The old (2003) RC *is* using 5V PWM signals. Though the driver chip is CAPABLE of higher voltages independent of the logic supply, they've tied the "load" power AND the "logic" power BOTH to +5V.

We're not sure about interfacing the NEW (2004) RC to the EduBot CPU though, as they won't guarantee ANYTHING about IT other than "It will not be compatible at ALL"...

According to IFI, the problem with a 2003 RC and 2004 EDUBot CPU combination/interface lies in the TIMING of the PWM pulses.

The EDUBOT CPU assumes that you're connecting a standard R/C transmitter/receiver rig to it. That sends the pulses in a particular order, and the EDUBOT assumes that order when it is LOOKING for incoming pulses.

We're just not sure of exactly WHEN the RC generates it's PWM output signals RELATIVE TO EACH OTHER. In other words, PWM4 may NOT be generated after PWM3, and before PWM5 is sent out.

Tests at IFI have revealed that when you connect the 2003 RC to the new EDUBOT CPU, they CAN miss each other's pulses, causing erratic operation.

They're being coy about it, but I'm guessing that what is happening is a "beat frequency" problem between the RC's output sequence, and the EDUBOTs scanning sequence... I'll bet that a situation has arisen where at the time one channel of the RC is sending its PWM, the EDUBOT isn't looking at that input AT THAT TIME. So, by the time it DOES sync up and gets a particular channel, either the Victor or Spike already has timed out and shut down, or the EDUBOT input routine has timed out, assumed that there's no signal there, and starts sending a "127" or some such thing...

Either way, you'd get "glitchy" operation. Sometimes they catch each other and work right, and sometimes they're "syncopated" and won't see each other...

IFI says they WILL be coming out with an App Note shortly on their website specifying the EXACT order to connect channels between the two to help avoid this. But, THEY haven't debugged any particular combination yet, so even THEY aren't sure if it WILL EVER work right. Hence, the warning.

However, they HAVE said that the NEW (2004) RC will NOT be compatible at ALL with the Edubot CPU, but they refuse to say WHY.

So... If you want to get a JUMP on this, try THIS experiment: Scope out the 2003 RC's outputs with a dual trace scope, and post here the ORDER in which it sends it's PWM signals out. That's the first step in tying the two devices together.

Next, determine if that order is CONSTANT. If for example we have two "banks" of PWMs generated by separate PICs in the old RC whose timing are asynchronous to each other, the order may change with time, and we're toast.

The next step will be to INSURE there's no voltage incompatibility due to ground currents. That can be done with simple resistor / zener combinations on the PWM cables, but we can talk about that later.

I'll bet though, that IF the firing order is constant, and IF we connect the RC's PWM outputs in FIRING order to PWM Input 1-8 (or 8-1) respectively, it'll work as well as it ever will.
I don't know if that'll be PERFECT though, and may still be "glitchy". It may still require a PIC (or other logic) in the middle, to buffer the PWM signals' relative timing in some way to insure every pulse is recognized by the EduBot CPU, every time.

Now whether or not a complex interface design to sync them up is worth the effort just to save the cost of a $100 radio control rig, is an ENTIRELY different question.

- Keith
__________________
Keith McClary - Organizer/Mentor/Sponsor - Ann Arbor MI area FIRST teams
ACTI - Automation Computer Technologies, Inc. (Sponsoring FIRST teams since 2001!)
MI Robot Club (Trainer) / GO-Tech Maker's Club / RepRap-Michigan) / SEMI CNC Club
"Certifiably Insane": Started FIVE FRC teams & many robot clubs (so far)!
2002: 830 "Rat Pack" | 2003-5;14: 1015;1076 "Pi Hi Samurai" | 2005-6: 1549 "Washtenuts"/"Fire Traxx"
2005-(on): 1502 "Technical Difficulties" | 2006-(on): FIRST Volunteer!
2009-(on): 470 "Alpha Omega" | WAFL | Sponsor & "Floating Engineer" for MI Dist 13 (Washtenaw Cnty)
2011: 3638 "Tigertrons" | 2013-(on): 4395 "ViBots" | 2014-(on) 66 "Grizzlies"
"Home" Teams: 66, 470, 1076, 1502, 4395
Local FIRST alumni at or coming to Ann Arbor (UM/EMU/WCC/Cleary)?
...We Want YOU as a Mentor! Please email me for info!
Support CDF Reputation - If a posting helped, thank 'em with rep points!
"It must be FRC build season when your spouse and children become 'Action Items 8 & 9'..."
  #9   Spotlight this post!  
Unread 06-11-2003, 00:15
Anthony Kesich's Avatar
Anthony Kesich Anthony Kesich is offline
Programmer Turned Engineer
AKA: SonKenshin
#1097 (Site 3 Engineernig)
Team Role: Leadership
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sacramento, CA
Posts: 186
Anthony Kesich has a spectacular aura aboutAnthony Kesich has a spectacular aura about
Send a message via AIM to Anthony Kesich
Unhappy you beat me to it

our team has been working on developing a way to use the old controller as a sort of decoder for the new one for about a week now an we're getting failry close. We weren't going to post anything until we got it perfected though. It really isnt that much trouble to sunc them because the default new program waits for new inputs to come in before executing the code. the only problem is the way the PWMs word with sending the signals back and forth to correct. normally it is just a machine or chip and the processor, now it will be two processors, but we think that will work out fine. We're alos working on a way to splice thw wires so as to piggyback the signal out voltage on the gound in, or eve if we need the grounds, because both will be powered. All we really need is the signal cables, but as i said, we're still prototyping but it looks optimal.

P.S. we're talking about usind the 03 EDU cpu
__________________
C is screwing up my English--I'm ending all my sentences in semi-colons;

Horray for most things! -George Carlin

"Sure, I'll play rugby. Besides, I have a lot of experience running from really big guys who want to cream me." -Me, Freshman year

Last edited by Anthony Kesich : 06-11-2003 at 00:19.
  #10   Spotlight this post!  
Unread 18-12-2003, 17:53
Guilherme's Avatar
Guilherme Guilherme is offline
Guilherme Balbinot
AKA: Guilherme Balbinot
no team
 
Join Date: Nov 2003
Rookie Year: 2002
Location: Brazil
Posts: 76
Guilherme will become famous soon enough
Send a message via MSN to Guilherme
Re: Tether for new EduBot Controller

We sucessfully made the link between de 2003 EduRC and the new (2004) EduRC. Check this link http://www.chiefdelphi.com/forums/sh...ad.php?t=22652

It works perfect, please let me know if you have any trouble.
__________________
Guilherme Balbinot
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
EDUBot controller app seanwitte Robotics Education and Curriculum 0 02-11-2003 19:53
C controller Rorschach Kit & Additional Hardware 1 29-10-2003 19:21
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
Entanglement at Bash Rick Rules/Strategy 31 06-11-2002 21:30
25 FT SERIAL CABLES (controller tether) sanddrag General Forum 10 06-09-2002 20:29


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

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