Thread: IR PMW Help
View Single Post
  #2   Spotlight this post!  
Unread 11-02-2004, 12:45
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,801
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: IR PMW Help

That's a stumper!
The beacon should be on pwm1 or pwm2.
If you can see the LEDs glowing on Dig I/O 1 then your camera should be capable of seeing them at work on the pwms. They will look solid on the pwms as well, but only because your eye cannot see the 100Hz flashes.

I can only offer a few suggestions that you may have already tried.

- Make sure your pwm cable is attached to the three pins on the "BLK" side of the connection, not the fourth pin.
- Switch the functions of the EDU controllers you are using (beacon -> tracker).

- You can printf the receiver.c data to see if the IR sensors are receiving any hits, or put one of your IR sensors on a digital input and printf the value it's receiving just to check it.
- The IR sensor won't be able to detect the LED emissions when you're on dig I/O 1, or at least not for very long.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 11-02-2004 at 12:49.