Robot controlled by Bluetooth application

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!

That is not a problem. That is an assignment. You are assigned to complete this to become skilled at using a microcontroller to control peripheral devices. Start with just using the micro controller, add one device until you are able to control that device, add all devices and keep them under your control, then add the bluetooth and connect with the application. Draw wiring diagrams, write program code and show them here if you have questions.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.