Hello there,
I am coming to the end of a line following robot project. And just as everything is coming together there has been a few problems. One big problem is two sensors which just straight up refuse to work with the microcontroller.
There are four line sensors on the ground to detect the line which all work perfectly and they are set up the exact same way as the two which dont work. The job of the two that dont work is to detect lines on the left and right at certain locations to stop.
Now this is where the problem comes in, on first inspection it looked like the robot was just going too fast over these stopping lines in order to register them. But it was then discovered that if the values of the sensors were manipulated to having detected the line (there are red test LED's which can be set on or off with either the sensors ability to detect or simply by turning potentiometers attached to each one), so the red LED was on, that as soon as the microcontroller was switched on, both LED's would turn off instantly and they wouldn't be able to come back on again until the power to the microcontroller was removed.
All connections were taken out and new ones were made in case it was a connection issue and that didn't fix the problem. I apologise for the vague decription I wasn't sure how necessary it was to go into the details when I am just looking for experienced troubleshooting help.
Thanks for any help!
I am coming to the end of a line following robot project. And just as everything is coming together there has been a few problems. One big problem is two sensors which just straight up refuse to work with the microcontroller.
There are four line sensors on the ground to detect the line which all work perfectly and they are set up the exact same way as the two which dont work. The job of the two that dont work is to detect lines on the left and right at certain locations to stop.
Now this is where the problem comes in, on first inspection it looked like the robot was just going too fast over these stopping lines in order to register them. But it was then discovered that if the values of the sensors were manipulated to having detected the line (there are red test LED's which can be set on or off with either the sensors ability to detect or simply by turning potentiometers attached to each one), so the red LED was on, that as soon as the microcontroller was switched on, both LED's would turn off instantly and they wouldn't be able to come back on again until the power to the microcontroller was removed.
All connections were taken out and new ones were made in case it was a connection issue and that didn't fix the problem. I apologise for the vague decription I wasn't sure how necessary it was to go into the details when I am just looking for experienced troubleshooting help.
Thanks for any help!