PDA

View Full Version : First Teensy3 on two wheels?



johgum
05-02-2013, 06:58 PM
I just had the first ride on my Teensy 3 based homemade self balancing vehicle. Still some adjustments but I'm getting there :D




431432436433
http://youtu.be/yiXy43Up40Q

sumotoy
05-03-2013, 03:36 AM
:cool: Wow! Always dreamed to have one like this! Unfortunatly I'm too heavy...

bigpilot
05-03-2013, 02:05 PM
That is so cool! Does it work exactly like a Segway?

johgum
05-03-2013, 03:20 PM
Well, I have never tried a real Segway but the pricipal is the same I guess. I have two gyro sensors, two accelerometers and one magnometer. Values are read 500 times per second and calculated 100 times per second in order to power the motors forward or backward.

PaulStoffregen
05-03-2013, 03:57 PM
Wow, awesome build. :)

johgum
05-03-2013, 04:35 PM
I will post a video and a summary of the parts I have used as soon as I get the time

johgum
05-03-2013, 04:53 PM
Added a small video clip

nilrog
05-06-2013, 07:00 AM
Now this would be an awesome winter project to tackle :cool:

Well done! :)

bigpilot
05-06-2013, 07:15 AM
Where did you get the wheeled platform? It seems ready made to turn into a Segway-type vehicle.

johgum
05-06-2013, 09:34 AM
The entire platform is self-built of chipboard and aluminium profiles.
The steering is made of an aluminium pipe with a bicycle handlebar

The electronics are
24V10Ah 8S1P Headway battery pack
2 x 500W geared motors with wheels
2 x 25A Sabertooth motor driver
4 Force Sensitive Resistors (For sensing if someone is riding)
1 potentiometer (For steering)
1 JY-MCU 3208 matrix display with atmega8l (For showing info)
1 Self designed PCB
1 Teensy 3.0
1 10 DOF (MPU6050 based)
1 6 DOF (MPU6050 based)
1 Bluetooth module (For communicating with PC)
1 Piezo element
1 EEprom 24LC256

Headroom
05-06-2013, 11:07 PM
Awsome project!

linuxgeek
05-07-2013, 12:11 AM
Wow, that video really shows how well it works!

rpechler
09-12-2014, 07:12 AM
You did a good job.

I don't understand why you use one 10 DOM and one 6 DOM.
I send you a mail if it is possible to get the source code. I would like to build one for me.
I will use the arduino board as microcontroller. Could you help me to get starting?

Thanks.

johgum
11-17-2014, 10:25 PM
Hi again.

During the winter I will share all my experience of building my homemade Segway, including drawings, comments and woking code examples. Stay tuned to http://teksab.wordpress.com/ if you are interested.

Headroom
11-17-2014, 10:27 PM
Awesome! Really looking forward to it!

Frank B
11-18-2014, 09:11 AM
http://www.youtube.com/watch?v=n-noFwc23y0

This is my little balancing robot, with Arduino-nano. It is i2c-connected to a raspberry. But your segway is way better !

johgum
11-27-2014, 04:06 PM
New post at http://teksab.wordpress.com/.

TheMike
11-29-2014, 03:37 PM
Cool !! Thank you so much for your documentation !

d3v4n5
12-05-2014, 01:52 PM
Hey johgum, just wanted to say really like your build, and looking forward to parts 2 & 3 of your blog installment! Think it's the first time I've seen hub motors used.

Few years ago I made a balancing robot (http://hackaday.com/2010/07/10/try-as-you-might-scooty-wont-fall-over/) using a pic32. Have since moved to the teensy and mpu IMU's, currently working on a tricopter project. And on a tangent, I'm also in the Oslo area, would be interested to know which shop you used? As an american, been collecting tools over the years, but would be great to have a shop available...

God helg!
Daniel

dd6905
01-11-2015, 10:57 PM
The entire platform is self-built of chipboard and aluminium profiles.
The steering is made of an aluminium pipe with a bicycle handlebar

The electronics are
24V10Ah 8S1P Headway battery pack
2 x 500W geared motors with wheels
2 x 25A Sabertooth motor driver
4 Force Sensitive Resistors (For sensing if someone is riding)
1 potentiometer (For steering)
1 JY-MCU 3208 matrix display with atmega8l (For showing info)
1 Self designed PCB
1 Teensy 3.0
1 10 DOF (MPU6050 based)
1 6 DOF (MPU6050 based)
1 Bluetooth module (For communicating with PC)
1 Piezo element
1 EEprom 24LC256


This looks like a very interesting project. Could you tell us how much all the parts cost to build it? any updates. is it useable as a segue replacement?
any more details where to order all the parts? and do you have a link to the code?