loading

Electric longboards are awsome!

TEST FOOTAGE IN THE VIDEO ABOVE

HOW TO BUILD AN ELECTRIC LONGBOARD CONTROLLED FROM A PHONE WITH BLUETOOTH

Update #1: Grip tape installed, some tweaks to the speed controller have meant I have got more speed out of the board but range has stayed the same! video coming soon. Working on nunchuck controller as well.

http://www.livealittlemore.co.uk

Links:

Motor, Esc: hobbyking.co.uk

Trucks/motor mount/ drive train: diyelectricskateboard.com

So I thought I would stray a bit from multirotors for this post and write a log of how I built my electric longboard. It has been something I have wanted to get for a while now and with all the projects I have been doing on my CNC, I decided to build one myself. (Could’t really use the CNC as it doesn't have a very large work area) I am going to start by giving an outline of my project goals and how I intended to achieve them:

1. It must be of sufficient length and width to make it stable.

2. It must be capable of reasonable speed (15+ mph).

3. The range must be at least 8 miles as my nearest town is about 4 miles away.

4. I want to be able to control the longboard with my phone (android).

5. I want to have a voltage readout on my phone so I know how much battery remains.

WARNINGS: The code and app are not perfect by any means, they are very much still in beta. Please be careful with the stop button as depending on what esc you use, the brakes can be very aggressive and may throw you off the board.

Disclaimer: I am not responsible if you fall off your board and/or hurt yourself in any way because the acceleration or braking or speed is too aggressive due to my app/code/any part of this “tutorial”. If you use my code and app please test thoroughly with your particular set-up to make sure it doesn't hurt you. It may take some tweaking… If you have any queries then leave a comment :)

please visit my blog and check out the other stuff that I make! http://www.livealittlemore.co.uk

my youtube channel: https://www.youtube.com/channel/UC1qIml4_nky4rELA_...

Step 1: ​THE PLAN

There are two aspects of this project that I think will be most difficult. First, mounting a motor to the trucks of the long board and setting up a drive train. (I have a plan for this) Secondly is going to be the way to communicate between the ESC (the device that contra the motor) and my phone. For the first problem I am going to use a company called dielectric skateboards.com who make trucks with motor mounts are welded on and they come with pulleys and a belt and wheels. (I was going to build this part myself but I was under time constraint and I wanted to spend most of the time working on the electronics.) (See my PLANS page on my blog (https://skyhighrc.wordpress.com/)for some ideas on making a motor mount) With that problem sorted we move on to the electronics. I am going to use an arduino nano and a bluetooth module (HC-05) to control the board from my phone. To write the app I am going to use Mit App Inventor which is a free on-line tool for building simple apps.

nice build tutorial! I just started to make my own. Wich will be very similar to your build! https://youtu.be/yWeLAkTYFoY (build log)<br>I will try to make the best quality board under 400 $
<p>Would the app work w/ an iPhone 5s, also a huge fan of this kind of stuff, keep it up!</p>
Hey, I was just wondering if it was possible to gdt a better look at the curcuitry, like the wires from the batteries and the wires soldered into the phero board/ copper, where are they from?
<p>Im planning on doing a new build so I will include better circuit diagrams in that!</p>
ok great ?
<p>sorry, but I don't have any for this build.... so....</p>
<p>Arduino Question: would you mind explaining the 3 wires that go to the battery? One is ground, and 2 go to slots in the balance port of the battery?</p>
nah all good man didnt mean to put in the question mark
<p>Can you put some better pictures of the arduino setup? Front and back of the arduino? </p>
<p>Or made a video a few seconds long showing it?</p>
Hey I know I asked earlier, but I was wondering if it was possible to get some more views of how it is wired up? like pictures or something maybe?<br>
<p>Hey Nickolae, Any update of this project? Is necessary Arduino UNO? What motor do you recommend in quality/price? you can show better where each cable is connected arduino, esc and bluetooth? Thanks a lot! a lot of people are following this project from Spain ;) http://www.forocoches.com/foro/showthread.php?p=228184185#post228184185</p>
<p>Hi, I have some error with the code:</p><p>Arduino: 1.6.7 (Windows 10), Board: &quot;Arduino Nano, ATmega328&quot;</p><p>The sketch name had to be modified. Sketch names can only consist</p><p>of ASCII characters and numbers (but cannot start with a number).</p><p>They should also be less than 64 characters long.</p><p>How_to_build_an_electric_Longboard_with_phone_control_code:1: error: #include expects &quot;FILENAME&quot; or &lt;FILENAME&gt;</p><p> #include // import the serial library</p><p> ^</p><p>How_to_build_an_electric_Longboard_with_phone_control_code:3: error: invalid preprocessing directive #includeSoftwareSerial</p><p> #includeSoftwareSerial Bluetooth(10, 11);</p><p> ^</p><p>exit status 1</p><p>#include expects &quot;FILENAME&quot; or &lt;FILENAME&gt;</p><p> This report would have more information with</p><p> &quot;Show verbose output during compilation&quot;</p><p> enabled in File &gt; Preferences.</p>
<p>Hi! I'm experiencing the same error. Were you able to resolve it?</p>
<p>Sorry, I have no idea what is going on here... It still works perfectly on my duino nano... maybe post it on the arduino forums and see if anyone can help you figure out the problem! Software is not my strong side!</p>
<p>I live in a very hilly place, so what would be your recommendation for a motor with enough lower to get up hills? And what ESC should I use as good that has good braking?</p>
Hi there, I would recommend a motor with a low kV such as the one I used but that may not be enough. If you are in a very hilly area I would recommend a dual motor setup (one driven wheel at the front and one at the back) this will ensure you have adequate power and won't loose traction so easily. As for ESC you will want one with a very high current capacity (150amps) and it should be an rc car ESC as these have good brakes that can be adjusted so it doesn't fling you off the board when you brake!
<p>Do I only need one ESC than for both? And do you have a schematic for the wiring of the entire board? Thanks</p>
<p>it's best to have one esc per motor. I'm afraid I don't.. but I am going to have another crack at the longboard in the near future so maybe then...</p>
<p><a href="http://www.hobbyking.com/hobbyking/store/__67035__Quanum_MT_Series_5206_320KV_Brushless_Multirotor_Motor_Built_by_DYS.html" rel="nofollow">http://www.hobbyking.com/hobbyking/store/__67035__...</a></p><p>would two of these work?</p>
don't think they are powerful enough... even two of them!
<p>iam selling my Propulsion Kit here : http://www.ebay.com/itm/-/182052175878? if anyone interested. Worldwide shipping.</p>
<p>Hi, Could you please send the project of the android app?</p>
<em>Hi Nickolae, :D </em><p>I want to build an electric longboard something like your,<strong> but I'm not genious in electric.</strong> :D I dont have too much pocket money, so<strong> I wrote a cheap list</strong> with cheap materials. From that two website: e-bay, and hobby-king. Sooooo <strong>I have a request for you: can you check my list</strong>, that these stuffs will work together? Or if you have some good advices for the beginners like me, plase share it with me. :D ;) I thought, that I will use arduino uno or nano, I dont know which one is better so I will buy both of them, and <strong>I'm not sure, that the ESC</strong> which I chose is<strong> compatible with the brushless motor</strong>. :'( </p><p><em><strong>So this is the list: </strong></em></p><p><strong>$4,23</strong><em>Arduino Uno: </em></p><p><a href="http://www.ebay.com/itm/NEW-ATmega328P-CH340G-UNO-R3-Board-USB-Cable-Compatible-with-Arduino-/251950623468?hash=item3aa96d6aec:g:1EMAAOSwuMFUdtk9" rel="nofollow">http://www.ebay.com/itm/NEW-ATmega328P-CH340G-UNO-...</a></p><p><strong>$2,30 </strong><em>Arduino Nano: </em></p><p><a href="http://www.ebay.com/itm/MINI-USB-Nano-V3-0-ATmega328P-CH340G-5V-16M-Micro-controller-board-Arduino-/161403910939?hash=item25946c3b1b:g:kEYAAOSwq7JT-wVU" rel="nofollow">http://www.ebay.com/itm/MINI-USB-Nano-V3-0-ATmega3...</a></p><p><strong>$50 </strong><em>Brushless motor:</em></p><p><a href="http://www.hobbyking.com/hobbyking/store/__18175__turnigy_aerodrive_sk3_5055_280kv_brushless_outrunner_motor.html" rel="nofollow">http://www.hobbyking.com/hobbyking/store/__18175__...</a></p><p><strong>$19</strong><em> Brushless ESC: </em></p><p><a href="http://www.ebay.com/itm/120A-ESC-Sensored-Brushless-Speed-Controller-For-1-8-1-10-Car-Truck-Crawler-BE-/121870237813?hash=item1c60084075:g:zbwAAOSwqrtWntu9" rel="nofollow">http://www.ebay.com/itm/120A-ESC-Sensored-Brushles...</a></p><p><strong>$23,20</strong><em> Batteries (I will buy 2): </em></p><p><a href="http://www.hobbyking.com/hobbyking/store/__8579__ZIPPY_Flightmax_5000mAh_3S1P_20C.html" rel="nofollow">http://www.hobbyking.com/hobbyking/store/__8579__Z...</a></p><p><strong>$9,8 </strong><em>Bigger gear: </em></p><p><a href="http://www.ebay.com/itm/262052317344?rmvSB=true" rel="nofollow">http://www.ebay.com/itm/262052317344?rmvSB=true</a></p><p><strong>$4,5</strong> <em>Smaller one:</em> </p><p><a href="http://www.ebay.com/itm/181603550769?rmvSB=true" rel="nofollow">http://www.ebay.com/itm/181603550769?rmvSB=true</a></p><p><strong>$3,5</strong><em> Fan belt: </em></p><p><a href="http://www.ebay.com/itm/181970599036?rmvSB=true" rel="nofollow">http://www.ebay.com/itm/181970599036?rmvSB=true</a></p>All in all the price is: $110 :D <p>Waiting for your answer! </p><p>Matthew</p><p></p><p></p><p></p><p><strong> </strong></p>
Hey can you tell me weather I can use a 400kv motor ?and which esc should I use for it ? Should there be any difference in the codes
yeh 400kv will be fine if it has enough torque and can handle a lot of current! I always recomend at least 100 amps to be on the safe side, and go for an RC car esc so you have adjustable braking. no difference in the code
<p>Hi, I've added your project to the <em style="">&quot;A Collection of Homemade Electric Motorized Skateboards (That You Must Make!)</em><em style="">&quot;</em> Collection</p><p>This is the link If you are interested:</p><p><a href="http://www.instructables.com/id/A-Collection-of-Homemade-Electric-Motorized-Skateb/">http://www.instructables.com/id/A-Collection-of-Ho...</a></p>
<p>I think this is a very stupid question but there is something i dont quite understand:</p><p>How come the board can drive straight if only 1 wheel has traction</p><p>are the wheels connected to each other with a spinning axle inside the truck?</p><p>(great tutorial btw)</p><p>thx in advance</p>
So because you have 4 wheels in contact with the ground the driven wheel can not rotate the axle about the wheel next to it because the front wheels stop any rotation due to their side to side friction. But they do allow motion forwrds and backwards so the power of the driven wheel is translated into the forward vector.<br><br>sorry that may not make sense... it made sense in my head haha!
<p>Awesome tutorial!</p><p>just one thing you are actually measuring one battery level only, for the first cell of the first battery, so you are assuming that all cells are going to discharge at the same rate, that is not exactly true, but i think it might be good enough. </p>
Thanks! Yes you are right the lipo cells don't discharge exactly the same but it works well enough for this application. With my multirotors I always use a multi cell battery monitor!
<p>nevertheless it is a great build! I'm working on one myself. Trying to figure it out the best way to get data telemetry from all cells, rpm and temeratures from the sk8 to a custom controller...</p>
<p>Hi,</p><p>I saw that u use just one motor, but im thinking about using 2 or more, just to get more speed.</p><p>What do u think about that in performence, and in price? if u have any recommendation, please tell me.</p><p>Thanks!</p>
Having a dual motor setup can boost performance a lot. The setup I would recommend is to have one driven wheel at the front and one at teback, this would give you the best performance for hills especially. This is because you wait us distributed evenly over the driven wheels so when it comes to hilks and you lean forward to maintain balance pressure is maintained on a driven wheel so you have good traction. This is what I have seen in my testing so far
<p>Hi, <br>Is there any noticable difference between your version 1 and 2? I ordered the hc -05 and arduino uno. Could i still make the V2 receiver with these components or should i stick with the V1 bluetooth recieiver now? <br>Thanks !</p>
<p>How much does it fully cost?</p>
So all in all it is about &pound;400
<p>What LiPo batteries did you use?</p>
http://www.hobbyking.com/hobbyking/store/__9184__Turnigy_5000mAh_3S_20C_Lipo_Pack.html<br><br>2 of these in series
<p>Could you give me some advice? What motor would be better:</p><p><a href="http://www.hobbyking.com/hobbyking/store/__18128__Turnigy_Aerodrive_SK3_6364_245kv_Brushless_Outrunner_Motor.html">http://www.hobbyking.com/hobbyking/store/__18128__...</a></p><p><a href="http://www.hobbyking.com/hobbyking/store/__23521__NTM_Prop_Drive_50_60_Series_380KV_2665W.html">http://www.hobbyking.com/hobbyking/store/__23521__...</a></p>
<p>Hello :)</p><p>I haven't bought a arduino nano and HC-05 yet but is it still possible to download the app on the phone?</p>
Of course, link is in the instructable to download it
<p>THX :)</p>
<p>Hello where can i get the mount and wheels and pully at?</p>
http://diyelectricskateboard.com/<br><br>tell them I sent you!
<p>The motor and Esc i all ready have I'm just looking for the kit to put on my longboard?</p>
<p>hi again, how can I get the app and download the arduino code?</p><p>because you said on your blogg that I need to change the file of the app to .apk and the arduino to .ino</p><p>but how can I do it, maybe can you make a tutorial how to do it (I have a mac)</p><p>I think it would help everybody ;)</p>
<p>have uploaded to this instructable page :)</p>
<p>Oh I have three questions:</p><p>1. Where did you get that caterpillar (that band that connects the motor with the wheel) because I cant find it on the diyelectricskateboard site</p><p>2. How can I download the app? Because I can not directly download it with my phone</p><p>3. Why is this so freaking epic!!! ;)</p><p>Maybe you can post a video about the electricity setup and how the wheel-turning-motor construction works, just a precise tutorial how to make it</p>
<p>sick build and thanks for the help with the shaft heres my board</p><p><a href="https://www.youtube.com/watch?v=AOe73EULYqE" rel="nofollow">https://www.youtube.com/watch?v=AOe73EULYqE</a></p>

About This Instructable

114,608views

1,368favorites

License:

Bio: Designer, Maker, CNC Enthusiast, Drone Maker
More by Nickolae:CNC Dodecahedron Speaker Build 100W LED Torch Flash Light - Designing/3D Printing Making An LED Illuminated Oak Bluetooth Speaker 
Add instructable to: