Sunday, January 20, 2013

Raspberry Pi!

I've joined the world of  Raspberry Pi owners, a cool little 500MHz computer the size of a credit card for $35!

Notes I've accumulated to make this work for me:
  • Install Debian GNU "Rasbian Wheezy" ISO onto a 4GB+ SD card
  • Follow the partition resizing instructions posted here by Simon the Pi man
  • Remember the vi editor key commands, as they are seldom used (like dd is delete line)!
  • Set the screen to align to my 52" Sony Bravia:
    • edit /boot/config.txt and set the overscan_* parameters:
    • left=20; right=22; top=-21; bottom=-16
  • Install some helpful tools, for example Wireshark:
    • sudo apt-get update
    • sudo apt-get install wireshark libpcap-dev
    • sudo cetcap cap_net_raw,cap_net__admin=eip /usr/bin/dumpcap
  • Set static IP for our robot (10.38.16.99), but also DHCP to the internet (/etc/network/interfaces)
  • Install OpenCV and other required tools:
    • sudo apt-get install git build-essential cmake libgtk2.0-dev python-dev python-numpy libavcodec-dev libavformat-dev libswscale-dev
    • mkdir OpenCV
    • cd OpenCV
    • cmake ..\OpenCV-2.4.3
    • make
    • sudo make install
  • Trying to follow along with FRC team 3574's use of OpenCV
  • Question becomes, "what possible frame rate might this deliver?"

      1 comment:

      Dawn said...

      Best thing for such a little investment!