2014 Fall Mobot Tutorial Wiki

PCB Assembly Instructions

  1. Solder PCA9306. The top of the part should be next to the via or text 'PCA9306' on the PCB.
  1. Solder resistors. All resistors on the board have values marked.
  1. Install LEDs. LED1 is a T1 led. BATT LED is a T1 led. PWR is a T1 led. The RGB LED next to LED1 is a common anode LED. make sure the longest lead is in the pad closer to the 200k resistor.
  1. Install capacitors. All capacitor values are marked on board.
  1. Install headers. From a long single row header, snap off portions for all headers except for the 2x13 header on the left side of the board.
  1. Install switches S1 and S2
  1. Install USB port on the top of the board
  1. Install regulator on top of board. heatsink pad should face the bottom of the board. Install heatsink to regulator
  1. Install power terminal block on top right of board.

Raspi setup

  1. Connect the raspberry pi to your computer using a ttl console cable: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-5-using-a-console-cable?view=all

Windows should automatically install the driver. Set the serial port to 115200baud, no parity, 1 stop bit

Username: pi
Password: raspberry

Note regarding shutdown:
Like your computer, it is not good to suddenly switch off power to the raspberry pi. Instead use the shutdown command, then once you lose the ability to type to it via terminal, unplug power.

To shutdown:
sudo shutdown -h now

To restart:
sudo shutdown -r now

  1. Configure Raspi for I2C: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c
  1. To use I2C: https://learn.adafruit.com/using-the-bmp085-with-raspberry-pi?view=all

Note: You need to be connected to the internet to update and install packages. Plugging in an Ethernet cable should do the trick. You can still control the Raspi over serial.

Beaglebone Black Setup

1. Follow instructions on bealgebone getting started to ensure you have the latest Angstrom distribution

2. Follow the following video to capture video from the PSEYE
http://www.adafruit.com/blog/2014/03/18/get-opencv-up-and-running-on-beagleboneblack-txinstruments-beagleboardorg/

Detailed video, but specific to a $80 logitech camera (but gives 1080p)
http://derekmolloy.ie/beaglebone/beaglebone-video-capture-and-image-processing-on-embedded-linux-using-opencv/

Another option, but did not work:
http://mechomaniac.com/node/32

3. Follow the following tutorial to use the Serial port

Previous tutorials

2013 Fall Mobot Tutorial

Materials (2).xlsx - Materials List with prices, quantities and links (12 KB) Spencer Barton, 10/05/2013 02:02 pm