Electric Skateboard Remote

by gustav_karlstrom in Circuits > Microcontrollers

1467 Views, 13 Favorites, 0 Comments

Electric Skateboard Remote

fcbb15e49413f2e9e54f88a864ecbef652f4adb8.jpeg
07388ac0b7de3bcb17a065f060da7429c75b5f88.jpeg
1650dd327fc948c5124d56669904247366996a99.jpeg

Create a electric skateboard remote, In JAVASCRIPT !

Join my journey, hopefully you will learn something.

This will not be a step by step tutorial. It will be more a showcase what I have used, how I did it and I'm sure you can do it to.

I even recommend you NOT doing it exactly like i did it. This design is not flawless i'm sure you can improve a lot of things. See this more like a great resource if your planning on building a remote.

Supplies

Display 128x32px
1x OLED SSD1306 Display I2C

Some kind of hardware for detecting throttle. In my case i used a Joystick i had laying around. A better choice is to use a Linear Ratiometric Hall Affect Sensor. If you go with the Hall effect sensor, don't forget to get a magnet.
1x DRV5055A2QLPG or 1x Joystick

Lets not forget the brains of the operation
2x Espruino MDBT42Q

We will need a battery; in my case i used the most thicc battery i could find. I have enough battery anxiety from the longboard itself. Would totally work with a smaller battery.
1x 18650 LION Battery
1x LION Charge board

I recommend getting at least one tactile switch and one slide switch. The more switches the more options you have when playing with your firmware.
Tactile Switch >= 1
1x Slide Switch

Print the Case / Make the Case / Buy the Case

photo_2019-08-15_09-24-35.jpg

Paint the enclosure

Mount the Display

photo_2019-08-15_09-24-30.jpg
photo_2019-08-15_09-24-45.jpg

I used paste that hardens after a few minutes to stick the display.

Assemble Battery Module

photo_2019-08-15_09-24-57.jpg
bc9158426c335af8c510a00ffa310c30c4a32a3b.jpeg
photo_2019-08-15_09-24-17.jpg

Wire Up the Brain

photo_2019-08-15_09-24-40.jpg
b83bb48e.png
402c57b15a3eb3985d01b59a3b810c441a94317c.jpeg

I don't have a schematic but i'm sure you can figure it out.

If you want to be able to read the voltage from the battery you will need to make a voltage divider circuit to make sure the battery voltage doesn't exceed 3.3v.

Uplod the Codez

maxresdefault.jpg

If you need help uploading the code or information about the hardware and software, the golden resource is

https://www.espruino.com/

The code i wrote for the remote (Use with caution, its still WIP)

There is also a parts-list on the github page

https://github.com/gurchk/espruino-esk8-remote

Assemble the Enclosure

photo_2019-08-15_09-24-49.jpg
photo_2019-08-15_09-24-53.jpg
photo_2019-08-15_09-24-25.jpg

I used double sided tape to stick the to pieces together

Profit

d788f879a2d1c2a8c7a63236b900d1dd8c1f3fba.jpeg
0da8ff9f1fa5f90fff79cc565cd19054d53cf1a7.jpeg

If you need help or have questions.

Contact me