That is basically the exact same thing I'm doing except that I'm controlling it with an xbox controller instead. Also I haven't implemented the distance measuring into the car handling yet.Hey I made this 10 years ago!I tried to find a picture with a raspberry pi with l289 and motors. Didn’t see that it was actually an arduino pictured until you pointed it out. I can see how that’s confusing
viewtopic.php?t=130617&hilit=robot#p872879
- Check for ground loop. The GND needs to be the same on all power. Be sure that all ground are connected together!
- Motors creates high frequency spike. Use ferrite on the wires which go to each motor.
- Is your wire gauge big enough! Maybe the wire are too small?
- Post a picture or a schematic.
- Could you provide the code. The arduino and the Pi.
- What is you Raspberry Pi model? A Pi5 will take way more power than a PizeroW.
- Check for ground loop. The GND needs to be the same on all power. Be sure that all ground are connected together!
What exactly do you mean by this? Can't I use several GND pins? What is the consequence?
- Motors creates high frequency spike. Use ferrite on the wires which go to each motor.
- Is your wire gauge big enough! Maybe the wire are too small?
I'll check this
- Post a picture or a schematic.
Posting some simple hand drawings below. I'm not too familiar with wiring diagrams, but I hope it's understandable. I skipped drawing in the servo, camera and distance measuring sensors.
- Could you provide the code. The arduino and the Pi.
https://github.com/Siggerud/roboCar
- What is you Raspberry Pi model? A Pi5 will take way more power than a PizeroW.
It's a model 4, 2GB RAM
Wiring diagram of motors attached to L289N Wiring diagram of Raspberry Pi and L289N Wiring diagram of Raspberry Pi and Arduino
Statistics: Posted by Siggerud — Thu Jul 11, 2024 3:08 pm