Jump to content
43oh

Robotics BP v2 Code Dump


Recommended Posts

Just wanted to share a massive code dump that I just uploaded to my github repo.

 

It currently contains hardware PWM generators for controlling Motors and Servos, some untested code for the QEI encoders, and I think has some basic Bluetooth (RN-42) code via UART0 as well.

 

The repo for those that are curious: GitHub.

 

 

My development environment consists of Arch Linux and vim. There are some smaller tweaks I want to make and some snippets of code I want to clean up, but at the moment, I'm focused at getting the functionality of the BoosterPack working first.

 

Oh, and since the BP uses F0 and D7, I have code that unlocks both pins.

Link to post
Share on other sites
  • 2 weeks later...

It's getting even better. I've been working on an I2C ISR, making all of the intractable things on the BP C++ objects (Servos, Motors, etc...), and since I convinced a friend to make a 12 servo crawler, I'll have that code working by the end of the weekend (and possibly a second assembled v2 PCB)

In other news, these BoosterPacks will be getting shown off at the Austin Mini Maker Faire ^_^

Link to post
Share on other sites

It's getting even better. I've been working on an I2C ISR, making all of the intractable things on the BP C++ objects (Servos, Motors, etc...), and since I convinced a friend to make a 12 servo crawler, I'll have that code working by the end of the weekend (and possibly a second assembled v2 PCB)

 

In other news, these BoosterPacks will be getting shown off at the Austin Mini Maker Faire ^_^

Cool!

Also if you have makerFaire pics. Please post them here. I'll give you a forum badge :)

Link to post
Share on other sites
  • 1 month later...

T-minus 5 days!

The code dump has been getting updated as well. At this point, the repo is in a large need of cleaning up, but there's some rather interesting code that makes using peripherals much easier, in my opinion.

 

And as of right now, I plan on having two robots at the AMMF. Whether they're functioning by then is another question...

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...