mcgriddless
New Member
hi guys, i doing my final year project and i am really stuck with the programming. i am using Mplab to write the program.
The buggy is a 2 wheel buggy which has 4 top sensors which are infra red and 4 btm sensors which are infra red as well.
The top sensors are to detect obstacles which then allow the motor to move. The btm sensors will read the colours which are black and white. The platform which the buggy is running on is a dart board like black and white spiral. So when all 4 btm sensors sense black in the middle of the spiral dart like platform it will stop. so far i am abit to run the Leds. However whenever i try to test my buggy forward or back using the lookup table it doesnt move. The proto type is prefectly fine.
I am really stump of what to do now. I keep trying to change the lookup table but i think that its fine. I am trying to fix the btm sensors of my program first. My btm sensors are able to detect and light up the leds but they are not able to move the motor. Please help guys please. Thanks. I have uploaded a picture of my circuit board. IF u guys need more information please tell me thanks so much
The buggy is a 2 wheel buggy which has 4 top sensors which are infra red and 4 btm sensors which are infra red as well.
The top sensors are to detect obstacles which then allow the motor to move. The btm sensors will read the colours which are black and white. The platform which the buggy is running on is a dart board like black and white spiral. So when all 4 btm sensors sense black in the middle of the spiral dart like platform it will stop. so far i am abit to run the Leds. However whenever i try to test my buggy forward or back using the lookup table it doesnt move. The proto type is prefectly fine.
I am really stump of what to do now. I keep trying to change the lookup table but i think that its fine. I am trying to fix the btm sensors of my program first. My btm sensors are able to detect and light up the leds but they are not able to move the motor. Please help guys please. Thanks. I have uploaded a picture of my circuit board. IF u guys need more information please tell me thanks so much
Attachments
Last edited by a moderator: