loading
21Instructables1,635,766Views411 CommentsUK

Tell us about yourself!

Complete Your Profile

Achievements

100+ Comments Earned a bronze medal
1M+ Views Earned a silver medal
Contest Winner First Prize in the Arduino Contest
Contest Winner First Prize in the Humana Health Challenge
Contest Winner Runner Up in the Superheroes and Supervillains Contest
Contest Winner First Prize in the DIY Audio
Show 4 More »
  • XenonJohn commented on ScitechWA's instructable SciChair (Balancing Electric Chair)3 months ago
    SciChair (Balancing Electric Chair)

    Have you noticed this has now been copied (too) in China?It is one of those hoverboards with a seat stuck on top essentially. Described as self-balancing so the nose wheel is just for starting and "landing" I assume. The levers twist each half of the hoverboard instead of doing it with your feet.

    View Instructable »
  • Rideable Segway Clone - Low Cost and Easy Build

    Hi Ira, great project. I bought an MPU6050 to try out as much cheaper than the IMU's I use. I notice from Jeff Rowberg's site that the Angle_Y value is derived from on-board sensor fusion between the gyro and accel within the 6050 (Kalman filter or something like that). Therefore you do not need to do the sensor fusion with a complementary filter on the Arduino at all, as you have at the moment. I have changed the balancing part of your code so it back calculates a rate of rotational tilting for the D term of the PID, I use Angle_Y for the P term and have an I term too. You then play with the P I and D constants listed at the top plus the overallgain value until it balances. It might work more smoothly as a result as I use a very similar method in my current one wheelers. I have sent yo...see more »Hi Ira, great project. I bought an MPU6050 to try out as much cheaper than the IMU's I use. I notice from Jeff Rowberg's site that the Angle_Y value is derived from on-board sensor fusion between the gyro and accel within the 6050 (Kalman filter or something like that). Therefore you do not need to do the sensor fusion with a complementary filter on the Arduino at all, as you have at the moment. I have changed the balancing part of your code so it back calculates a rate of rotational tilting for the D term of the PID, I use Angle_Y for the P term and have an I term too. You then play with the P I and D constants listed at the top plus the overallgain value until it balances. It might work more smoothly as a result as I use a very similar method in my current one wheelers. I have sent you a PM as can email you the code to try out.Best wishesJohn

    View Instructable »
  • Rideable Segway Clone - Low Cost and Easy Build

    I have built a few self balancers using the Sparkfun Part No. SEN10121 IMU which also connects via I2C. I see some people here having trouble with their IMU not communicating well with the Arduino. Here is just my 2 cents worth but what worked for me was (i) to obtain some flexible thin lengths of coloured insulated wire by extracting them from some 9 core shielded cable (much easier to work with and keep everything neat between IMU and Arduino), (ii) keep these wires between Arduino and IMU really short, (iii) SOLDER the IMU wires to the Arduino rather than using push in pins. As my wires are thin I tin a 2mm uninsulated part at the end then solder that to the underside of the Arduino board where the relevant header pins just slightly poke through. (iv) I choose a common ground pin rat...see more »I have built a few self balancers using the Sparkfun Part No. SEN10121 IMU which also connects via I2C. I see some people here having trouble with their IMU not communicating well with the Arduino. Here is just my 2 cents worth but what worked for me was (i) to obtain some flexible thin lengths of coloured insulated wire by extracting them from some 9 core shielded cable (much easier to work with and keep everything neat between IMU and Arduino), (ii) keep these wires between Arduino and IMU really short, (iii) SOLDER the IMU wires to the Arduino rather than using push in pins. As my wires are thin I tin a 2mm uninsulated part at the end then solder that to the underside of the Arduino board where the relevant header pins just slightly poke through. (iv) I choose a common ground pin rather than using various GND pins on the Arduino (I have several to choose from as I use a Mega). Hope this may help somebody. I am not an engineer but have a huge amount of trial and error / falling-off experience!

    View Instructable »
  • Arduino Self-Balance Controller using DIGITAL IMU, at last!

    The code is not written for the MPU6050. It was written for the specific Sparkfun one described in the Instructable.All the IMU's out there are not the same.

    View Instructable »
  • Easy build self balancing electric skateboard

    Someone on Hackaday has recently worked out how to use an Arduino to control the motor controller within those hoverboard toys. They use an unusual serial protocol. Therefore if I were to make this board now I would use two hoverboard wheels, the motor controller, their battery pack and an arduino with my own IMU.

    View Instructable »