Go to Post If I understand what you're saying, you don't understand very far. - Alan Anderson [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 22-11-2004, 01:18
jrmarenda jrmarenda is offline
Registered User
AKA: Jason Marenda
FRC #1887 (Russet Robotix)
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Pocatello, ID
Posts: 8
jrmarenda will become famous soon enough
Edu Robot Multiple Inputs

I am having some serious problems with our innovation first Edubot. For touch and IR sensors, we can get the code to work with one sensor just fine, but if we try and use two inputs then we get weird results. I was wondering if anyone else has experienced this same problem? If so, what did you do to fix it? if anything? Thanks for you help.
  #2   Spotlight this post!  
Unread 22-11-2004, 08:58
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Edu Robot Multiple Inputs

Check the initialization to make sure that the inputs you are using are, in fact, inputs.
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #3   Spotlight this post!  
Unread 24-11-2004, 13:22
jerry w's Avatar
jerry w jerry w is offline
Free Agent Mentor
no team (Team Krunch)
Team Role: Engineer
 
Join Date: Nov 2003
Rookie Year: 2002
Location: dunedin fl
Posts: 113
jerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud ofjerry w has much to be proud of
Re: Edu Robot Multiple Inputs

Quote:
Originally Posted by jrmarenda
I am having some serious problems with our innovation first Edubot. For touch and IR sensors, we can get the code to work with one sensor just fine, but if we try and use two inputs then we get weird results. I was wondering if anyone else has experienced this same problem? If so, what did you do to fix it? if anything? Thanks for you help.
I saw a similar problem when experimenting with sensors. the A/D converter uses a multiplexor. at each selection, the software must wait for the input to reach the voltage of each sensor. when using high impedance devices, the charge time takes longer.
I extended the wait time in the code, from 10 to 30 and the wierdness went away.

(see function Get_Analog_Value)

note, there is a warning in ...
* FILE NAME: ifi_utilities.c
* USAGE:
* The user should NOT modify this file, so that if a new version is released

Jerry W
__________________
Happiest when people tell the truth... However, I am blessed with many friends.
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
what kind of robot will win? Bcahn836 Championship Event 44 12-04-2004 00:02
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Important functions of a first robot? Ianworld General Forum 5 15-04-2003 13:29
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
We're really not that mean. archiver 1999 59 23-06-2002 22:49


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

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