The professor gave us this assignment and does not want to explain anything to us except that the cart must follow the black lines through an obstacle course. That is all we were told.
I started the assignment by buying the components that were written on the board:
H-BRIDGE / MOST L298
Arduino Mega 2560 Rev
HC-SR04 Ultrasonic sensor
5 Channel IR Infrared TCRT5000 Line Detection
Switch
Electric motor N30 dc 12V
Fuse 1 ampere
I would be very grateful if someone could send me how to connect these components. I am in the first year of high school and this is all new to me because I have never dealt with this before.
Thank you.
I looked at it and tried to do it as it was supposed to be done, but the chip burned out. And I'm already on my third one. I'm asking this to get some advice on how to do it. I didn't have another option. I apologize.
You need basic structure which you cannot make at home. Can you make Motor? Can you make wheel? So, talk with you teacher aout buying the addition stuff (Fig-1, 2 of post #4) for the project.
I was not offended.
It seemed from your first post that you did not do any effort.
Please post your efforts so far.
What did you build? (Picture, schematic).
What failed?
What code did you use.
If we have that, we can find out why you have burnt 3 chips so far.
We will be more than happy to help you further.
Basic hint: start small!
Let one motor run forward and backward...
Add another motor...
Add a sensor...
Make the sensor control the motors..
Etc.