Raspberry Pi
SET-UP
What you need
- Raspberry Pi A+,B+,2
- USB Power ( for the pi )
- 4gb+ SD card
- Raspian compatible USB WiFi Adaptor
- (Optional) BLE 4 Dongle if you want to use BLE devices like the Light Blue Bean. We used a GHS2 BLE 4.0
- An Octoblu account! app.octoblu.com
Download the Gateblu Image for Raspberry Pi
https://citrix.sharefile.com/d-sa9804f2a1204d4b9
Burn Image to SD Card
For this part you will need at least a 4gb SD card.
Follow these instructions to burn the image.
Configure WiFi (Headless)
- Do not remove your SD card from your computer just yet
- The mounted SD card will show up as "boot" after having burned the image.
- In the volume there is a file called
wifi.conf
open that in a programming text editor like Sublime, note++, or Atom as opposed to a regular text editor. - In the quotations add your wifi
ssid
and passwordpsk
. - Eject the SD card and place it in your Raspberry Pi SD card slot
- BOOT UP your Raspberry Pi!
Claim your Newly Connected Raspberry Pi Gateblu in the Cloud
- Connect to the same WiFi network as your Raspberry Pi
- Log onto app.octoblu.com
- Go to the
Connect
Page - Click
Add Node
- Select
Gateblu
- Click
Already Downloaded
- A drop down will appear with options. Youre Pi will show up as a discoverable device. Select it.
- If you couldn't find your Gateblu's UUID, you can select the claim existing option and find the corresponding credentials in the Pi's boot folder as
meshblu.json
- Give it a name and click
update/save
Claim RPI-Servo from Local Devices
This is a script that boots on your raspberry pi that becomes a claimable Octoblu node that gives you access to
the Raspberry Pi's GPIO. Currently this support digitalWrite and Servo functions. This is a preview version. There will be
a drastically advanced version of this to come. https://github.com/octoblu/meshblu-johnny-five-rpi
- Connect to the same WiFi network as your Raspberry Pi
- Log onto app.octoblu.com
- Go to the
Connect
Page - Click
Add Node
- Select
Generic Device
- From the drop down look for
device:rpi-servo
or 'device:raspberrypi - Select that device
- Name it and then click
update
Same as with the Gateblu, if you cannot find your device's UUID you can check the boot folder on the SD card!
Install Devices to your Gateblu!
You can install device plugins to your Raspberry Pi. For example. If you have a Light Blue Bean and a BLE 4.0 usb adapter you merely need to follow this tutorial, the only diference being that you're using the Raspberry Pi as Gateblu instead of the desktop application.
Updated less than a minute ago