Mats's blog

Installing MyRobotLab on Raspberry Pi

Mats's picture

Hi

I have seen in the InMoov forum that a few people are starting to use MyRobotLab in Raspberry PI, so I will share what steps I went thru. I'm not going to rewrite guides that already exists, but I will link to the instructions that I have used.

The first step is to get an operating system installed on the Pi. I installed the latest ( Jessie ) Raspbian using this giude: https://www.raspberrypi.org/downloads/raspbian/


Adafruit 16-Channel Servo Driver connected to the Raspberry PI i2c port

Mats's picture

A small video showing the progress with creating a generic i2c interface. Yesterday I created a smalla Java program to test using the i2c interface directly on the Raspbery PI GPOI pins without using the Arduino.

I downloaded latest release of Pi4j and used BlueJ IDE to create the Java test program.

BjueJ has a much smaller footprint than Eclipse or NetBeans and it works well for creating small testprograms and small projects on the PI.


InMoov head chatbot

Mats's picture

 

 

Hi

MRL chatbot in the robot head using Raspberry PI 2 with WiFi, speaker and Arduino Uno mounted in the head. 

Using Arduino, Servo(s), ProgramAB, AcapelaSpeech, WebGUI, MouthControl, ProgramAB, WebKitSpeechRecognition and HtmlFilter services.


Headless head....

Mats's picture

Today I tested using the RemoteAdapter service for the first time. I have a Raspberry PI mounted in the InMoov robot head and an Arduino UNO connected to it. It also has a USB WiFi dongle so that I can communicate with it.

 

I installed MRL in the Raspberry and created a python script.

The script first starts all services that I want to use, like the Arduino and several servos. Then as the last lines I added:

HeadRPI = runtime.createAndStart("HeadRPI","RemoteAdapter")

HeadRPI.startListening()


My modified InMoov head

Mats's picture

Modified InMoov head It now contains 5 servos, a Raspberry PI, an Arduino Uno, a USB soundcard, a sound amplifier and a speaker.It will also contain one Raspberry PI Camera in one of the eyes. Work in progress :-)