Codebuggy - a codebug robot

 

Recently got a codebug board from the kickstarter.

For those that don't know, codebug is a cheap (£10) board with a 5x5 LED array, 2 buttons and 4 GPIO,

and it's programmed with a visual block based language direct on a web page:

http://www.codebug.co.uk/

 

 

Here I made a very simple codebug rover using 2 continuous servos on an old boe-bot chassis

The servos are powered by 4x AA batteries:

and codebug's 2 GPIO pins are connected to the servo control wires.

 

There's no servo control library, so I'm bitbanging the pins.

A pulse every 19-20ms with the length of the pulse dictating the servo position:

Since they're continuous rotation servos, one extreme postion is clockwise, the other extreme anti-clockwise rotation.

See it in action here:

https://www.youtube.com/watch?v=-UxDK3HH7Ug

 

Source code here:

http://www.codebug.co.uk/explore/codebu ... rvo-rover/

A smaller version, with 9g micro servos and a lipo battery:

Video of the micro bot:

https://www.youtube.com/watch?v=VT_yPAbdI1U

And for fun I just strapped a pager motor onto a bare codebug:

https://vine.co/v/eUhVBgBrebp

 

 

 

 

 


This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/codebuggy-a-codebug-robot

This just made

This just made hackaday:

http://hackaday.com/2015/09/17/theres-a-bug-in-my-robot/

:slight_smile:

Wahey!

I saw this this morning buddy - congratulations!

nice robot siris this

nice robot sir

is this codebug similar to arduino ?