The first bold text is correct, i changed my wiring to this (as i said in my previous posts).
The second bold text… What does it means? (filter capacitor). Do i need one, or is it optional?
Maybe this is causing the smell and hot part.
filter capacitor is only going to “smooth out” any bumps in the input voltage coming to the sensor. No the lack of it is NOT going to reduce the hot/smell. What that comment means is that the sensor, when you have a “noisy” power input, returns erratic values even though the distance to target is not changing. By adding the capacitor to the input power circuit, this allows the sensor to perform better and return a more consistent value when the distance from the sensor to target isn’t changing.
I think you’ve killed that sensor. Certainly I don’t think you can trust it to guide anything. Seems like you’ve wired it up incorrectly once and now it’s non functional. Without someone who knows a bit more having a look at it, I suspect you can’t resurrect it.
No I am not sure DOA is correct. Originally you said you connected the standard JST wire into the sensor. That means you had the following connections:
VCC from Fez plugged into the DATA OUTPUT signal onthe sensor.
Data input line from Fez into the GND on sensor.
GND on Fez wired to VCC on sensor.
So at a minimum, the sensor’s output signal was zapped with the Fez VCC. I expect that this has caused your issue, and now when you wire things correctly the sensor does nothing that it was meant to do, it just gets hot.
If you have faith in the PDF of the sensor, then I would be comfortable testing the second sensor with the connection as you have it shown in the last photo.
Brett, that is what i wanted to know.
Connected the second (not broken) sensor to the new switched cables as shown in the picture.
No smell or hot parts, deploy new code and this is the debug output:
Just went over here as you asked in your email and I see it is solved. Glad you got it working. What wrong wiring can do… :
Always make sure to check your connection 3 times. Especially if you are planning to dive into higher voltage robotics. It will save your frustrations and even more important; money.
Have fun fezzing! 8) let me know when you have a video ready.
A couple of comments about the Sharp IR’s. New IR’s have a conductive plastic housing. If you mount them on a metal frame, they will be grounded to the frame. The old non-ROHS ones did not have a conductive housing. This can lead to noise and problems with the ground. We found this the hard way at our First competition this week end. The new data sheets specifically mention the filter cap while the old ones do not. To be safe they should be added. I’ve found the noise problem to show up with long lead length in the past.