the system does what I ask it to when the STLINK is connected to the PC via the USB. When I disconnect the usb and run the robot on its own, it does not perform the same way.
Nucleo STM32F411RE, two VL53L0X, a DRV8833 driver and 2 6v motors. Power is from 2 x 3.7v18650 batteries (7.4v) on the VIN power input.
5v regulator powers the 2 sensors.
The batteries power the regulator, the VIN of the board and the motor driver.
I don't know what is cause the different action. I can reconnect the usb and the robot does what it is suppose to do.
I have the JP5 jumper on the E5V (pins 2 and 3) and JP1 is open.
regards,
gareth lovell
