Setting Up Your New Base Unit

From YieldTek
Jump to: navigation, search

What you need

Preparing Beaglebone Image

Below are the instructions for preparing the SD card using OSX. If you are using other operating systems check out BeagleBone Image Prep Guides
  • Download the latest Debian image for BeagleBone from the BeagleBone images download page
  • Unpack the image
  • Download PiFiller and run
  • Use PiFille to create a bootable Debian image for your BeagleBone Black
  • Once PiFiller is done insert the sd card into your BeagleBone and power it up

Setup SSH Access

  • If you have any issues connecting to your device in this section go here. Try using google to make sure you don't need to install any drivers for your OS and if all else fails shoot me an email. My contact info is on the main page of the wiki.
  • Connect beaglebone to your dev box using USB cord.
  • SSH into your beaglebone once it has booted. The default ip is This may be as well based on your OS so if you get nothing on the first ip try that. The default credentials are debian:temppwd
  • Change password for debain and root users. If you would like you can also create other users
  • Add ur local SSH key from your dev machine to the beaglebones ~/.ssh/authorized_keys file. If you are unsure how to do this google is your friend.
  • Ensure that the key is working and you can SSH into your beaglebone without a password
  • Edit /etc/ssh_d.conf and ensure that you have disabled remote root login and password logins

Flashing The OS To eMMC

  • For this next step we will need to remove the USB cable from the beaglebone and power the device with a 5v power adapter
  • In order to flash the os image to the eMMC memory you will need to open up /boot/uEnv.txt file and uncomment the following line(only the last line below needs to be uncommented)
   ##enable BBB: eMMC Flasher:
  • After you remove the # from the beggining of the final line above you just need to run the following command to reboot your beaglebone
   sudo reboot now
  • When the BBB comes back up it should start flashing all the lights above the USB port sequentially back and forth. This should continue for around 10 minutes or so
  • When this completes your beaglebone should shutdown, it is now safe to remove the SD card and power back up your beaglebone
  • Your beaglebone should now boot back up normally. The big advantage here is that you may now prepare your SD card to use all of its storage for our dev environment rather than being capped at 4GB when using the SD card to run our OS

Add SD Card To Fstab

add to /etc/fstab
   /dev/mmcblk0p1 /home/debian/repo auto rw 0 0

Connect Wifi

Connect your USB wifi adapter to your BeagleBone and follow the guide for setting up wifi on the beaglebone

Install SQLite

Run the following commands to install SQLite on your beaglebone
   sudo apt-get update
   sudo apt-get install sqlite3

Download Source

   git clone

Sensor Installation

Temperature And Humidity Sensor Install
Fire Sensor

Building And Installing Smart Outlets

Server Installation

HOBloom Server Installation

Client Installation

HOBloom Client Installation


If you run into an issue that is not listed above refer to the Common Issues section of the wiki to see if you can find a resolution there.