Hello, I have a problem in an arduino project for a robot for studies. Here are the materials to be used:
4 shield motors, an Arduino Uno board, a seeed Shield, a base shield V2 board, a bluetooth HC-05 board, a FS5103B servomotor, an Ultrasonic Grove Ranger sensor.
Motors can only be connected to 5V and GND.
The aim of the robot is to be able to move forwards, to the right and to the left, but not backwards. It must be able to pull thanks to a servomotor that turns 90° and retracts 500ms later. The Ultrasonic sensor must measure the distance between the robot and an obstacle (the distance between the robot and the obstacle must be 7cm) and stop the robot.
The Ultrasonic sensor and the Bluetooth chip have 4 pins. The base shield V2 can be connected to the arduino and has outputs A0 to A3, D2 to D6, 4 I2C ports and a UART port.
The robot is controlled by an application created with Mit App Inventor. When the Bluetooth connection is made between the phone and the Bluetooth card, a password must be set up so that only me, the “competitor”, can connect. Voila, Thanks for listening, Have a nice day!