3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Easy build self balancing electric skateboard

Step 33Handcontroller input wiring to Arduino

Handcontroller input wiring to Arduino

Arduino analog inputs all used apart from one for balancing etc.

All handcontroller inputs go in through the digital input pins on other side of the Arduino board.

The cable is fixed to the deck using simple cable ties again so the wires are not stressed where they are soldered to Arduino input pins. The cable itself is screened cable with 6 or more wires inside it.

You can also see the 10K potentiometer used to control the "overall gain" function. This allows simple user adjustment of the machine between feeling "squishy" and "tight" as you ride it.
NOTE: (March 2011)  In code examples at end of this instructable I have now put the "overallgain" in the code. This means you do not need the gain potentiometer.

 

« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
126
Followers
10
Author:XenonJohn