Hello, first I am relatively new to micro controllers / micropython so apologies in advance if I'm asking the obvious.
I tried to replicate this demo and I've had partial success. The programs starts and the motor begins to move. Almost immediately after the motor initiates movement the programs stops and gives me the following error.
Connection lost (read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?))
Now I soldered the DRV8833 board myself and it was my first time soldering. Could I have a bridge between 2 pins? (Multiple access on port?)
I took a couple of pictures of the soldering. Maybe something is obvious to you guys more experienced There are a couple of pins where I wonder if I have contact but I don't recognize any bridging. Unfortunately I can't seem to figure out how to attach a local image to this message. 🙁
My code is as follows...
import utime
from machine import Pin
motor1a = Pin(14, Pin.OUT)
motor1b = Pin(15, Pin.OUT)
def forward():
motor1a.high()
motor1b.low()
def backward():
motor1a.low()
motor1b.high()
def stop():
motor1a.low()
motor1b.low()
def test():
forward()
utime.sleep(2)
backward()
utime.sleep(2)
stop()
for i in range(5):
test()
print("test number", i+1)
Any suggestions would be greatly appreciated,
Bob