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 22Wiring arduino 2

Wiring arduino 2
Here is the wiring of the right hand side of the Arduino (mainly digital inputs).

digital inputs:

Pin 4: steer right from hand controller (simple +5V from a rocker switch)
Pin 5: Steer left from hand controller (simple +5V signal from a rocker switch)
Pin 6: From balance point fine tune switch on hand controller (simple + 5V signal from a rocker switch)
Pin 7: From balance point fine tune switch on hand controller (simple +5V from a rocker switch)
Pin 9: From deadman button on hand controller (again, simple +5V signal from a rocker switch)

digital output:
Pin 8: Pulses to oscilloscope, one per loop of program, allows me to measure the cycle time of the program which we need to know to do some of the maths for tilt angle. You dont need to worry about this. The cycle time wont change much unless you modify my software a lot.
« Previous StepDownload PDFView All StepsNext Step »
1 comment
Jul 3, 2011. 5:44 PManiles jr says:
wat dose "balance point fine tune switch" do ?
Jul 7, 2011. 3:29 PManiles jr says:
thanks

but were do i get the 5 volts from the board so i could bring it to the hand controller

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!
127
Followers
10
Author:XenonJohn