Go to Post No one has ever said 'my intake can collect [game element] too quickly.' - JamesCH95 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 06-10-2009, 08:26
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
distance of pwm cable carrying seria data

I have the CMUCAM hooked to a VEX via the TX RX ports hooked up via PWM cable.

It is flakey at times. Either works or doesn’t work but not consistent is its operation.

The cmucam is about 4-6 ft away on pwm cable.

I was wondering if that was too far away using pwm cable that is carrying 115kb serial data.

What do you guys think?
__________________
Doug Leppard
  #2   Spotlight this post!  
Unread 06-10-2009, 08:46
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,066
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: distance of pwm cable carrying seria data

Probably a REALLY stupid question, have you switched cables? 4-6 feet should be fine unless the cable is broken. I would also check all the connections, make sure the camera isn't losing power. Other than that I don't know the maximum distance but I have a hunch it is a bit longer than 6 feet.
__________________




.
  #3   Spotlight this post!  
Unread 06-10-2009, 08:57
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: distance of pwm cable carrying seria data

Nope 4-6 feet isn't too long a run for PWM cables.

You really don't want to go beyond 6 foot as that is about the maximum(recommended).

I would double check all the connections, make sure none are lose etc...

I would also look where these cables run and what they run near.
They could be picking up noise from motors, electrical wiring etc...
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


  #4   Spotlight this post!  
Unread 06-10-2009, 09:07
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: distance of pwm cable carrying seria data

RS-232 has distance vs. data rate charts. There's no specification I know of for the distance TTL-level serial data can travel reliably, especially without knowing the output characteristics of the devices at each end. My expectation is that 115kbps for six feet over the equivalent of ribbon cable ought to be just fine, unless there's a noise problem. Do you have motors running? Are there other wires running past the data lines?
  #5   Spotlight this post!  
Unread 06-10-2009, 09:59
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: distance of pwm cable carrying seria data

Bear in mind that a typical serial cable has a shield, whereas a PWM signal does not. Also, digital communication has a very steep slope with respect to noise - it works great until it doesn't. Try sticking an oscilloscope on the lines to see how it looks.

If you really want to scumbag it, you could try wrapping foil around it and grounding it on either end. People will rightfully laugh at you for this, but sometimes it is just enough to eek you over that working/not working divide.
  #6   Spotlight this post!  
Unread 06-10-2009, 13:21
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: distance of pwm cable carrying seria data

A lot of teams in the past have experienced communication problems when running the PWM cable too close to motors or speed controllers. This can cause some interference and cause errors in the communications. As someone suggested, if this is the problem you can try shielding the cable and/or re-routing it.
__________________
-
An ounce of perception is worth a pound of obscure.
  #7   Spotlight this post!  
Unread 06-10-2009, 17:35
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: distance of pwm cable carrying seria data

Thanks guys.
__________________
Doug Leppard
  #8   Spotlight this post!  
Unread 07-10-2009, 09:59
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: distance of pwm cable carrying seria data

Doug,
The limiting factor here is the shunt capacitance of the wire you are using. For 115K and six feet of wire, I doubt there should be a problem. If you are using premade PWM cable, know that there is a high failure rate in the construction of these cables. As others have pointed out, noise from motors and motor wiring will have an effect. This is particularly bad for wiring running in parallel. If that is unavoidable, some teams have reported the addition of a small value cap (.001 mfd or less) at the end nearest the noise source helps. Also you might try using some of those noise cores available from Radio Shack and others. Simply wind a turn or a few through the core to kill noise traveling along the wire.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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
Where to buy PWM cable? sxysweed Electrical 14 21-03-2009 16:38
PWM Cable Paul Rodi Electrical 10 15-01-2009 11:10
Victor-PWM Cable connections RbtGal1351 Control System 17 24-02-2007 20:53
Victor and PWM Cable Problem RIgnazio Electrical 2 13-01-2005 23:02
Female PWM cable connector Paul Marshall Technical Discussion 3 19-02-2004 12:10


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

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