Question: Create a code on Arduino IDE using Arduino Uno WiFi Rev 2 , L 2 9 8 N , MPU 6 0 5 0 and

Create a code on Arduino IDE using Arduino Uno WiFi Rev 2, L298N, MPU6050 and HC-SR04.
Arduino Uno WiFi rev 2 will be connected to L298N which will control four 12V motors. One HC-SR04 will be placed in front of toy car and will detect obstacles. Using HC-SR04, the distance needs to be calculated so the toy car can brake automatically and safely.
MPU6050 will be connected to arduino uno WiFi rev 2 as well. They will be placed on the base of the toy car. Gyroscope on MPU6050 will detect when there is incline will accelerate with push assist automatically when going uphill. The speed will slow down automatically when the toy car is going on a decline. It will travel down safely until it reaches a level surface.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!