Using Raspberry Pi 3 to allow Pepper Robot to connect to WPA2 Enterprise Network…

Raspberry Pi
This procedure allows you to create a router/AP using a Pi3 that connects to a WPA2 Enterprise network over it's external wireless interface (wlan1) and allows clients to connect through it's wired ethernet (eth0) and internal wireless ethernet (wlan0) to access the internet through the NAT interface. So here are the requirements: Pepper Robot has wireless and wired connections. Wireless connections can be made to AP's using WPA2/PSK (Pre-shared Keys) networks. Wired connections are standard and can be configured with DHCP (plugin to the bot's head). In our scenario we can not use the built in wireless functionality since our campus wide wireless network uses WPA2/Enterprise system (ie you need to supply login credentials, not a pre-shared key). So we opt to use the wired connection The developer needs to…
Read More

Latest Raspbian (2017-07-05-raspbian-jessie) dd: /dev/rdiskX: Invalid argument on OSX and other potential issues with “apt-get” post install

OSX, Raspberry Pi, Tip
So this morning I was trying to install the latest rasbian image onto an uSD card and was getting a strange error when I issued dd. I was using rdisk (BSD raw disk) device to speed up the image writing process (note: I don't think you get this error if you just use /dev/diskX). The dd process would finish and this error would come up:   dd: /dev/rdisk6: Invalid argument 4445+1 records in 4445+0 records out 4660920320 bytes transferred in 133.242184 secs (34980816 bytes/sec) At first I ignored the error and proceeded to boot the Pi, but as soon as I did apt-get update; apt-get upgrade, I would get dpkg errors like: dpkg: unrecoverable fatal error, aborting: files list file for package 'qdbus' is missing final newline E: Sub-process /usr/bin/dpkg…
Read More

Getting the most out of plymouth or how to make raspbian jessie boot with a full splash screen

Raspberry Pi
Assuming you want the fancy splash screen (ie you want to hide the ugly boot messages), add "quiet splash logo.nologo plymouth.ignore-serial-consoles" to the end of the single line in /boot/cmdline.txt file. This enables the splash screen. Now you need to choose one (I like spinfinity), so issue the following command to switch from default (bland grey screen): sudo plymouth-set-default-theme spinfinity There are other themes as well (some don't seem to work properly for me. To find out what's installed and use it in the above command issue: sudo plymouth-set-default-theme -l You might notice that there is a black border on your splash screen. Overscan problem, so disable it by adding (uncommenting) this line to /boot/cmdline.txt disable_overscan=1 To disable console from blanking out add "consoleblank=0" to the end of the single line…
Read More

Designing a six channel 24/7 streaming video player for digital signage

Raspberry Pi
So here are the design goals: Provide atleast 6 channels of streaming video. Allow "hot" switching between streams using a remote control. Allow network to fail and be able to have the stream automatically recover. Allow the Pi to autostart on a particular stream when powered. Be flexible enough to potentially provide more than 6 channels of streaming video. System will be hosted on a read-only Micro-SD card to lessen the chance of long term SD corruption. Here are the assumptions: System is based on Raspberry Pi 2 B+ as a minimum (old Pi 1 and Pi zero have not been tested, but should work). System uses HDMI audio and or analogue audio out from Pi's 3.5mm jack. System is limited to 720p and 1080p output. System has been tested…
Read More