Skip to content

timmaier/PiSkate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

PiSkate – Raspberry Pi controlled electric skateboard

NOTE: I used the Raspberry Pi as part of a University project as it was a prerequisite and had to be used in each project. I would NOT recommend using a Raspberry Pi as the main communications device as it is unnecessary. I have switched to using SolidGeeks https://github.com/SolidGeek/nRF24-Esk8-Remote/tree/development NRF24 Arduino remote. I highly recommend other's do the same it's really solid when paired with a VESC!

This is an overview of the software/hardware I used for my PiSkate project.

Parts

This parts list is a guide only! Feel free to use other components if they fit your needs better.

Electronic Parts:

Part Link Cost AUD
Motor http://www.hobbyking.com/hobbyking/store/__18184__Turnigy_Aerodrive_SK3_6374_149kv_Brushless_Outrunner_Motor.html $109
Recommended ESC http://tinyurl.com/z2v9pqk $120*
Pi 3 http://au.element14.com/raspberry-pi/raspberrypi-modb-1gb/raspberry-pi-3-model-b/dp/2525226 $56
2 x LiPo's http://www.hobbyking.com/hobbyking/store/__7635__ZIPPY_Flightmax_2200mAh_3S1P_30C.html 2 x $18.37
Parallel Harness http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?idproduct=10265 $3.16
Wii Remote You should be able to get these used on ebay for under $30 <$30
Total $330
Note: The popular VESC won't work with the current program as it does not have BEC so it is a little bit different wiring wise and would require a small modification to the program and layout of the wiring.

Hardware Parts:

I did not add the skateboard parts to this table as everyone has different preferences for what type of board and wheels they want to use. You just have to make sure that the wheels you buy fit the 3D printed wheel gear and also make sure the trucks you buy are wide enough to allow space for the mechanical drive to operate even with the added width of the motor bracket (see figure 1). It is for this reason most people use longboard trucks for their electric skateboards since these are wider.

Space

Part Link Cost AUD
PiCase http://www.thingiverse.com/thing:922740 Filament Cost
Wheel Gear http://www.thingiverse.com/thing:752899 or http://www.thingiverse.com/thing:752893/#files Filament Cost
Motor Pulley http://www.enertionboards.com/buy-build-your-own-electric-skateboard-parts/15T-5mm-HTD-8mm-bore-aluminium-eboard-electric-motor-pulley/ $19.95
htd5 9mm timing belt http://www.enertionboards.com/buy-build-your-own-electric-skateboard-parts/electric-skateboard-timing-belt-9mm-265-55t-htd5/ $16.95

Note: The motor mount used is a custom made mount out of steel. You can also buy an already fabricated one but you have to make sure it fits the motor you choose to use.

Wiring

Setup NOT TO SCALE

PiSkate install

1. Install a fresh jesse image on the micro SD of the Pi3 2. Install cwiid:

sudo apt-get install python-cwiid

Now the program should run when you manually start it from the command line. 3. Edit the rc.local file if you want to have the program auto-start at boot:

sudo nano /etc/rc.local

Then add the path to the piskate.py program at the end of the rc.local file:

python /home/pi/piskate.py

This will auto start the piskate.py program every time the Pi boots.

Video Tutorial

Build tutorial: COMING SOON Overview video (this is not a build tutorial): https://www.youtube.com/embed/RmEzLk84aRs

##Donate This project is free* don't feel obliged to donate but the option is here:

https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=SSW3NAARMJF34&lc=AU&item_name=PiSkate&currency_code=AUD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted

##License

PiSkate software is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.

About

Raspberry Pi controlled electric skateboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages