Professional Documents
Culture Documents
by ihart
This Instructable will show you how to build a ride-able Segway clone. Here are its features:
Easy to build with no welding, no complicated steering linkage and minimal soldering.
Uses a readily available $3 digital MPU6050 accelerometer/gyro IMU board.
Total parts cost is under $400 (including shipping). A real Segway is $5000!
No salvage, dumpster diving or Craigslist parts.
A detailed parts list and ALL purchasable sources are included.
Well documented with over 50 minutes of HD how-to video, pictures and a detailed plan.
Uses the very common Arduino UNO processor board.
All Arduino processor code is included. NO additional Arduino libraries need to be installed.
wood working
metal working
plumbing techniques
wiring from schematics
micro controller (Arduino) C like coding
accelerometer/gyro basics
I would say that a motivated middle schooler (12+ year old) with a parental figure could tackle this project. If the
motivation isn't in the technical learning and assembly, it will be in the riding fun!
----------------------------------------------------------------------------------------------------------------------------
UPDATE 12/24/2014: There is a separate Instructable here to strengthen the Segway Clone PVC to Wood junctio
n.
//www.youtube.com/embed/pSHOa9Gl2eM
With the Segway clone leaning forward, it's front edge touching the ground, toggle the power switch
on.
The LED will glow red. Wait about 8 seconds for the MPU6050 Accelerometer/gyro to calibrate.
Lift up the board so it is parallel to the ground.
Hold in the deadman switch. The LED will turn green.
Step on the board.
Lean forward to go forward and lean back to go backward.
While you are moving, you can press the steering rocker switch to go left or right.
You can press the tilt rocker switch to adjust the neutral balancing position of the board.
This video is over 50 minutes long and includes detailed instructions on how to build this Segway clone:
//www.youtube.com/embed/S5lF9k65758?rel=0
This is the electrical wiring schematic. It was drawn in MS Visio and saved as a .PDF here.
Tools Needed:
Wood saw, hack saw, drill, drill bits, hammer, screwdrivers, wrenches, wire strippers, soldering iron, files, metal
punch
Optional tools:
table saw, drill press, Dremel tool, VOM (Voltage Ohm Meter), WD40 (for drilling)
These are the mechanical plans. I designed this in MS Visio and saved off the .PDF here.
Download
https://www.instructables.com/ORIG/FP1/MXSL/HT7P5RRL/FP1MXSLHT7P5RRL.pdf
…
The Arduino code development took the longest amount of time to get right in this Instructable. It could still be
improved. Any ideas would be appreciated. It was influenced by the following authors of self balancing device
projects and MPU6050 development:
Installation:
You can search on YouTube to learn about the Arduino. This guy does a good job explaining everything about
Arduinos:
http://www.youtube.com/watch?v=fCxzA9_kg6s
notes:
1) Instructable user fgastald posted the following note. This library code change seemed to help him and some
others with stability issues. Most people do not experience these issues but you may want to make the following
changes if you have vibration in your final design:
"For those who are experiencing some MPU6050 issues (weird behavior.....motor that suddenly goes to 100%.....)
i suggest this : Go to the library file MPU6050_6Axis_MotionApps20.h find the line 0x02, 0x16, 0x02, 0x00, 0x01 //
D_0_22 inv_set_fifo_rate Modify the last number (0x01) to something higher, i'm using 0x02 right now and it works
fine."
2) There is a bug in the code that will show up if you hit and release the deadman switch about 250 times. User
rtreffkorn reported this and suggested the following solution. I have not tested it but it sounds reasonable.
Download
https://www.instructables.com/ORIG/FP1/2OGZ/HSJAQD5L/FP12OGZHSJAQD5L.zip
…
The following are step by step instructions of how I built this Segway clone. You may decide to copy this exactly or
just use this for inspiration in your own variation.
This project includes cutting, drilling and soldering. Please wear safety gear and be careful.
Riding on a 2 wheel device that is inherently unstable is dangerous. You will fall off it and crash into
things. You are responsible for your own safety. Wear protective gear.
The real Segway device can be dangerous even though it has safety shutoffs and error detection.
This Segway clone has NO safety detection or elegant shutdown. Ride at your own risk.
This Segway corporation video clip shows some of the dangers riding the real Segway device may
have. I found it useful to watch before riding this Segway clone: http://www.segway.com/flash/video/
safetyvideo.php
Putting your fingers inside a chain and gear drive while the motor is running will remove your
fingers.
Lead Acid batteries should be recycled and not thrown in the trash.
We'll start this by cutting our plywood base. I used Optional: Use a coffee can or something with around
birch plywood. Any 3/4" plywood piece that can finish a 3" radius to mark curves on the corners. See video.
to 29" by 17 1/4" will do. I cut the piece on a table- A compass set to 3" will work as well. Cut the corners
saw. If you do this, use eye protection and watch your with a jigsaw or a coping hand saw.
hands.
Optional: Sand and then apply iron on edge tape to
You can use a hand saw as well. Accuracy in cutting the edges.
is not critical but if you applying plywood edge tape, it
needs to be smooth. Optional: Sand top and bottom of board.
NOTE: this step is not shown in the how to make video clip. Sorry. See plans and read this text.
Get the four 8" x 8" x 2" angle brackets. Two of them will be outside brackets. Two of them will be inside
brackets. See the .pdf file of the plans for a drawing of the brackets.
tips:
When drilling into metal, it's better to use a drill press if you have access to one. It goes faster and
the hole will be straighter.
When drilling into metal, it helps to use a lubricant between the metal and the drill bit. The lubricant
takes the heat away from the hole. WD-40 is a great lubricant. Don't run the drill bit too fast. Stop
and let the hole cool off occasionally.
Grab the 8x8x8 brackets, wheels, chain, 1/4-20 x 1-1/4 in. Zinc-Plated Hex Flange Bolts, nuts and washers.
Measure 4.5" in from an edge and mark a line. This will be the outer line that the bracket will rest on.
See drawing.
Place brackets on board bottom as shown in drawing, pictures and video.
Mark 4 1/4" holes per bracket with a pencil. See video.
Remove brackets and punch center of each hole lightly. This is to center the drill bit.
Drill holes with a 1/4" drill bit.
Remove brake assemblies from the wheels if they are on still. See picture above.
Attach brackets with wheels and chain to board with (16) 1/4-20 x 1-1/4 in. Zinc-Plated Hex Flange
Bolts, nuts and washers.
The motor has a bracket attached to it with 4 pre-threaded metric screw holes.
Set motor up so chain is straight and motor gear is perpendicular to the wheel brackets.
Pull gently on motor away from the wheels and mark the 4 holes.
Note that you may want to use a short piece of pencil lead to mark the motor holes.
Repeat for the other motor.
Punch the 8 holes and drill with a 7/32" drill bit.
Insert a washer and an M6 1.0x30mm bolt into each hole and tighten it.
Find an extension cord to cannibalize or use speaker wire for this step.
Find an extension cord to cannibalize or use speaker wire for this step.
----------------------------------------------------------------------------------------------------------------------------
UPDATE 12/24/2014: There is a separate Instructable here to strengthen the Segway Clone PVC to Wood junctio
n. You may want to reference that to modify your design. A few of the parts will change.
----------------------------------------------------------------------------------------------------------------------------
The 1-1/2 in. Galvanized Floor Flange is used to connect the PVC handle bar assembly.
Mark the center line of the 29" long side of the board.
Center the Floor Flange in this line about 1/4" away from the edge of the board. see pics, drawing
and video.
Mark all 5 holes.
Drill 4 1/4" holes for the screws.
Drill 1 1 1/8" hole (using a spade bit) for the wires to pass through this 1-1/2 in. Galvanized Floor
Flange.
Install Four 1/4" 20 x 1-1/2 in. Flat Head Phillips Machine Screws with washers and nuts.
Get the circular "deadman" switch and the 2 rocker type switches. You should hold these switches on the dry fit to
see where you want them. The measurements I give here are for what I did. Get switches to fit in this step. We'll
add the wires later.
You may want to practice the following rocker switch hole cutting on scrap PVC first. Also, watch the vid.
If you are using Cat5 cable, you can "harvest" or remove the wire pairs like this.
Strip the end of the cable to remove the outer plastic insulation.
Put the 8 wires in a vice.
Go to the other end and pull on the insulation.
Go back to the beginning of the cable near the vice and slowly pull the insulation down.
It will come off a little at a time. See video.
This step is optional but recommended so the handle bars don't twist while you are riding.
Take the epoxy tubes. Squeeze out about 3/4" of each the resin and hardener on a piece of scrap
paper.
Mix the 2 gels together until its a consistent dark grey color.
Apply the mixture to the white PVC threads of the PVC 1.5" to 1.25" reducing male adapter.
Screw this PVC 1.5" to 1.25" reducing male adapter into the Floor Flange on the board. Hand
tighten.
Wait 10 minutes for the epoxy to dry.
Get the PVC Cleaner and Glue. An alternative to PVC glue is to use epoxy. You are working around the snaked
wires so lay it out on a table.
Do it in this order:
End caps
Handles to Tee. (watch the switch positions!)
Tee to main pipe.
Main pipe to Reducer PVC (floor flange) For this last step. Make sure the Segway board is lying flat
on the table. Quickly step back and look at the handle bar assembly to make sure you twist them
parallel to the table while the glue has not dried.
Grab the bi-color LED and the 300ohm resistor. Watch the video.
Trim the LED center conductor.
Trim and solder on the resistor to the LED center conductor.
Solder an 8" long piece of 3 conductor wire cable to the LED assembly.
Insulate all wires with electrical tape.
Drill a 3/32" hole in the project box.
Insert the LED into the hole.
Hot glue or epoxy it in.
Get the 3pin charging connector and circular rocker power switch. see video.
Drill a 5/8" hole with a spade bit in the end of the project box.
Insert the 3 pin charge connector and put on lock nut.
Drill a 13/16" hole with a spade bit centered in the top of the project box for the power switch.
Press fit switch in.
Optional: Add a hole for USB access to the Arduino. You can see white electrical tape covering mine in the pic
above.
Place the Arduino with shield in the box aligned with the side away from the connector.
Mark the USB connector position on the inside of the box.
Transfer the center of the marks to the outside of the box.
Use a large drill bit to make a hole for the USB.
Try to connect a USB cable to the Arduino.
Trim to fit using a Dremel tool or file.
Get the 1/4" wire tacks and a short piece of extension cord.
Flip over the segway on a few 2x4's or a small bucket so you can work on the bottom.
Tack down wires that are loose by hammering in the small tacks.
Snake the previously crimped battery cables through the battery holes.
Measure and tack the battery cables to arrive under the Project box. Strip ends.
Make a small (8") piece of extension cord cable to pass through hole into project enclosure. Strip all
ends.
Twist together the batteries in "series" per the schematic under the Project box location.
Twist in the connector cable per schematic.
Add in short 8" cable per schematic.
Secure with 3 wire nuts or just solder and electrical tape.
IMPORTANT NOTE:
This is from the Dimension Engineering web .pdf for the Saber controller :
"Warning! Be very careful to wire and plug in the battery and connector correctly.
Connecting the battery backwards will destroy the Sabertooth and will void the warranty."
IMPORTANT NOTE:
This is from the Dimension Engineering web .pdf for the Saber controller :
"Warning! Be very careful to wire and plug in the battery and connector correctly.
Connecting the battery backwards will destroy the Sabertooth and will void the warranty."
Get the motor driver board, the Arduino and the Arduino shield.
Check Saber dip switches match the picture for 9600 baud. This is to match the serial
communication rate set in the Arduino code for communication between the Arduino and the Saber.
This is the Saber 2x12 Data sheet for your reference: http://www.dimensionengineering.com/product
s/sabertooth2x12
At this point, you should be ready to test out your Segway Clone!
I would recommend setting the board up on a bucket so the wheels CAN'T touch the ground.
Turn on the power switch. Wait 8 seconds.
Hold the deadman switch down and move the board forward and backwards.
You should see the wheels spin in each direction.
If you see the red Error LED on the Saber flashing and the motors start to shake, you have low
battery voltage. You either need to charge your batteries OR replace them because they cant hold a
full charge anymore.
CONGRATS!
All wiring is as short as possibleas shown in this Instructable. Long wires will get noise on them
from the motors and the serial communication will fail. ALL WIRES MUST BE TWISTED AND
KEPT VERY SHORT!!
The I2C wires should be twisted and the power/ground wire should be in the twist.
The resistors shown in the schematic have been added.
The MPU6050 Accel/Gyro is installed and oriented as shown in the Instructable.
The tilt switch is for minor comfort adjustments. Don't use it for the tuning. Just try tilting the board
back and forth while the board is balanced on a bucket or stool.
Make sure to wait at least 5 seconds after power up for the MPU6050 to internally calibrate.
Make sure your batteries are fresh. Each battery should measure at least 12V when not under load.
If not, replace your batteries.
If you are up on a bucket, to avoid holding the deadman switch, set this to a 1:
To just look at the serial monitor and not have the motors running, set this to a 1:
recompile.
initializing DMP...
Enabling DMP...
NOTE:
If you turn on DEBUG_ENABLE_PRINTING and see a message that says: "1024 mpuIntStatus: 19FIFO
overflow!", don't worry about it. It is caused by the fact that printing out messages is a relatively slow task for the
Arduino processor. While this printing is occurring, the control loop which is trying to pull accell/gyro data from the
MPU6050 cant keep up. Eventually, the FIFO holding this data in the MPU6050 has too much data or overflows.
The FIFO will recover. When you are done with debug, disable DEBUG_ENABLE_PRINTING flag.
Oscilloscope:
if you want to observe the "loop time" of the Arduino code, you can use an oscilloscope to do this. It should be
Rideable Segway Clone - Low Cost and Easy Build: Page 32
around 10Hz or 10 times per second.
If the board powers up and wants to sit at a strange angle, you can use the tilt switch to tweak it OR, you can
make a code change to permanently tweak it:
Look for this line in the code and modify the 80 number to whatever you want:
// Sensor tilt number below is Determined experimentally. Bigger is more tilted forward. It needs to change if you
adjust ANGLE_GAIN. x_accdeg = (float)((SG_filter_result - (80 + balancetrim)) * (1.0));
If your chain is coming off or it's loosened up, you can add chain tensioning blocks as shown in the above pics.
Cut out a pice of 2" x 4" plywood.
Drill a 1/4" hole 1 1/8" from one end.
Drill a 13/16" hole 1 3/8" from the other end.
Press fit a 2 1/4" piece of 1/2" PVC into the larger hole.
Secure the other hole with a 1/4" nut, washer and bolt to each bracket as shown in the picture.
Batteries:
The 12V sealed lead acid batteries used in this project were ONLY chosen because they are very low cost. They
are really made for starting gas motors. They are not the best choice for a long life, deep discharge, rechargeable
battery. They are prone to failure if they are discharged below 20% capacity. They must be charged after use to
keep them from failing. I went through 2 sets of batteries before I learned this.
Some reading on batteries:
http://batteryuniversity.com/learn/article/can_the_lead_acid_battery_compete_in_modern_times
Deep discharge batteries will work better but cost more.
http://auto.howstuffworks.com/question219.htm
Weak Point:
I have found that one weak point of the design is at the interface between the PVC and the board. If you push too
hard on the PVC handle bars let's say in a crash, the PVC at that fulcrum may crack. A design improvement would
be to use a threaded metal pipe coming up from the board. The top threaded metal pipe would join the PVC at the
handlebars. The PVC would have the switches in it.
Motor Controller:
The Dimension Engineering Saber motor controller was one of the most expensive parts of this project. I tried two
cheaper ebay motor controllers using PWM driven by the Arduino. They both failed to work well and so we needed
to use the Saber part. It would be great to find a lower cost alternative to the Saber which is very well designed.
1. Voltage monitor circuit. This would be a pair of resistors set up as a voltage divider. They would
bring the 24V range down to a 5V range and be monitored by an ADC input on the Arduino. If the
voltage dropped below a preset threshold for a certain period of time, the LED would flash at a 2Hz
rate to let you know to recharge the battery.
2. More work to smooth the control algorithm. This Segway clone control is just OK. I think there could
be more refinement to the gain adjustment and steering.
3. Battery research to replace the $32 lead acid batteries with cheap LIPO or LiFePO4.
4. Find cheap encoders and add them to the wheels.
----------------------------------------------------------------------------------------------------------------------------
UPDATE 12/24/2014: There is a separate Instructable here to strengthen the Segway Clone PVC to Wood junctio
n.
I hope you enjoyed this Instructable. This Segway clone could not have been done without the work of others in
the Instructable community.
If you make one of these Segway clones, please add a picture or video clip to the comments!
Hi Ira,
i made the segway with 2x32 sabertooth and 500w motors
i'm still facing a strange issue here:
if wheel are not engaged (no chain) so not much load, everythings is working fine.
When i install the chains (and so engaging wheels), it often start running at 100% (first time
was...panic) .
At the beginning i thought something wrong with sabertooth controller.
From the serial i get that is something wrong with the MPU6050.
Below are some lines when everythings is fine and the last two lines are when it goes crazy.
Any help or suggest will be much appreciate.
ang_X: 105.76 ang_Y: 73.83 ang_Z: 0.68 ang_rate_X: -0.44 ang_rate_Y: 0.00 ang_rate_Z: 0.00
Mot1%: -9 Mot2%: -7 SteerValue: 494.00 Voltage: 25
ang_X: 105.70 ang_Y: 73.90 ang_Z: 0.67 ang_rate_X: -0.44 ang_rate_Y: -0.87 ang_rate_Z: -0.87
Mot1%: -10 Mot2%: -8 SteerValue: 491.00 Voltage: 25
ang_X: 105.72 ang_Y: 73.92 ang_Z: 0.74 ang_rate_X: -0.44 ang_rate_Y: 0.44 ang_rate_Z: 0.44
Mot1%: -9 Mot2%: -7 SteerValue: 491.00 Voltage: 25
ang_X: 105.66 ang_Y: 73.98 ang_Z: 0.73 ang_rate_X: -0.44 ang_rate_Y: -0.44 ang_rate_Z: -0.44
Mot1%: -10 Mot2%: -8 SteerValue: 491.00 Voltage: 25
ang_X: 105.67 ang_Y: 74.00 ang_Z: 0.76 ang_rate_X: -0.44 ang_rate_Y: 0.00 ang_rate_Z: 0.00
Mot1%: -9 Mot2%: -7 SteerValue: 491.00 Voltage: 25
ang_X: 105.62 ang_Y: 74.06 ang_Z: 0.76 ang_rate_X: 0.00 ang_rate_Y: -0.44 ang_rate_Z: -0.44
Mot1%: -10 Mot2%: -8 SteerValue: 491.00 Voltage: 25
ang_X: 105.48 ang_Y: 74.23 ang_Z: 0.84 ang_rate_X: -0.87 ang_rate_Y: 0.87 ang_rate_Z: 0.00
Mot1%: -8 Mot2%: -6 SteerValue: 491.00 Voltage: 25
ang_X: 105.08 ang_Y: 74.61 ang_Z: 0.94 ang_rate_X: -0.87 ang_rate_Y: 0.00 ang_rate_Z: -0.44
Mot1%: -10 Mot2%: -4 SteerValue: 472.00 Voltage: 25
ang_X: 104.97 ang_Y: 74.67 ang_Z: 0.94 ang_rate_X: -0.44 ang_rate_Y: -0.44 ang_rate_Z: -0.44
Mot1%: -12 Mot2%: -4 SteerValue: 466.00 Voltage: 25
ang_X: 105.12 ang_Y: 74.48 ang_Z: 0.96 ang_rate_X: -0.44 ang_rate_Y: -0.87 ang_rate_Z: 0.00
Mot1%: -13 Mot2%: -5 SteerValue: 466.00 Voltage: 25
ang_X: 105.34 ang_Y: 74.22 ang_Z: 1.04 ang_rate_X: -0.44 ang_rate_Y: 0.00 ang_rate_Z: 0.44
Mot1%: -11 Mot2%: -5 SteerValue: 472.00 Voltage: 25
ang_X: 105.42 ang_Y: 74.08 ang_Z: 0.86 ang_rate_X: 0.87 ang_rate_Y: 0.00 ang_rate_Z: 0.00
Mot1%: -10 Mot2%: -6 SteerValue: 488.00 Voltage: 25
ang_X: 105.56 ang_Y: 74.08 ang_Z: 0.77 ang_rate_X: 0.44 ang_rate_Y: -0.44 ang_rate_Z: 0.00
Mot1%: -10 Mot2%: -8 SteerValue: 494.00 Voltage: 25
ang_X: 105.67 ang_Y: 74.04 ang_Z: 0.74 ang_rate_X: 0.00 ang_rate_Y: -0.44 ang_rate_Z: 0.00
Mot1%: -10 Mot2%: -8 SteerValue: 500.00 Voltage: 25
ang_X: 105.69 ang_Y: 74.08 ang_Z: 0.67 ang_rate_X: 0.87 ang_rate_Y: 0.00 ang_rate_Z: 0.00
Mot1%: -9 Mot2%: -9 SteerValue: 509.00 Voltage: 25
ang_X: 105.85 ang_Y: 74.07 ang_Z: 0.52 ang_rate_X: 0.87 ang_rate_Y: -0.44 ang_rate_Z: 0.00
Mot1%: -9 Mot2%: -9 SteerValue: 515.00 Voltage: 25
ang_X: 106.09 ang_Y: 74.02 ang_Z: 0.38 ang_rate_X: 1.31 ang_rate_Y: 0.00 ang_rate_Z: 0.00
Mot1%: -9 Mot2%: -9 SteerValue: 515.00 Voltage: 25
ang_X: 106.28 ang_Y: 74.05 ang_Z: 0.25 ang_rate_X: 0.87 ang_rate_Y: 0.00 ang_rate_Z: 0.00
Rideable Segway Clone - Low Cost and Easy Build: Page 39
Mot1%: -9 Mot2%: -9 SteerValue: 518.00 Voltage: 25
ang_X: 106.29 ang_Y: 74.25 ang_Z: 0.24 ang_rate_X: 0.44 ang_rate_Y: 0.00 ang_rate_Z: 0.00
Mot1%: -9 Mot2%: -9 SteerValue: 521.00 Voltage: 25
ang_X: 135.44 ang_Y: -11.48 ang_Z: -19.31 ang_rate_X: 3687.05 ang_rate_Y: 4037.82
ang_rate_Z: -6800.27 Mot1%: 100 Mot2%: 97 SteerValue: 546.00 Voltage: 24
ang_X: 88.03 ang_Y: 56.05 ang_Z: 22.65 ang_rate_X: -88.79 ang_rate_Y: -7277.88 ang_rate_Z: -
9046.17 Mot1%: -80 Mot2%: -98 SteerValue: 614.00 Voltage: 25
Sir can we get the required output in serial monitor with just the arduino and mpu6050
It looks like it is waiting for an interrupt from the MPU6050. Read the debug section. Send a video
of everything you have if you still cant get it working.
Please search through the instructatble for the error mesage..for example search for FIFO. If you
are still having issues, upload a youtube video. Good luck!
It was an amazing experience making this scooter .. My Scooter is finally working and taking all the
load easily .. Happy About it
It looks great! How about sharing a working Youtube video for us?
We are making segway. In led part the led sometimes glow red or green after switching on the
circuit. And mpu 6050 does not changes the motor speed and deadpan switch is also not working
properly please suggest some solution on it
Dear sir i built my segway following your instruction making sure that the wires are short and
twisted, but i have a problem which i believe is due to my batteries power, my seway balances at
almost 45 degrees so it make impossible to lean forward more because the body will hit the
ground, this happens because ( in my opinion) that im using 12 VOLT 6AH batteries type, so i tried
to play with the code i changed the 80 to 95,it is true that the balanced level have changed but still
not enough, so the next i tried with 100 but the segway goes out of control, please advise,
thanks
Hi Waleed,
That's great that you are building this segway. It sounds like you are really close.
A few questions:
1) Is the accelerometer board level and sitting at the same position as shown in the picture? If not,
the board wont balance.
2) Are you sure your 12V 6AH batteries are fresh and in good condition? If they get worn down,
they will not support much weight. It should still look/feel like it's balancing correctly with no rider
thought.
3) Does the tilt switch help level the board?
Rideable Segway Clone - Low Cost and Easy Build: Page 40
If nothing else works, send us a youtube video of the board, including the electronics and what
happens when it's not working. Good luck!
Hi, how are you? I have made your project but it does not work, it does not turn on or the LED, but
if it comes to the power supply to all the modules ... I need your help
MPU6050 connection successful
Initializing DMP...
Enabling DMP...
Enabling interrupt detection (Arduino external interrupt 0)...
DMP ready! Waiting for first interrupt...
fifoCount: 1024 mpuIntStatus: 19FIFO overflow!
the same happens to me. and i have #define DEBUG_ENABLE_PRINTING 0 //normal
in the code!
please tell me if u know any solution regarding the fifo overflow issue
help me solving this issue please i would be very much thankful to you..
@SafetyfirstS Did you happen to find solution for this problem or found out what was causing this
issue?
HI I.Hart
I need suggestion. I am using 250W brushed motors (MY1016 B) so what sabertooth driver is
better "sabertooth dual 25 A" or "Sabertooth Dual 12A".
Thanks
the 25A version will allow you to get full power to the motors. The 12A version should work too for
demonstration purposes. If you try to go fast or up a hill, the Saber could current limit and vibrate to
let you know it is doing that.
hello I. hart.
I am currently working on my project that is Segway .I follow your instruction of 38 steps and I have
one question can I use sabertooth dual 25 A driver instead of sabertooth 12 A as you used if yes
then is any change need in code or hardware ?
You can use the 25A Saber. I believe that there is no change needed to the code or HW. A number
of people have done it. Search through all the comments. Check the 2 data sheets to be sure.
Sir can i used sabertooth 2X12A Motor Driver for weight around 80 kg or sabertooth 2x25A is
better option.
You should be able to balance with 80kg. I am about 75 kg and it was fine. Good luck with your
project! Post a video when it's working.
Hi Ihart, if you see in image 0, the acelerometer send approximately 0 to motor, in image 1, is when
i tilt back, the motors respond normal, and in image 2, when i tilt forward, the motors going back
and crazy. how can i fix it?
Maybe you can move the angle of your accel/gyro board itself to get it so the 80 number will work
for you?
Hi Bruno, congrats on your build.
Most of the problems people have had with their builds are related to RF noise getting coupled into
the I2C communications from the accelerometer to the Arduino. Follow the debug instructions to
make sure you have a clean system. Then, if you are still having problems, post a video of the
board and system showing the problem.
Hi ihart, I have a question, what happens is that I buy another dual driver of the same v, will there
be problems with the code? is a Pololu Dual VNH5019 Motor Driver Shield for Arduino (ash02a)
tank you, great project.
It might work. The voltage and current handling is fine. You would have to re-write the Arduino
code to talk to this part instead of the Dimension part used in the Instructable. Also, this part uses a
lot of pins on the Arduino. I count 10pins instead of the 2 with the Dimension Saber part. I think you
would need an Arduino Mega to use this part. Good luck!
Hi...ihart.
I liked your design and the way you describe it.
i just followed your instructions to build up mine.
but the problem i am facing is that mine motor 1 is running to its 100% directly no deadman switch
works their. just as soon as the 24v supply is given the motor runs in its 100% and yes i used a
sabertooth 2x32A motor driven rest all is the same.
please suggest me the proper solution ?
thanks.
What have you tried in the debug section? Check your connections vs. the schematics. Check for
the I2C pullups and their value. Make sure wires are short and twisted.
Hi Ira,
I almost gave up the construction, but I think I spent a lot
of time on it, and it would be a shame.
So here's a new question:
I read in the instructable that the geared motors were
sensitive to the back slashs. In addition, the gears generate a free play which must disturb the
proper functioning of
the gyroscope. Also, I intend to remove the gearbox and replace it with a
sprocket and a wheel as you did.
With a sprocket with 11 teeth and a wheel with 66 teeth, the
ratio is 1/6.
Hi James,
That looks great. I would consider replacing at least the bottom of the vertical bar with metal. There
is another instructable I did that shows how to do this. The PVC can (will) snap at the base if you
put a lot of force on it.
14AWG wiring should be fine for all the 24v stuff going to motors, batteries and Saber power.
The twisting of wires is a lesser concern but the motors do occasionally go into high speed without
reason. I'm currently checking my wiring against the schematic to try to spot mistakes.
I made some progress yesterday. Among other things, I made some changes to the wiring. The
way that I originally had the resistors connected on a small breadboard should have worked, but I
changed it to look more like the photos. It seems to have made a difference; I rode farther than
before without issues. I'm not quite ready to declare victory over the electrons, but things are
looking up.
I also replaced the vertical PVC with 3/4" iron pipe, so am no longer worried about pushing on the
handle too hard.
Sounds great. Signal integrity through short and twisted wires is critical for this project with motors
generating lots of noise.
Hi ihart,
I wonder what each switch is intended for. And, We followed you exactly. However, the gyro
sensor doesn't seem to work properly. The motor rotates to the maximum output from start to