lipoja / AMSpi

Python class for controlling Arduino Motor Shield L293D from Raspberry Pi (using RPi.GPIO)
MIT License
33 stars 18 forks source link

Does Not Work On Pi 3B+ #7

Closed Machine-builder closed 5 years ago

Machine-builder commented 5 years ago

I can't figure out what's wrong, because I've tried everything... pleeaasse update the script to allow use for the raspberry pi 3 model B+...

This library was my last resource on a hobby project & now I don't think I'll be able to complete this project of mine :(

chmutoff commented 5 years ago

It did not worked for me neither with Raspberry PI 3 B+. I've spent half day checking the code and measuring the voltage on a board, reading chip specs, and then, I just connected the Ground pin of the Raspberry with the 'gnd' pin of the Arduino shield (nex to 'Aref') and it worked! Give it a try and then let me know if it worked for you.

Machine-builder commented 5 years ago

which ground pin did you connect? - Pin number 13, or the 2 ground pins beside the 5v input?

Machine-builder commented 5 years ago

Wow thank you so much!!! This is insane! It works flawlessly. (I connected the ground pin on the Pi to the ground pin beside the 5v pin on the shield)