How to change the default Raspberry Pi 3 wi-fi settings from command line on a BiBli Robot

Categories Buzz, How to

Wondering how to change a Raspberry Pi to connect to a new wi-fi network?

Login using:

ssh pi@ipaddress
(or simply connect to your HDMI monitor and a USB keyboard)
pw: raspberry

pi@bigboy:/  cd /etc/wpa_supplicant

pi@bigboy/etc/wpa_supplicant $ ls

pi@bigboy:/etc/wpa_supplicant $ sudo nano wpa_supplicant.conf

(edit the file to include the new network ssid and password and reboot)

How to monitor progress when using dd to copy Raspberry Pi operating systems

Categories Raspberry Pi

Creating an ‘image’ or a copy of an operating system can take quite a bit of time. And if you are using the command line to set-up your SD card it can be difficult to tell how much time you have left on the copy.

To view the status of the ‘dd’ command simply open a new window and type:
sudo kill -INFO $(pgrep ^dd)

The should display the time and bytes transferred in your original dd window without stopping the process.

How to install an operating system onto a Raspberry Pi SD card

Categories Buzz

Whether you are installing Linux, Raspbian or BiBli operating systems to your Raspberry Pi’s SD card the process is always the same. It does involve opening up the command line but it’s actually a great way to learn the basics of Linux.

1. The image, or compiled source code is going to be called filename.img. I like to put the image right in my root directory but it typically would be in /Downloads if you found it online.

2. You will first need to make sure the SD card is formatted. We’re not going to get into partitioning however for advanced users you may want to pre-format your SD card into different sizes. For most people simply insert the SD card into your computer using an SD card reader.

Important: This is for advanced users only. Using ‘sudo’ will allow you to completely erase a drive with no warning.

3. You can find the name of your SD card by typing:

sudo diskutil list

4. Your computer should detect it, however you may need to first unmount the disk as it becomes ‘busy’ when you plug it into the reader. This command simply involves typing:

sudo diskutil unmountDisk /dev/disk2

5. Start copying. This is going to take a while and you won’t see any log or response until it’s done. We use ‘dd’ which is a command and it’s pretty easy to rember. The ‘if’ stands for input file and the ‘of’ stands for output file. Your directory, file and disk names may very.

sudo dd if=biblios2.0.img of=/dev/disk2

6. Check the status by opening a new window and running this command.

sudo kill -INFO $(pgrep ^dd)

How to connect Raspberry Pi 3 to external bluetooth speakers

Categories BiBli

The most recent Raspberry Pi 3 and up come with integrated bluetooth. Which is nice. It lowers the cost and power usage and allows you to connect in and out of the Pi via any bluetooth device.

But for the specific instance where you simply want to broadcast sound to an external speaker there are a couple of ways to do it.

If you are running Raspbian (which is what comes standard) then you can likely use integrated bluetooth connection via a variety of sound management apps. But what if you are using your Pi from the Command Line or via a program? How do you manage bluetooth?

An integrated bluetooth connection dashboard allows you to push audio to any nearby headset or speaker, including your on-board BiBli speakers.

I’m not going to fully recap the first method I found which includes the use of the bluetoothctl program which you can run from the command line. Basically in that instance you’d just be running some scanning and pairing commands while you open pairing on the nearby speaker. It might work. I found it frustrating. The issue is that you’re likely going to have some volume management issues unless you get into additional sound configurations which can be reset with HDMI inputs and other scenarios.

None of this would work for our BiBli users so we added a simple bluetooth management tool as part of BiBli OS 2.0.

It allows you to connect your Pi or swarm of Pis to any nearby headset or speakers.

(Note: Order an SD card here and get the rest of the BiBli OS to play with at the same time.)

BiBli Kits: Learning Swarm Robotics via Arduino and Raspberry Pi

Categories BiBli Robotics Kits
Step 1: Build your robot body. Easy to assemble kit.
Step 1: Build your robot body. Easy to assemble kit.

When I was first starting out in robotics I was frustrated by the lack of information on what to do or where to get started. It seemed there were several platforms including Arduino and Raspberry Pi to create basic motor/sensor control or to make a sort of mobile media center. But nothing existed to really do what we needed – at the time it involved autism research and we just needed a mobile social robot.

IMG_20160518_182147495

hardware

There were kits for robots used in FIRST and Lego Mindstorms. But there was not really an actual talking, roaming, learning robot kit. And there definitely wasn’t anything that let makers let alone students have control and creative freedom over concepts like Artificial Intelligence and Swarm Robotics.

Sounds complicated? Not really. Robots are just like any other connected device. The issue is that there really isn’t a dominant, easy-to-use platform for creating a basic mobile social robot. Until BiBli. BiBli was developed for students by students. It’s a simple but powerful robotics platform that transcends STEM. With a fully-functional onboard IoT media center and voice activation as well as autonomous navigation it is an ideal platform to learn hands-on robotics.

There are some steps to learn of course. So we’re breaking it down into 2 kits – a body/drivetrain and a brain.

Robot design has a lot to do with making decisions around function versus power usage and complexity. The BiBli body design uses triangulation and basic physics to deliver an efficient, lightweight and strong BiBli Body.

biblis sign


bibli brain

Here’s the fun part. A complex piece of hardware that drives your BiBli. Simple to install and use it allows you to connect and customize your BiBli brain. Developed by engineers and by more than 500 students, teachers and librarians it’s a simple media center and robotic operating system.

Tools: A computer & Android Device (optional)
Buy Kit

Viewing live video feed via Raspberry Pi

Categories Buzz, How to, Project Log, Raspberry Pi

There are a few different ways to view the video feed from a BiBli. The media centers on BiBli prototypes run on Raspberry Pi which has some built-in video processing capabilities. To view the video feed from any BiBli robot on any device simply enter this into a browser:

http://xxx.xxx.x.1x:5000/video_feed

Where the ‘x’ represents the unique IP address of the Pi.

Streaming to Raspberry Pi video via Linux (raspi-vid) to multiple connected devices

Categories Innovation Team

If you are wondering if it is possible to stream your Raspberry Pi camera to multiple displays the answer is yes. You don’t need the HDMI cables anymore!

In fact there are multiple ways to do this. All you’re doing is streaming video via Linux.

Start by getting your camera working and getting your Pi connected via wi-fi.

We’re not going to say exactly how to approach it but for starters you will need to be publishing the feed and then connecting via the same network using your device and some sort of VNC player. So get everything on the same network and then look up how to publish your camera feed via raspi-vid.

Kudos to Peter for figuring this out.

(Peter is in the 7th grade and part of a special Innovation Team which is helping us to build a robot for the Longmont Library using the ONE platform we’ve been working on.)

 

Streaming to multiple devices via Raspberry Pi
Streaming to multiple devices via Raspberry Pi