isl-org / OpenBot

OpenBot leverages smartphones as brains for low-cost robots. We have designed a small electric vehicle that costs about $50 and serves as a robot body. Our software stack for Android smartphones supports advanced robotics workloads such as person following and real-time autonomous navigation.
https://www.openbot.org
MIT License
2.87k stars 539 forks source link

Cannot test with "c128,128" command! #107

Closed 38293312 closed 4 years ago

38293312 commented 4 years ago

After successfully encoding with the latest code, the OLED display is normal. I just made the most basic connection. Now I mainly test whether the 4 motors are normal. Using "Cannot test with "c128,128" command", the motor does not rotate, the serial port software The card does not change on line 10.

QQ图片20201113153631 QQ图片20201113153507

38293312 commented 4 years ago

I tried both the high and low OE driven by the L298N motor, but it still couldn't rotate.

thias15 commented 4 years ago

It looks like your Arduino is not connected to GND. You need to wire the GND pin from your Arduino to the GND of the L298N.

thias15 commented 4 years ago

Another thing you can check is if the new line terminator is enabled in the serial monitor. By default it should be.

38293312 commented 4 years ago

您可以检查的另一件事是在串行监视器中是否启用了新的线路终止器。默认情况下应该是。

The GND and arduino GND of the L298N 12V power supply are connected together, and the test with a multimeter is OK

38293312 commented 4 years ago

thank you very much. The problem is solved!

thias15 commented 4 years ago

How did you solve the problem in the end?