2020-05-17, 08:13 PM
the arduino is using 5 volts and the pi 3.3v? You cannot connect tx from arduino to rx of pi without resistors.
The led blinking does not seem like the sketch works. Normally the led is not on at all unless the motor is engaged which won't happen until after connected and a command received.
Make sure you can upload to the arduino using the pi's /dev/ttyAMA0 not a usb and you will know the port is working correctly.
The led blinking does not seem like the sketch works. Normally the led is not on at all unless the motor is engaged which won't happen until after connected and a command received.
Make sure you can upload to the arduino using the pi's /dev/ttyAMA0 not a usb and you will know the port is working correctly.