Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Segway NXTway-Gyro self-balancing NXT robot with remote PSP joystick control / NXTway-g

Loading...

Sign in or sign up now!
25,708
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 18, 2009

http://www.techbricks.nl build a NXTway-Gyro (or NXTway-g) Segway self-balancing LEGO NXT Mindstorms robot with Mindsensors remote PSP controller and a Hitechnic gyro sensor with NXC software based on JanB's program. (Segway PT is a two-wheeled electric vehicle invented by Dean Kamen). The bot is able to run over a tilt surface and it is controlled very smooth.
A very small NXC program is keeping the bot upricht by doing the following tasks:
- determine the gyro bias, because every gyro sensor can be influenced by temperature and manufacturing tolerances.
- read out the Sony PSP joystick using the Mindsensors PSP-Nx-v3 controller.
- the body tilt controller prevents the robot from falling over.
- the position controller prevents the robot from driving away.
- the gyro drift compensation allows the robot to balance for long time.
- set the friction compensation.
Ryo Watanabe (NXTway-G), Ramin (Self balancing bot), Yorihisa Yamamoto (NXTway-GS) and Engscope (Jegway) programmed there NXT segway in some kind of C language (RobotC or lejos), but I wanted to run my program in NXC (because it is free!).
If you have a NXT Mindstorms set (9797-1, 8527-1 or 8547-1) and you buy a gyro sensor at Hitechnic you can build this bot. If you want to control it using PS2 joystick, you need of course a Mindsensors PSP controller.
Please check for instructions, software download and more info about the programs: http://www.techbricks.nl/My-NXT-projects/nxt-self-balancing-segway-nxtway-rob...

Link to this comment:

Share to:

Uploader Comments (techbricks)

  • Check my website for the source code and additional information.

  • hello can you send me the code please i have tried to do the same thing but i have some problem. and i dont find a lot of help for robotC IDE

  • @tipso100 Check my web site. My code is written in NXC, you can also find a links to the Ramin segway code (gyro_rk4_v4.c) written in RobotC.

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • what control are you using? : D

  • Hi, which gyro u have employed for balancing???

  • stand still motherfucker, why can't you just stand still?( small time hating)

  • you open a psp2

  • Where can i download the nxc programming software???

    

  • bueno

  • can jou send me the programm please

    i have tried to do this by my self but it dont works so good

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more