Introduction: Speedboard: Electric Skateboard
Hello! I am a MCT College Student from Howest in Belgium.
Today, I will give you a step by step guide on how to make an electric skateboard with a raspberry pi and arduino.
I was inspired to make this project by a famous youtuber called Casey Neistat. Since I was 15 years old, I always wanted to have a "Boosted board" because he had one. It seemed very convenient to use, especially in a big City like New York where there is a lot of traffic.
Also for a board that can ride around 20 kilometers an hour, it's really easy to get from point A to B.
I recommend that you should order your components a month or two before starting up because some components can take a really long time.
I used the following items:
A motor kit with a belt and components
A Raspberry Pi 3
Some cables for your Arduino and Pi
A Battery pack
A Battery Charger
An OLED display
I will add a document where i listed all the parts and where i bought them. you can choose where you buy everything but keep in mind that the ESC, motor and battery are build to work together, so if you change 1 of them, you need to change everything.
The total cost of this build is €361.54.
Step 1: Step 1: the Wiring
Here you can see the wiring for the electric skateboard. Note that I used an OLED display to show the IP of the raspberry, but it's not needed.
Step 2: Step 2: the Database
I've made a database so i could store the data of all my sensors. I've also inserted the SQL script so you could import the database and you don't need to do so.
Step 3: Step 3: Connect Everything
Next up, Connect everything like the diagram from the previous step.
You'll have to hang the motor with the part you got.You will have to remove a wheel so you could place the part. it's pretty straight forward.
Also you have to sauder the connector between the ESC and the battery as you can see. You can sauder the other side with the motor if you want. I used a connector but you don't have to.
Step 4: Step 4: the Programming Part
Next up, we'll need to send the arduino code to the arduino and the pi code to the pi.
You can get it here
For the arduino just send it to the arduino, pretty straight forward.
For the Raspberry pi, it's a bit complicated.
You will have to install apache2. "sudo apt install apache2"
After that, you will need to have an ftp connection with your raspberry pi. I recommend using Filezilla.
put the website folder in var/www/html
I made a new network on my pi so I could connect to my pi while driving.
you can follow the tutorial here
If you want, you can show your ip on the screen. Just run stats.py and voilla.
Step 5: Step 5: Run the Code & Done
This is the easiest step. Check if everything is connected and run the code on the arduino and pi.
And voilla you have your own electric skateboard.