View Single Post
  #12   Spotlight this post!  
Unread 17-02-2004, 18:31
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: Relay Aliases Backwards

Quote:
Originally Posted by steven114
I tested the relays with the multimeter - when I set relay1_fwd to 1, the spike turns red and the multimeter reads -12v. When relay1_rev is 1, it's green and the multimeter reads 12v. This seems backwards to me...
I also checked a relay with a multimeter today (as I said I would last night) and came the to the same conclusion as steven114. With relay5_fwd set to 1 (relay5_rev = 0 and LED was red), the multimeter common probe on the M- of the spike connected to relay output 5, and the multimeter voltage postive probe connected to M+, the multimeter read -12V. The relay output cable was connected correctly. I also checked the same spike with the common probe on ground. I read 12v on the M- and 0v on the M+. It seems that the IFI aliases are incorrect.

I was wrong about this and my sincere apology to anyone I may have confused. My knowledge of the matter was based on a false assumption. The single solenoid I was basing this on was wired to the M- of the Spike. It was the only one of our 5 solenoids (2 double, 3 single) wired without an external ground (it has been rewired now).

I have rewritten ifi_aliases.h to change the aliases from fwd to rev and visa versa. I loaded the modified program into my bot and confirmed that relay 5 (my compresser) was getting +12V. A zip file with my new ifi_aliases.h file is attached to this post. Hope it helps. I am posting from MOE HQ workshop (not my dorm as usual) so I have get back to work now. Once again I'm sorry.
Attached Files
File Type: zip ifi_aliases.zip (2.6 KB, 24 views)
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"