How to control motor using ESC, Ardiuno, and a potentiometer

Click For Summary
SUMMARY

This discussion focuses on building an electric longboard using an Arduino, an electronic speed controller (ESC), and a potentiometer for motor control. The recommended components include the NTM Prop Drive 50-60 270KV motor, HobbyKing Red Brick 125A ESC, and ZIPPY Flightmax 5000mAh 6S1P battery. Key considerations include understanding the ESC's role in translating PWM signals for speed control and the importance of managing battery discharge rates to prevent damage. Additionally, braking mechanisms require careful handling of current feedback to avoid overvoltage issues that could damage the ESC.

PREREQUISITES
  • Understanding of PWM signal generation and control
  • Familiarity with Arduino programming and motor control shields
  • Knowledge of LiPo battery specifications and safety precautions
  • Basic electronics principles, including current feedback and voltage sensitivity
NEXT STEPS
  • Research Arduino motor controller shields and their programming
  • Learn about LiPo battery management systems and safe usage
  • Explore braking techniques for electric motors, including regenerative braking
  • Investigate the specifications and operation of electronic speed controllers (ESCs)
USEFUL FOR

Electronics enthusiasts, hobbyists building electric vehicles, and anyone interested in motor control systems using Arduino and ESC technology.

ajprinzi
Messages
1
Reaction score
0
So I want to build an electric longboard. I have access to pretty much any machining equipment but don't have much knowledge on the electrical side of things. I know I will need a LiPo battery (I am aware of the dangers of them), and an electronic speed controller (ESC) hooked up to the motor. I am thinking of putting in an Arduino to control the motor (using a wired potentiometer) using PWM signal to make the acceleration smoother.

But I am unaware of all the different specs on these I would need. Also, how would I be able to brake using this configuration? because I know there is a way.

I am thinking of using these following things:
motor: http://www.hobbyking.com/hobbyking/store/__22036__NTM_Prop_Drive_50_60_270KV_2400W.html

ESC: http://www.hobbyking.com/hobbyking/store/__18014__HobbyKing_Red_Brick_125A_ESC_Opto_.html

Battery: http://www.hobbyking.com/hobbyking/store/__8586__ZIPPY_Flightmax_5000mAh_6S1P_25C.html
Thanks for the help
 
Last edited by a moderator:
Engineering news on Phys.org
I'm not quite sure what an "ESC" does, even after skimming over the manual. I think it may translate "hobby servo" PWM signals to speed control for larger motors. If that's the case you may only need a variable pulse width oscillator (maybe made from at 555 chip) or commercial hobby servo controller and can skip the arduino bit entirely.

But the thing that jumps out is that your motor is speced for 30V at 90A (max) and your battery is 22.5V at 5Ah. So you will be able to go about 10 feet before the battery is discharged... The AmpHour rating is usually how many amps you can get out of the battery when discharged over a period of 20hours and you generally want to use less than half that rating to extend the battery recharge life.
 
The ESC - is usually just a DC chopper, unless it has directional control then it is a Full (H) bridge. The issue with breaking is that you need the ESC to pass current back to something ( Resistor, Capacitors or the battery) - typically hobby set ups are not made to do that. The MOSFETs in the ESC have a body diode that will let the current go from the motor back to the battery, but the battery probably will not want to absorb that much energy that fast - you may see an overvoltage - and blow the ESC - they are very voltage sensitive. I would suggest looking for a broken electric razor scooter (craigslist)- it has the same elements, and hacking into it and see what you can learn...
Oh the arduino does have a motor controller shield - both its design and the code to run it will be open source.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
Replies
16
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K