I got this "gobilda" motor connected to their speed controller. According to their website's link : "it can be plugged to an Arduino or anything that can produce a PWM signal. It responds proportionally to a signal between 1050 - 1950 microseconds."
Pin 6 on my Redboard (Uno equivalent) is PWM. I even tested it with a LED to make sure pin 6 is producing PWM and it seemed to be blinking accordingly. What am I missing?
I think you'll find the three wire is for the receiver and the larger (heavy duty) wires are for the motor supply! As [jim-p] alludes , DON'T connect anything to the Receiver red wire!
The motor power supply needs to connect directly to the 12-24V IN wires, NOT through the breadboard. DO NOT connect the Motor power supply ground (black wires) to the Arduino GND
Connect the receiver black wire to the Arduino GND
This discussion highlights why a good clearschematic is so important as a STARTING POINT, along with a proper understanding of DC circuits.
Aside: With those loose wires and alligator clips floating around there’s a huge risk of frying the receiver, controller and possibly the power supplies.
Hm, still not working unfortunately. Got the 12V on the DC power supply. Are you sure I shouldn't connect the thin red wire of the BEC to the arduino? your comments made me apprehensive to do so!
For the record, I did check the BEC with the original receiver 5 minutes and the motor works, so I didn't fry it. It's the arduino setup that still has me scratching my head.