![l298n motor driver making sound l298n motor driver making sound](https://i0.wp.com/img.staticbg.com/thumb/large/oaupload/banggood/images/D1/59/36f2b3fc-a68f-4dd4-a2b9-8ee6607108a6.jpg)
The problem is that it has to be flashed from the ftdi, and I didn’t manage to do it from the USB port.Īlso, this would require knowing which pins to use… and this is too much work for me to undertake alone. This probably would not work with encoders but it could be a way of having a very compact board for 3 motors.
![l298n motor driver making sound l298n motor driver making sound](https://i.ytimg.com/vi/dyjo_ggEtVU/maxresdefault.jpg)
If STM32 is compatible… maybe it could work on the Storm 32 BGC 3 axes Gimbal board? While I was reading the documentation and checking the other shield possibilities, I was thinking…
![l298n motor driver making sound l298n motor driver making sound](https://wonderfulengineering.com/wp-content/uploads/2016/01/10-Best-Arduino-Motor-Drivers-8.jpg)
#L298n motor driver making sound code#
So my conclusion is that is was probably related to either the code or the power supply ! But it was a good thing to test the L298N. Was the problem related to the Arduino? The check, I uploaded the same code, changing only the pins, in the arduino uno: No problem, no noise. I tested with the simpleFoc shield and the esp32: No problem, no noise, not too hot. Was this related to the shield and the L6234? Then, with a HT100, a 12v 5A power supply and an adjustable voltage-limit kept not too high, so as not to heat up the L298N : it works, and without making noise ! (but heating up obviously) So, Esp32 + L298N and a smaller BLDC motor : no noise! Yes, I have some of theses boards, Runger I love them ! So powerful and practical, with all the wemos shields…Īfter a while I understood that I had to change the mpwm.h… Then test with an L298N shield and an esp32: The Wemos D1 esp32. I tried to test all the solutions you proposed.įirst, by fixing the shield (It’s not a big issue Antun, don’t worry) : It was still making noise. Could it be technically possible to use an esp8266 (limitation of timers? Pwms)? Is it a lot of work to adapt the library?Īgain, thanks for the amazing work you do!įirst at all, thanks to everybody for all your answers. I tried to compile it, but it didn’t work. I’ve had some of these boards but with and esp8266. In terms of performance, would it be better to use an esp32 board? Does an “Arduino-like” board like this will be compatible? Does it have something to do with the fact that I used an arduino?
![l298n motor driver making sound l298n motor driver making sound](https://content.instructables.com/ORIG/FAB/UBUX/KMJ66JVH/FABUBUXKMJ66JVH.jpg)
When I run it at very low speed, I have the impression that there is a bad step in the movement. I suppose I configured it well, the number of pairs of poles (21 in my case),Īnd the wiring too (I also tried all the combinations of the order of the pwms, supposing that if I swapped the pwms it would be like swapping the cables of the bldc, is it true?), but I still have the noise. It works quite well, in the sense that I was able to control the speed, and the torque.īut when I am at low speed, there is an intermittent noise that I can’t take off. So I ordered your shield, and tried it with quite a big motor (an HT100), with an arduino uno, and without encoder, just in open-loop Velocity mode. It’s well thought of and so easy to use (Again, thanks a lot!)
#L298n motor driver making sound serial#
I was dealing with it with my own Home-made library, but it was not so easy, because the configuration of timers made a mess with serial functions, delays…īut now, what you did with the library is just a big step forward. As a lot of people (I suppose) I began to use Gimbal Brushless motors with arduino by hacking the cheap gimbal controller boards made for “GoPro gimbal”. First at all, thank you very much for the amazing work you did with this library, but also the Shield and the documentation, the platform… It’s very amazing work ! Thank you very much.