The problem I was having last week is back!
The problem is:I have two Sharp IR Range finders. If I plug one in it works great. If I plug the other in it works for a few seconds then resets my Axon. This happens a few times and then it completely locks up. It also starts running my program without me initiating it by pressing the Axon button to start my program.
What I have done to fix/narrow down the problem:I purchased two 6V 2300mAh battery and smart battery charger from All-Battery.com. I got two of them so that I can charge one while I recharge the other. It does the same thing with both batteries. I have checked the current and the voltage and they look good now. I got the 5 photoresistor package from Radioshack and put my own light sensors together and I can plug all five in and get good readings. I can even have all 5 of my light sensor plugged in with a Sharp IR Range Finder and it works great, but if I plug in the second Range Finder it starts misbehaving again. I also simplified the program so that it does nothing but update the sensors and print the data to Hyperterminal.
Something I am trying to correct the problem:I am getting a couple of 10uF capacitors to place between Vcc and ground. It recommends one in the data sheet.
Here is a parts list of the items I am using:- Axon Microprocessor
- Sharp IR Range Finder part number GP2Y0A21YK0f from Pololu.com. Documentation: http://www.pololu.com/file/0J85/gp2y0a21yk0f.pdf
- Sharp IR Range Finder to HiTec Cable
- 6V 2300mAh NiMH Side by Side RX Receiver Battery Pack with HiTec Connector
- Smart Universal Charger for Nimh Battery Pack (2.4V - 7.2V)
Toward the end of last week I reported this error fixed because everything began working well for a few hours, but after that it quit working and I have been trying to find out what is going on without bugging everyone, but at this point I'm all out of ideas, other than the 10uF capacitors I plan to install.
Could it be something in my program?
I'm thinking not because my light sensors work.
Could it be something with this particular model of Sharp IR?
I've noticed that the part number is odd and the GP2D12 is more commonly used.
I don't think I'm drawing enough mA to be a problem since I have been only testing it with the Axon and the two Range Finders, without a servo to cause any real mA draw.
Thanks for any assistance that you can give!