Codebuggy - a codebug robot

Posted on 14/09/2015 by mikerr
Modified on: 13/09/2018
Project
Press to mark as completed
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

  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 ...


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

 

 

 

 

 

LikedLike this to see more

Spread the word

Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post