Tag Archives: BBB

USB Web Camera

Watching live images with USB Web camera is an exciting must do when you are building robot. I assume you installed VNC server to allow you to remotely view your complete Windows system. After I learned how to capture images with fswebcam, I decided to go further where my question arose up: “How can I watch live images using the same USB Web camera?”. The answer is in the next video below.

Imagine you are watching live images while your robot is running around your garden.

Sources: Mastering BeagleBone Robotics, Grimmet, R., pp. 71-74 & My Experiences With the Raspberry Pi — Tracking My Learning — My Pi Projects

Linux Commands on BeagleBone Black

On BeagleBone Black, I mainly work with the command shell. For that reason, I will enumerate important commands to type at LXTerminal:

  • shutdown the system: sudo poweroff
  • find a file: sudo find / -name FILENAME
  • shows what’s inside a directory: ls -lah
  • find out what USB device are connected: lsusb
  • get information about connected devices: cat /proc/bus/input/devices
  • get your version of system: lsb release -a
  • find out running processes: top
  • shows disk space: df -h
  • update your package list: sudo apt-get update
  • try to reconfigure specific application that failed to install: sudo dpkg –configure APP_NAME
  • try to fix a specific broken package: sudo apt-get install APP_NAME -f

BleagleBone Black

Unlike the Arduino Uno, the microprocessor on the BBB cannot be replaced. If you damage the microprocessor, you will have to buy a new board! Here are some things that you should never do:

  1. Do not shut the BB down by pulling out the power jack/USB power. You should shut down the board correctly using a software shutdown (e.g., by pressing the power button once) or by holding the power button for about eight seconds for a “hard” power down.
  2. Do not place a powered BBB on metal (e.g., aluminum-finish computers) or on worktops with stray/cut-off wire segments, resistors, etc.
  3. Do not connect circuits that source/sink other than very low currents from/to the P8/P9 headers.
  4. The GPIO pins are 3.3V tolerant (the ADCs are 1.8V tolerant).
  5. Do not connect circuits that apply power to the P8/P9 pins while the BB is not powered on.

Here are two steps that you should always follow:

  1. Carefully check the pin numbers that you are using. There are 46 pins in each header, and it is very easy to plug into header connector 21 instead of 19.
  2. Read the SRM in detail before connecting complex circuits of your own design to the BBB.

If your BBB is dead and it is your fault, then I am afraid that after you perform all of the checks at www.bleagboard.org/support, you will have to purchase a new board.

Source: Exploring BleagleBone, Molloy D., pp. 21-22