With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Hi Adri95,This instructable uses the Saber controller which is very well designed and has internal protection. I tried using PWM at one point in my design but the controllers I used were not able to survive. They both went up in smoke. They couldn't handle the load of the segway. I suggest that you start with the Saber and then if that works, try to replace it (and the code) with your own.
Raspberry Pi Class
Hi,Please read the instructable. This is in there: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.
@fungypro I dont think the Arduino is running out of RAM. It's more likely that the RFI and EMI from the motor is messing up the I2C communication between the Arduino and the MPU6050. If this happens, the Arduino cant read the accel/gyro numbers from the MPU6050. Make sure your connections are good. Soldering is preferred. Make sure your wires are tightly twisted. Make sure you have the proper pullup resistors on the I2C lines. You should also of course check the deadman switch connection to make sure that's not an issue.
Wow Rob! That is the best build yet! Better than the original here. I love the deadman switches you built into the platform. If you have a second, upload the videos to Youtube for sharing. Not everyone can download 200MB files. Congrats!
All purpose flour.
I totally understand! It's always a trade-off on a project as to how much effort to put into it knowing that there are a pile of other projects waiting in queue behind that one. Since you are married, that also comes into play if the spouse has something else in mind that is higher priority... Not that I would know about that.. ;-)
Great project! One quick thing you might do to clean up your storage box front is to add some iron on edge tape. After you cut and iron on 4 pieces, use a box cutter or sharp knife to trim out your 1/4" dado slots. If you were starting from scratch, you could put the edge tape on first and then cut the dados.edge tape (get white birch only):https://www.amazon.com/Cloverdale-78250-Edging-Banding-25-Feet/dp/B000BZ0ZN6
Make a Melting Spoon
Hi,I chose the lift because it was the only quality lift available with IR control at the time. Not sure if they have competitors now.Yes, you can use a cabinet. You'll need to make sure it's wide enough for the TV. You probably need to go custom and not tweak a standard base cab. The top needs to have a piano hinged lid as I did. You want to buy a universal remote that can learn the IR code for the lift so you can do the raising and lowering with one remote as I did.Post a pic if you build something. Good luck!
If you are planning to make a Segway Clone, I recommend that you follow this Instructable with the exact code here. Afterward, If you decide to change the code to use a PID controller, you can use the Arduino library for it or code it yourself using this great reference:http://www.wescottdesign.com/articles/pid/pidWithoutAPhd.pdf
Poul,Please start with some basic Arduino How-to code to learn how to code and use the Arduino GUI. Then come back to this Instructable.You didn't answer this question from 3 months ago:Make sure the pullups are installed and the correct values?
Designing a Supersuit
Superhero Costume Class
Thanks for sharing this method of ironing on a laser printed image to the bare PCB. FYI, I used to make my own PCBs but have recently switched to the newer low cost fast turn PCB houses for mine. I am able to wait a week or 2 for my boards as I write the code.For example, OSH Park (in the USA) will give you three 1" x 2" boards (with text and drilled holes) for $10 (including shipping) in 15 days. It feels like stealing when you get the boards back... ;-)This website is awesome and lets you put in your board characteristics to find the best price/timing for your PCB designs by showing information from 27 different vendors including OSH Park: http://pcbshopper.com/
4 independent switches will work as long as they have spring return. I see the right type of switch here on ebay but it is more expensive than it should be: http://www.ebay.com/itm/NEW-Momentary-on-Off-on-SP...By the way, a potentiometer will not work with this design.
The tilt and steer switches are both push spring type switches. When you push them, they make contact. When you stop pushing them, they break contact.To adjust tilt, just push a few times in the direction you want. Same idea with steering.If the wheels wont move, try the steps in the debug section. Send a detailed video of the problem if it still wont work after you try the debug.Good luck!
Confused. It looks like you are balancing in the mp4. If you want to make it less sensative you can tweak some of the variables at the top of the code.
XenonJohn,Thanks for commenting here and thank you for your work on self balancers! Your designs helped make this one possible. Check out XenonJohn's page for some great instructables.
Hi Max,It sounds like what you are describing might work. I bought the Firgelli lift to avoid that part of the design because I'm not good at it. The purchased lift has the top and bottom senors and IR control built in. The top sensor which is the TV height has a programmable stop which is important unless you make yours go to an exact height or can move the limit switch.Let us know how it works out or make an instructable to share if you have good luck with this!
Hi Poul,pull-ups are the 2 resistors in the design. They pull up the voltage on the I2C bus to reduce switching noise. The ones you are using sound good.Monitor the USB output from the Arduino, as described in the Debug:Step "35: Optional: Debug step."Edit the Arduino program to do this:To enable printing to the serial monitor, set this to a 1:#define DEBUG_ENABLE_PRINTING 0 //normalLoad it into the Arduino.Put the Segway up on a bucket or step. Hook up the USB cable between segway and computer. click on the "serial monitor" pull down in the Arduino menu on your computer. select the 115,200 baud rate in the Arduino menu.turn on the segway and you should see messages flowing out of the arduino to your computer screen.Read the debug section and try to follow it. ...see more »Hi Poul,pull-ups are the 2 resistors in the design. They pull up the voltage on the I2C bus to reduce switching noise. The ones you are using sound good.Monitor the USB output from the Arduino, as described in the Debug:Step "35: Optional: Debug step."Edit the Arduino program to do this:To enable printing to the serial monitor, set this to a 1:#define DEBUG_ENABLE_PRINTING 0 //normalLoad it into the Arduino.Put the Segway up on a bucket or step. Hook up the USB cable between segway and computer. click on the "serial monitor" pull down in the Arduino menu on your computer. select the 115,200 baud rate in the Arduino menu.turn on the segway and you should see messages flowing out of the arduino to your computer screen.Read the debug section and try to follow it. Let us know how it goes.
That looks like a beautiful build. You are having some issue between the Arduino and Acell/gyro board. Did you check the debug section of the Instructable? Make sure the pullups are installed and the correct values? twist wires tighter than you have shown in picture.Monitor USB output with motors not running and make sure that when you tilt the board, the Arduino thinks it's getting the right angles.
Congrats! It looks like a great build. Your .MOV file was upside down for me but you get the idea that it was exciting for the family there. Youtube can flip it if you choose to upload there.re: the deadman switch pressure, did you use the same switch as shown in the instructable? That takes very little pressure to push.
Thanks for sharing these! Looks like a great build with smooth motion.
Thanks for this Jon. I added a note to the Arduino code section of the Instructable with fgastald's code recommendation. Hopefully it will help others with motor issues.Post a video of your build!
Build your own Variable Lab Bench Power Supply
Which MICROCONTROLLER for your ELECTRONIC FASHION?
Head Mouse - Game controller or disability aid
Arduino wireless laser turret
Removing Rust with Citric Acid
Five Dollar Blow Gun with Explosive Darts!
Self-balancing skateboard/segw*y project Arduino Shield
PVC -- It's Great for Inventions
LED Pocket Watch
Dry-Mounting a Scorpion
LASER Maze 2012 - Halloween Haunted House
paper and soda bottle rocket launcher
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.