Instructables

Step 17: Programming

Picture of Programming
code2.tiff
code3.tiff
code4.tiff
code5.tiff
code6.tiff
code7.tiff
code8.tiff
code9.tiff
Programming RoboBrrd is the fun part! Here, we can tell the RoboBrrd what to do and how to do it! The best way to learn the code is to look at my example on GitHub. It is extensive, yet very clear.

The behaviours of the RoboBrrd are only limited by your imagination. Since there are two LDRs on RoboBrrd, we can create a simple photovore ‘light chasing’ (or hiding) behaviour that is quite fun.

The dances for RoboBrrd usually consist of lots of rotational servo movements, as well as wing flapping.

What are you waiting for? Download the code, open it in Arduino, and begin tinkering :)
 
Remove these adsRemove these ads by Signing Up
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!