Go to Post I have a bobble head? - Koko Ed [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-02-2008, 00:28
K-Dawg K-Dawg is offline
Mentor
FRC #2237 (JunkYard Robo's)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: West Virginia
Posts: 9
K-Dawg will become famous soon enoughK-Dawg will become famous soon enough
Glitching PWM's Need Help

We are trying to program using EasyC Pro. The problem, although I don't think it has anything to do with the program is the PWM value is glitching/jumping. Even in the nutral position the value changes as much as 10 points. This can be seen while viewing the dashboard. This is without any one touching the joystick. We have tried two joy sticks and a USB Xbox controller, different ports and the only thing that helps is unplugging the joy stick from the port.

Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2008, 00:32
popo308's Avatar
popo308 popo308 is offline
Registered User
AKA: Brent
FRC #1625 (Winnovation)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Winnebago, IL
Posts: 312
popo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to all
Send a message via AIM to popo308
Re: Glitching PWM's Need Help

Quote:
Originally Posted by K-Dawg View Post
We are trying to program using EasyC Pro. The problem, although I don't think it has anything to do with the program is the PWM value is glitching/jumping. Even in the nutral position the value changes as much as 10 points. This can be seen while viewing the dashboard. This is without any one touching the joystick. We have tried two joy sticks and a USB Xbox controller, different ports and the only thing that helps is unplugging the joy stick from the port.

Thanks
The kit joysticks have very weak springs for returning to center... if you open it up and put stronger ones in it should help with that... as far as the Xbox controller im not sure i have never played with one
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2008, 00:34
K-Dawg K-Dawg is offline
Mentor
FRC #2237 (JunkYard Robo's)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: West Virginia
Posts: 9
K-Dawg will become famous soon enoughK-Dawg will become famous soon enough
Re: Glitching PWM's Need Help

This is happening at any range, not just center.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2008, 00:35
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: Glitching PWM's Need Help

How are you providing power to the OI? If through the tether cable, is your main battery voltage low? Lots of glitchy stuff goes away when you use a well-charged battery.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2008, 00:37
K-Dawg K-Dawg is offline
Mentor
FRC #2237 (JunkYard Robo's)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: West Virginia
Posts: 9
K-Dawg will become famous soon enoughK-Dawg will become famous soon enough
Re: Glitching PWM's Need Help

Yes through Tether but the battery readings where 12.? and 7.5V

Thanks everyone
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2008, 08:04
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Glitching PWM's Need Help

This shouldn't change anything, but try going to IFI's website and downloading the default code and master firmware. That way you should be able to rule out any software problems. But, like I said, it shouldn't change anything. As far as i know, the dashboard port is connected in hardware to the Tx/Rx pins that send data to/from the robot (changing the jumper changes which one you are connected to).Your OI should be the only thing in the loop for those values.

However... were you looking at the Dashboard screen with data from the OI or data from the RC? Make sure you're looking at the page that list "Port 1:" and so on in a grid.

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2008, 10:57
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,844
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Glitching PWM's Need Help

Which PWM ports are you using?
13-16 do have twitchy problems.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 01-02-2008, 12:47
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: Glitching PWM's Need Help

Quote:
Originally Posted by Mark McLeod View Post
Which PWM ports are you using?
13-16 do have twitchy problems.
K-Dawg says they're using easyC Pro. That doesn't support pwms 13-16 at all.
Reply With Quote
  #9   Spotlight this post!  
Unread 01-02-2008, 14:12
K-Dawg K-Dawg is offline
Mentor
FRC #2237 (JunkYard Robo's)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: West Virginia
Posts: 9
K-Dawg will become famous soon enoughK-Dawg will become famous soon enough
Re: Glitching PWM's Need Help

Thanks for all the Assistance.
I spoke with IFI and they said there is a problem in the operator interface, so I shipped it to them today and hope it gets back soon.
Reply With Quote
Reply


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
home-made pwm's? darkorbit Electrical 2 17-02-2007 20:06
glitching motors DustinB_3 Motors 7 30-01-2007 07:56
Generating Victor compatible PWM's Hutch Electrical 4 03-08-2005 13:36
Brake mode on pwm's snowdragon General Forum 4 23-02-2004 19:11


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

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