TwoWheeler

XCore Project reviews, ideas, videos and proposals.
Post Reply
User avatar
alfanick
Member
Posts: 12
Joined: Sat Jun 21, 2014 8:01 pm
Contact:

TwoWheeler

Post by alfanick »

Version: 0.1
Status: Alpha
License: Custom Licence
Download: https://github.com/alfanick/2-wheeler-hw

TwoWheeler is Self Balancing Robot implemented using XMOS startKIT platform.
The robot is solving physical problem of inverted pendulum using PID regulator connecting motors with accelerometer. However its hardware design has much more features:

8 core 32-bit microcontroller
bluetooth transceiver
two distance meters
motor driver with current sensing
buck converter designed for use with LiPo battery
battery voltage monitoring
high torque motors with encoders

Video:



User avatar
XMatt
XCore Addict
Posts: 147
Joined: Tue Feb 23, 2010 6:55 pm

Post by XMatt »

Would you be able to put some instructions up how to get all the modules required to build this, cloning the linked project does not build.
User avatar
alfanick
Member
Posts: 12
Joined: Sat Jun 21, 2014 8:01 pm
Contact:

Post by alfanick »

Hey,
use git clone --recursive https://github.com/alfanick/2-wheeler-hw.git to clone repo with dependencies.

Amadeusz
User avatar
XMatt
XCore Addict
Posts: 147
Joined: Tue Feb 23, 2010 6:55 pm

Post by XMatt »

Thanks got it building now, any chance of putting a video up of this running on hardware?
User avatar
alfanick
Member
Posts: 12
Joined: Sat Jun 21, 2014 8:01 pm
Contact:

Post by alfanick »

Not yet - still need to find proper PID coefficients. However I will upload video and pictures ASAP as it's done. Thanks for interest :)
User avatar
XMatt
XCore Addict
Posts: 147
Joined: Tue Feb 23, 2010 6:55 pm

Post by XMatt »

Great thanks, looks like a good project.
User avatar
alfanick
Member
Posts: 12
Joined: Sat Jun 21, 2014 8:01 pm
Contact:

Post by alfanick »

Hello everyone – you can see balancer working in video https://www.youtube.com/watch?v=XeC996w ... e=youtu.be
Post Reply