Not for me. For you.I mean I’ve sent an image and pinout diagram already, what else so you need?Not without a schematic. Otherwise it's just speculation.Have just noticed something weird though, shutting down the Pi 5 activates motor B???
Any ideas what's going on?
A schematic is a diagram showing all of the components in the circuit, and how they are connected. If there is a problem, you can look at the schematic and see precisely how everything is supposed to work. For example, the schematic would show if pin 14 and 15 were connected, and where, therefore you could see if they have any effect on the board, or if you were on a wild goose chase.
Based on what I can see, the board is based on a DRV8833 motor driver chip from Texas Instruments. They certainly don't need serial to work.
Here is the datasheet for the DRV8833:
https://www.ti.com/lit/ds/symlink/drv8833.pdf
It tells you what the chip is, and how it works. It also details the function of each pin. Your motor controller board has assembled this chip on a neat board, with connectors, but you could build your own with identical functionality very easily. Unfortunately, without a schematic, you don't know which pins are wired to which GPIO, so you don't know how to write your own software for testing, or to replace the provided software if something goes wrong. You could figure it out by tracing the PCB tracks by hand, but a schematic would be easier.
Here's a link to another product using the same chip:
https://www.pololu.com/product/2130
You could use this in place of the CamJam board if you wanted to, but it's less convenient. As you can see, near the bottom of the page is a schematic, so you can see how to integrate this board into your own project.
You could also note down the pins that are used in the example software:
https://github.com/CamJam-EduKit/EduKit ... -motors.py
You can see it only uses four pins, so you could write some even simpler code that tested the driver. You can also see it does not use pins 14/15. (Yes, that is the RPi.GPIO version of the code, but the pin numbers are the same for Pi 5).
I suspect you have plugged the board in wrongly, or your Pi is damaged, or you are trying to use RPi.GPIO on the Pi 5, which won't work.
Statistics: Posted by ame — Mon Feb 03, 2025 11:18 pm