Thread: PIC 18F2431
View Single Post
  #10   Spotlight this post!  
Unread 24-08-2005, 01:24
Sparks333's Avatar
Sparks333 Sparks333 is offline
Robotics Engineer
AKA: Dane B.
FRC #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Wilsonville, Oregon
Posts: 184
Sparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of light
Send a message via AIM to Sparks333
Re: PIC 18F2431

Everyone:
I found the problem, and it had nothing at all to do with the program. Not even the config bits. The problem was with the sensor itself. The PIC was pulling more current than the sensor could put out, and so the pulse 'highs' were being pulled to almost ground, so the device could not read the pulses as occuring. Throw in an NPN transistor, and the whole thing was working fine. Thanks for all your time, especially Mike Betts.
This post can now languish into obscurity.

Sparks
__________________
ICs do weird things when voltage is run out of spec.

I love to take things apart. The fact that they work better when I put them back together it just a bonus.

http://www.ravenblack.net/random/surreal.html