Skip to content

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

Cart

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.

  1. Electric longboards can reach 20+ mph—always wear a helmet.
  2. Use appropriate batteries (LiPo batteries require safe handling).
  3. Never ride in traffic without experience.
  4. Ensure all electrical connections are secure and insulated.
  5. 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.

  1. Attach the motor mount bracket to the longboard truck.
  2. Secure the brushless motor to the mount.
  3. Install the motor pulley on the motor shaft.
  4. Install the wheel pulley on one of the rear wheels.
  5. Connect the motor to the wheel pulley using a drive belt.
  6. 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.

  1. Connect the ESC's 3 wires to the brushless motor's 3 wires.
  2. Connect the ESC power wires to the battery pack (observe polarity!).
  3. Mount the ESC and battery securely to the underside of the longboard.
  4. Use cable ties or mounting tape to keep wires organized.
  5. 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.

  1. Connect the wireless receiver to Arduino.
  2. Wire the receiver signal pin to Arduino analog input A0.
  3. Power the receiver from Arduino 5V and GND.
  4. 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.

  1. Open Arduino IDE and create a new sketch.
  2. Read the PWM signal from the receiver.
  3. Map the signal to ESC throttle range (typically 1000-2000 microseconds).
  4. Send the throttle signal to the ESC.
  5. Add safety features: throttle limits, smooth acceleration/deceleration.
cpp
#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.

  1. Elevate the longboard so wheels are off the ground.
  2. Turn on the battery and Arduino.
  3. Pair the remote transmitter with the receiver.
  4. Slowly increase throttle and watch the wheel spin.
  5. Test braking (if your ESC supports reverse/braking).
  6. Listen for unusual sounds or vibrations.
  7. 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.

  1. Wear helmet and protective gear.
  2. Find a flat, empty parking lot or path.
  3. Start with one foot on the board, push off gently.
  4. Gradually apply throttle once moving.
  5. Practice accelerating, cruising, and braking.
  6. 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.