First prototype testing in school, it runs pretty slow here as we are not confidence with our 1st riding.....
Modified into a seated version together with my friend, the centre was the seated version prototype. We are happy that it was so stable that we can sit on it and do stuff like a normal chair, or ride around with it.
Next, is to put some fiber glass to make the design more cool....I will try to upload the components used for the big prototype when free...
This comment has been removed by the author.
ReplyDeleteReally Cool!! Can you share with me the code? I'm from Brazil and I'm building a similar project.
ReplyDeleteMy e-mail is marcospassos.com [at] gmail.com.
Please, it will help me a lot!
Thanks in advance,
Marcos
The code you can find it on the blog
DeleteI don't believe the code used in this prototype is the same of http://segwayrobot.blogspot.com/2011/10/small-scale-segway-prototype-running.html. I've already tested this code. Can you share this new code?
DeleteYup, the code is different, but that is because the hardware is different and the size of the device is different too. However, the basic working principle is the same, it is still using complementary filter to correct the error. Well, if you tried to just use the code without changing it, most likely it will not work, because you have to tune the P D value to find what is the best for your case. You may want to share what problem you encountered in your system here, So I can try to help you. Most common problem I encountered was the system keep jerking or highly unstable, in this case you might need to look at your sensor input value, is it too noisy? If yes, do some filtering to get cleaner value or delay the system response..... Most important is to tune the P D value...
DeleteI'm majoring in computer science and completed my project of course is a Segway. I am using the filter complementary but my Segway is not at all stable. He gives very strong jolts. I've zerei all variables PD and was testing all combinations, increasing 0.1 per turn, but it still does not seem stable. In addition, at certain times it starts to play back and forth trying to stabilize, but completely out of control.
ReplyDeleteMy hope was that you make available the code for me to make the comparison because I'm about to give up.
My hardware is: two OSMC boards (http://www.robotpower.com/osmc_info/), two engines MY1018Z Arduino Uno, two lead acid batteries and a sensor 5dof (like http://www.sparkfun.com/products/9268)
The sensor, when stationary, presents a variation of about 5 points.
You can see a video showing the instability here:
I hope you can help me. Thank you for your attention and helpfulness.
Kind regards,
Mark
i have a propplem,finland no can orden ADXL 203 old version, have only ADXL 345 and haqve all different than old sensor.
ReplyDeletehow compile code can use today normal sensor 345. ???? no understand :(
thanks… I’ve been bookmarking them for a while now and just decided to create a post to provide them to others…
ReplyDeleteSegaway
Thanks a lot for this honest review... It really does helps a lot.
ReplyDeleteelectric scooter