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

AI Thread Summary
To build an electric longboard, a LiPo battery, electronic speed controller (ESC), and motor are essential components, with an Arduino potentially used for smoother acceleration via PWM signals. The selected motor has a high voltage and current rating, while the battery's capacity may lead to rapid discharge, limiting range. Understanding the ESC's function is crucial, as it controls motor speed and may not handle regenerative braking effectively without proper design. The discussion suggests exploring existing electric scooters for practical insights and components. Utilizing an Arduino motor controller shield could simplify the setup, as it offers open-source design and code.
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.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top