0

This is the motor:

https://www.aliexpress.com/item/Wholesale-JGA25-2418年8月5日-1977-rpm-Electric-Motors-Brushless-Motor-High-Torque-Speed-Controlled-DC/32360228129.html

I'm hooking it up to the arduino as described and giving the PWM outputpin analogWrite functions, but it's not working.

asked Jan 29, 2019 at 9:43

1 Answer 1

0

No. It has an ESC built in.

You just provide power and a PWM signal, and optionally a direction signal.

To test:

  1. Connect red to +12V.
  2. Connect black to 12V GND and to Arduino GND
  3. Connect white to D5
  4. analogWrite(5, 128);
answered Jan 29, 2019 at 10:59
2
  • Stupid question, but why does the motors have to connect to Arduino GND as well as the 12V GND? Commented Jan 30, 2019 at 18:50
  • @Ary majenko.co.uk/blog/importance-sharing-grounds Commented Jan 30, 2019 at 19:17

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.