Self Balancing Scooter Ver 2.0

 by ScitechWA
Featured

Step 5: Electronics

IMG_1095.JPG
IMG_1083.JPG
Standon Circuit.png
The electronics are quite basic as per the circuit diagram and are exactly the same as for the previous version.

All cabling for the switches and IMU should be shielded cable except if the IMU is right next to the Arduino.

The IMU needs to be mounted under the centre of the platform or in front if possible. We mounted ours in a box out the front.

Everything fitted in the box and the kill-switch, L/R steer and tilt adjust were run up to the handle.

The batteries were mounted on top of the motors.

********************************
You need to change the DIP switch setting on the sabertooth
Set them to the following.

1on, 2off, 3on, 4off, 5on, 6on
 
Remove these adsRemove these ads by Signing Up
nimith says: Jun 21, 2012. 4:51 PM
Hi ,

Have some question:-

I found this and John's project in the Drawing for the Switch which have a difference common , Jonh's used +5 V to common and your is Ground (active GND)

I build with John's Diagram and still have some trouble to get balance , Not sure what is Gyro worked or not but just curious that your code will work the same way that I can try ? just only Switch wiring difference?

You are not in USA?

Thank you,

NM

ScitechWA (author) in reply to nimithJun 21, 2012. 6:02 PM
Hi,
Mine is using the internal pullup on the microcontroller where John's use external pull down resistors.
So yes our codes are different that look at the inputs.
Mine looks for 0V for on and John's looks for +5V as an on.

So our codes aren't interchangable.

Nope I'm in Australia.

Rod
nimith says: Jun 12, 2012. 2:51 PM
Hi,

For the Sabertooth Dip sw setting, is that serial 9600 ?

1- on ,2 -off, 3 -on, 4- off, 5,6 -on I can't see clear from your picture.

would you please confirm? I just got the board today.

Thank you,
ScitechWA (author) in reply to nimithJun 12, 2012. 4:23 PM
Sorry about that. I copied of Johns design but forgot to add that.
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/step28/Sabertooth/

1on, 2off, 3on, 4off, 5on, 6on
ScitechWA (author) says: Feb 27, 2012. 3:53 PM
Hi Luanist,
Thanks for that find. I'll fix that straight up now.

Cheers
luanlist says: Feb 27, 2012. 3:45 AM
Hello,
great job.
I think you have done some mistake in the electic schema:
1) The "Tilt adjust backward" button have the ground not connected.
2) 12V battery is connected to each other by positive(it's wrong?)

Thank you.
Antonio
bstott says: Feb 26, 2012. 2:55 PM
Nice looking electrics. I like that wired in Arduino. Very cool stuff!
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!