Pivore

Posted on 05/04/2013 by anseljh
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.

My first robot is a fairly simple 2WD photovore with a Raspberry Pi for the brains. I really liked that I could program a simple robot in my favorite high-level language, Python! I also posted the code on GitHub: https://github.com/anseljh/pivore The Pivore has two photocells mounted up front on some tiny boards I soldered together, which are hooked up to an analog/digital converter (MCP3008). Motors are driven by the usual L293D, with an I/O expander (MCP23008) in between. There is a bumper ...


Pivore

My first robot is a fairly simple 2WD photovore with a Raspberry Pi for the brains. I really liked that I could program a simple robot in my favorite high-level language, Python!

I also posted the code on GitHub: https://github.com/anseljh/pivore

The Pivore has two photocells mounted up front on some tiny boards I soldered together, which are hooked up to an analog/digital converter (MCP3008). Motors are driven by the usual L293D, with an I/O expander (MCP23008) in between. There is a bumper switch in front for when it runs into stuff. Of course there are also some blinky LEDs!

One challenge I ran into is varying the speeds of the two motors. Unfortunately, the Pi has only one PWM output, so I'll have to do something different, like:

I'll figure that out for bot #2!

Roams around looking for light

  • CPU: Raspberry Pi
  • Operating system: Occidentalis v.02
  • Programming language: Python
  • Sensors / input devices: Photoresistors, bumper switches
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