Can anyone help me with the coding for a
2W Obstacle avoidance car that uses
Arduino Uno
L298p motor driver
ultrasonic sensor with servo motor sg90
that can support bluetooth control via Hc-06
Can anyone help me with the coding for a
2W Obstacle avoidance car that uses
Arduino Uno
L298p motor driver
ultrasonic sensor with servo motor sg90
that can support bluetooth control via Hc-06
For informed help, please read and follow the instructions in the "How to use the forum" post, at the head of every forum topic.
anghuixin:
Can anyone help me with the coding
Yes we can! We like doing exactly this!
Follow jremington's advice and read "how to use this forum"
It helps you with important practices, like using google to find examples of where other people have written code for the hardware you chose.
Then you write code to test each individual piece of hardware.
One to make your servo turn.
One to read the output of your sensor and display it on the serial monitor.
One to make your motors turn.
Then you start combing these into one sketch.
Ask questions along the way. construct your post with what you expected to happen, what actually happened, and put your entire sketch in code tags.
(deleted)