Jegway Rev0

Your Ad Here

The first version of my Jegway is implemented using just the Hitechnic gyroscope.

Here is a video of the device. You can hear Mythbusters, one of my favorite shows on the background.


Your Ad Here

I’m not going to include a lot of documentation for the Rev0 of the Jegway, but I’ll put up code for it. Basically with only a gyroscope, it’s very difficult to have the device stay upright. The drifting of the gyroscope makes the device tilt in one direction constantly and after a certain amount of time, it falls down to it’s doom. The only way (that I can think of) to compensate for the drift is to keep track of your position, and change the compensation depending on how far away you drifted from that position.

Here is the RobotC code. Leave a comment if you have questions.

Enjoy.

2 Responses to Jegway Rev0

  1. Srikanth says:

    Hi,

    I dont know when you published this, but i’ll be happy if you could include documentation on your model because i am working on an NXT segway too

  2. jliu83 says:

    @Srikanth. This was ages ago. Any Lego setup with two wheels on the bottom will work, you’ll just have to tweak the PID values in the software.

    -J

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>