Arduino Electric Longboard
Convert a longboard into an electric skateboard using Arduino, DC motor, and wireless remote control.
- Arduino
- Advanced
- 180 minutes
- 7 steps
Shop this project
CartYou'll need
Arduino Uno Rev 3Board Only$32.24
Male-Male Jumper Wires (Set of 65-assorted sized and colors)$6.99
Prices from vilros.com. Tax and shipping at checkout.
Before you start, you'll need
- Arduino Uno
- Brushless DC motor (skateboard motor kit)
- Motor controller/ESC (Electronic Speed Controller)
- Battery pack (36V LiPo recommended)
- Wireless receiver module (2.4GHz)
- Longboard deck
- Motor mount and pulley system
- Remote control transmitter
- Wires and connectors
Safety considerations
About 5 minutes
Understand the risks and safety requirements.
- Electric longboards can reach 20+ mph—always wear a helmet.
- Use appropriate batteries (LiPo batteries require safe handling).
- Never ride in traffic without experience.
- Ensure all electrical connections are secure and insulated.
- Test in a safe, empty area first.
You should see
You understand the safety risks and have protective gear.
Install the motor system
About 45 minutes
Mount the motor and pulley to the longboard.
- Attach the motor mount bracket to the longboard truck.
- Secure the brushless motor to the mount.
- Install the motor pulley on the motor shaft.
- Install the wheel pulley on one of the rear wheels.
- Connect the motor to the wheel pulley using a drive belt.
- Ensure proper tension on the belt (not too tight, not too loose).
You should see
The motor is securely mounted and connected to the wheel via pulley.
Connect the ESC and battery
About 30 minutes
Wire the motor controller to the motor and power.
- Connect the ESC's 3 wires to the brushless motor's 3 wires.
- Connect the ESC power wires to the battery pack (observe polarity!).
- Mount the ESC and battery securely to the underside of the longboard.
- Use cable ties or mounting tape to keep wires organized.
- Install a power switch between the battery and ESC for safety.
You should see
ESC is connected to motor and battery. Power switch is in place.
Configure the wireless remote
About 25 minutes
Set up Arduino to receive throttle commands.
- Connect the wireless receiver to Arduino.
- Wire the receiver signal pin to Arduino analog input A0.
- Power the receiver from Arduino 5V and GND.
- The receiver outputs a PWM signal based on remote throttle position.
You should see
Wireless receiver is wired to Arduino.
Upload the control sketch
About 30 minutes
Program Arduino to control motor speed.
- Open Arduino IDE and create a new sketch.
- Read the PWM signal from the receiver.
- Map the signal to ESC throttle range (typically 1000-2000 microseconds).
- Send the throttle signal to the ESC.
- Add safety features: throttle limits, smooth acceleration/deceleration.
#include <Servo.h>
Servo esc;
const int receiverPin = A0;
const int escPin = 9;
int throttleMin = 1000;
int throttleMax = 2000;
int throttleNeutral = 1500;
void setup() {
esc.attach(escPin);
esc.writeMicroseconds(throttleNeutral);
Serial.begin(9600);
delay(2000);
}
void loop() {
int receiverValue = pulseIn(receiverPin, HIGH, 25000);
if (receiverValue > 500) {
int throttle = map(receiverValue, 1000, 2000, throttleMin, throttleMax);
throttle = constrain(throttle, throttleMin, throttleMax);
esc.writeMicroseconds(throttle);
Serial.print("Receiver: ");
Serial.print(receiverValue);
Serial.print(" -> Throttle: ");
Serial.println(throttle);
} else {
esc.writeMicroseconds(throttleNeutral);
}
delay(20);
}Calibrate throttle ranges based on your specific ESC and receiver. Always test with wheels off the ground first.
You should see
The sketch uploads successfully.
Test the system safely
About 30 minutes
Verify motor control before riding.
- Elevate the longboard so wheels are off the ground.
- Turn on the battery and Arduino.
- Pair the remote transmitter with the receiver.
- Slowly increase throttle and watch the wheel spin.
- Test braking (if your ESC supports reverse/braking).
- Listen for unusual sounds or vibrations.
- Check that all connections are secure.
You should see
Motor responds smoothly to remote throttle. No loose connections.
It didn't work
Motor doesn't spin.
Check ESC connections to motor (3-phase wires). Verify battery voltage. Ensure ESC is powered and armed. Some ESCs require a calibration sequence.
Motor stutters or loses power.
Check battery charge level. Verify all connections are tight. Ensure belt tension is correct. Check for overheating ESC or motor.
Take your first ride
About 15 minutes
Safely test the electric longboard.
- Wear helmet and protective gear.
- Find a flat, empty parking lot or path.
- Start with one foot on the board, push off gently.
- Gradually apply throttle once moving.
- Practice accelerating, cruising, and braking.
- Get comfortable with the board's response before riding in traffic.
You should see
You successfully ride the electric longboard in a controlled environment.
What to do next
Stuck? Contact Vilros Support with your board model and what you see on screen.