Hello,
I have bought this board from aliexpress and immediately regretted it since there is no documentation and I have to reverse engineer which arduino pins are being used.
Maybe anyone here had also tried this board by any chance?
Hello,
I have bought this board from aliexpress and immediately regretted it since there is no documentation and I have to reverse engineer which arduino pins are being used.
Maybe anyone here had also tried this board by any chance?
welcome to the community.
Never seen this before, however, it appears to be a simple dual board with no current sensing. You need to trace the connections manually with a ohm-meter, a pencil and a piece of paper from each of the legs to the arduino nano pins, then refer to the L6234D documentation which pin corresponds to which driver pin. Then you need to test it by loading a simple open loop velocity to the nano.
There are 40 pins in total, and the nano has about 20 signal pins, so you are looking into only 800 measurement combinations. Piece of cake.
What I find particularly funny about that board is they they didn’t even bother to mark the headers. The music in the video however is very soothing to counteract the hair-raising ear-splitting blood-curdling shrieks of the DIY-hobbyists trying to reverse engineer the traces…
It will build your character. That’s a good way to get you jump-started on the road to DIY independence.
Cheers,
Valentine
Edit: Now I’m thinking, you may cut down the measurement combinations by going over the L6234D documentation and Nano documentation tracing only the enable and PWM pins, this should trim your search space to about 100 combinations. There are 3 x 2 PWM pins, and 3 x 2 enable L6234D pins and Nano has 6 PWM pins, so if you plan ahead you could do in in less than one hour. Match the PWM pins first, then match the enable pins second since you already know the PWM pins are not enable pins. If I were you I’d be looking at this as a very solid educational opportunity, being very serious here.
Its not going to be that hard - I use a multimeter in beep mode… then I put one probe firmly on the target pin, and scrape across all the MCU pins with the other probe, one side of the MCU at a time.
You’ll find the right pin very quickly this way, as the multi-meters are very sensitive and will beep at the smallest contact. So when you hear the beep you just “home in” on the right pin until you find it.
My problem is usually more after I’ve found the pin, when counting the tiny legs with my bad eyesight