Apr-03-2022, 01:18 PM
Hello fellow python developers,
I am endeavoring to build a Wall-E Robot (credit to Chilibasket). This project is a challenge to say the least and learning from it is my goal. This robot is a long time in the making and has taken me a while to get where I am. I have faced many problems and issues already during this build and I have many more to overcome. But with the help of the community, I hope to resolve these issues.
If you wish to see more on the project and its developement, please head to my portfolio website SilverFire
![[Image: 20220313_163253-1024x461.jpg]](https://silverfire.online/wp-content/uploads/2022/03/20220313_163253-1024x461.jpg)
Project Hardware
Raspberry Pi 4 Model B 8GB
L298N Motor Driver
12V 1.2Ah Lead-Acid Battery
BreadBoard
Toggle Switch
12V Geared Motors
Python Code
Circuit Diagram
![[Image: Slide1-1024x576.jpg]](https://silverfire.online/wp-content/uploads/2022/04/Slide1-1024x576.jpg)
![[Image: L298N-RPi-Connections-Table.jpg]](https://silverfire.online/wp-content/uploads/2022/04/L298N-RPi-Connections-Table.jpg)
Issue
The Motors are not making any movement.
Possible issues could be:
- Am I using the wrong type of wire? I am using generic jumper cables for all connections (threaded copper wire). Is this sufficient enough material to allow 12V supply?
- Is the code incorrect in relation to the diagram and connections above?
![[Image: Motor-Test-Python-Raspberry-Pi-Thonny.jpg]](https://silverfire.online/wp-content/uploads/2022/04/Motor-Test-Python-Raspberry-Pi-Thonny.jpg)
Troubleshooting
I have tested electrical connections with a multimeter which is detecting:
- A 12V range from the battery to the L298N.
- A 5V range from Raspberry Pi to L298N
Cleaned up any excess solder and kept connections tidy and isolated.
Please let me know of any further troubleshooting or solutions for this issue, it would be greatly appreciated! I am a little stuck in the mud!
Many Thanks to all
I am endeavoring to build a Wall-E Robot (credit to Chilibasket). This project is a challenge to say the least and learning from it is my goal. This robot is a long time in the making and has taken me a while to get where I am. I have faced many problems and issues already during this build and I have many more to overcome. But with the help of the community, I hope to resolve these issues.
If you wish to see more on the project and its developement, please head to my portfolio website SilverFire
![[Image: 20220313_163253-1024x461.jpg]](https://silverfire.online/wp-content/uploads/2022/03/20220313_163253-1024x461.jpg)
Project Hardware
Raspberry Pi 4 Model B 8GB
L298N Motor Driver
12V 1.2Ah Lead-Acid Battery
BreadBoard
Toggle Switch
12V Geared Motors
Python Code
import RPi.GPIO as GPIO from time import sleep GPIO.setmode(GPIO.BCM) #GPIO.setup(5, GPIO.OUT) #GPIO.setup(6, GPIO.OUT) GPIO.setup(17, GPIO.OUT) GPIO.setup(27, GPIO.OUT) GPIO.setup(22, GPIO.OUT) GPIO.setup(23, GPIO.OUT) while True: #GPIO.output (5, True) GPIO.output (17, True) GPIO.output (27, True) #GPIO.output (6, True) GPIO.output (22, True) GPIO.output (23, True) sleep(1)There is no errors/bugs being reported when executing script. I am using Thonny IDE.
Circuit Diagram
![[Image: Slide1-1024x576.jpg]](https://silverfire.online/wp-content/uploads/2022/04/Slide1-1024x576.jpg)
![[Image: L298N-RPi-Connections-Table.jpg]](https://silverfire.online/wp-content/uploads/2022/04/L298N-RPi-Connections-Table.jpg)
Issue
The Motors are not making any movement.
Possible issues could be:
- Am I using the wrong type of wire? I am using generic jumper cables for all connections (threaded copper wire). Is this sufficient enough material to allow 12V supply?
- Is the code incorrect in relation to the diagram and connections above?
![[Image: Motor-Test-Python-Raspberry-Pi-Thonny.jpg]](https://silverfire.online/wp-content/uploads/2022/04/Motor-Test-Python-Raspberry-Pi-Thonny.jpg)
Troubleshooting
I have tested electrical connections with a multimeter which is detecting:
- A 12V range from the battery to the L298N.
- A 5V range from Raspberry Pi to L298N
Cleaned up any excess solder and kept connections tidy and isolated.
Please let me know of any further troubleshooting or solutions for this issue, it would be greatly appreciated! I am a little stuck in the mud!
Many Thanks to all
