lipoja / amspi Goto Github PK
View Code? Open in Web Editor NEWPython class for controlling Arduino Motor Shield L293D from Raspberry Pi (using RPi.GPIO)
License: MIT License
Python class for controlling Arduino Motor Shield L293D from Raspberry Pi (using RPi.GPIO)
License: MIT License
I would like to ask everybody who is using this library and did some improvement if you can send me PR. Or if there is somebody with time to help with this project.
Sadly, this project is not a priority for me due to lack of free time. And also I do not own newest Raspberry Pi 3 so I can not solve/test lot of issues.
I am open to any kind of help.
Thank you!
Jan
could u pls me help me with the connections and what part of the code shld me removed to make it work?
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 :(
Hi,
Thank you for sharing your work, I start on Raspberry and I have some problems at the connections.
Following your tutorial I am confronted with two problems, Could you help me to understand
Thank you in advance.
The image with the wiring diagram seems t obe missing. Can you upload another version?
Hi Jan,
I'm try to using but I've a problema when I try turn on just a M3 motor. It start very slow or not start. When I turn on the four motors, everything is ok.
I'm using raspberry pi 4 model B
Other issue, when I turn on the raspberry and motordrive together some motors start work unexpected
coding working:
amspi.run_dc_motors([amspi.DC_Motor_1, amspi.DC_Motor_2, amspi.DC_Motor_3, amspi.DC_Motor_4])
time.sleep(3)
amspi.stop_dc_motors([amspi.DC_Motor_1, amspi.DC_Motor_2, amspi.DC_Motor_3, amspi.DC_Motor_4])
Not working propely :
amspi.run_dc_motors([amspi.DC_Motor_3])
time.sleep(3)
amspi.stop_dc_motors([amspi.DC_Motor_3])
It seem that with this library the motor not run max speed? Is that the common issue when control motors using Shift Register?
I've followed your wirings and I can't make it work. I can't even run 1 motor.
Can you please help me? I figured it could be the GPIO numberings that is the problem but i tried using board numbering and it still doesn't work.
Also, does the location of the library (AMspi.py) you created matter for this one?
How to use this code for pan and tilt setup using 2 servos on a Raspberry Pi 3
Hi, i'm trying your library with a Raspberry pi 3 and it's not working. The script runs ok but nothing happends. You think it should run anyway (so it's something with my connections) or it might be a difference with the Rasp versions?
Regards,
SC
Hi guys! I waste all the day for connecting it with pi zero w, but nothing. I ve tried all what I have found on rpi forum, the Last lib was your but nothing happens.
Then, I Just change pi from zero to 3b+ and it works!
Why it cant work with pi zero w?
Thank you
Upd: I tried to use sd card from 3b+ on zero, but still nothing
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.