Step 5: Electronics
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 ads by
Signing Up









































Visit Our Store »
Go Pro Today »



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
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
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,
http://www.instructables.com/id/Easy-build-self-balancing-skateboardrobotsegway-/step28/Sabertooth/
1on, 2off, 3on, 4off, 5on, 6on
Thanks for that find. I'll fix that straight up now.
Cheers
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