2014 Fall Mobot Tutorial Wiki¶
PCB Assembly Instructions¶
- Solder PCA9306. The top of the part should be next to the via or text 'PCA9306' on the PCB.
- Solder resistors. All resistors on the board have values marked.
- 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.
- Install capacitors. All capacitor values are marked on board.
- 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.
- Install switches S1 and S2
- Install USB port on the top of the board
- Install regulator on top of board. heatsink pad should face the bottom of the board. Install heatsink to regulator
- Install power terminal block on top right of board.
- 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
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.
sudo shutdown -h now
sudo shutdown -r now
- Configure Raspi for I2C: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c
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
Detailed video, but specific to a $80 logitech camera (but gives 1080p)
Another option, but did not work:
3. Follow the following tutorial to use the Serial port