Skip to content
Trending eventPast event

ESP32 Line-Following Car Keeps Turning and Loses Line After 3 Laps; User Asks for Help Troubleshooting

1 reports1 sources11 days agoUpdated

What happened

AI overview

Reddit user /u/Ok-Finish1303 posted a request for help, asking for a review of the code for their line-following car based on an ESP32 and an MDD3A motor driver, to find the cause of the car continuously turning and losing the black line. The car is equipped with 2 JGB37-520 DC motors and 6 TCRT5000 infrared sensors, uses weighted position calculation and proportional steering control, and the sensor readings are configured as black = HIGH, white = LOW. The user said the car initially ran normally for 3 laps, after which it began to turn continuously and eventually lost the line; they hope to get improvement suggestions without completely changing the existing approach. As of the time the post was published, the cause of the problem had not been confirmed.

AI 根据报道生成 · 11 days ago更新

Reporting timeline

Follow the reporting to explore different perspectives.

11月17日
  1. Reddit r/robotics
    ESP32 Line-Following Car Keeps Turning and Loses the Line — Code Help Requested

    A Reddit user is asking for help debugging the code for a line-following car built on an ESP32 with an MDD3A motor driver. The car uses 2 JGB37-520 DC motors and 6 TCRT5000 infrared sensors, with weighted position calculation and proportional steering control. It initially ran for 3 laps before it started turning continuously and losing the black line. The user hopes to find and fix the problem without changing the existing approach.