This website uses cookies to ensure you get the best experience on our website.
Ohbot
  • OH
    • Educators
    • Makers
  • About
    • Our Robots
    • Our Story
    • Follow Us
    • Contact
  • Shop
    • All Robots
    • Ohbot Assembled
    • Ohbot Kit
    • Picoh
    • OhbotApp2
    • Accessories
    • Resellers
  • Get Started
    • Ohbot Assembled
    • Ohbot Kit
    • Picoh
    • Accessories
    • Technical Notes
    • Languages
    • Support
  • Learn
    • Picoh
    • Ohbot
    • AI
    • Robot Work
    • Share

Ohbot Pi Setup

These instructions explain how to set up Ohbot so that it can be programmed using Python on a Raspberry Pi. They are aimed at anyone that is new to Raspberry Pi and starting with a Pi 3B that has been supplied with a NOOBS SD card. For details on how to create a NOOBs SD card click here. Experienced Pi users may prefer to use the instructions available on GitHub here. 

You will need:
  • Ohbot 2.1 and dual USB cable (supplied)
  • A Raspberry Pi Model 3B 
  • A power supply for the Raspberry Pi
  • An monitor that accepts an HDMI input and HDMI cable
  • NOOBS SD card
  • A 5volt 1amp USB power supply (for Ohbot)
  • USB mouse and keyboard
  • an amplified speaker with a 3.5mm audio plug connection or you can use HDMI sound on your monitor if you have it
Step 1: Connect up
picture showing connections
Picture
Step 2: Install the Raspian operating system on the Pi
Click on the tick box to select Raspian (Recommended) option and click Install
Click on 'Yes' to confirm that all existing data on the SD card will be overwritten
Wait whilst the operating system installs.
When it reports successful installation Click OK
Picture
Step 3: Connect to the web
If you have access to a wireless network click on the wifi network icon and enter the password to connect to the network
Otherwise you will need to ensure your Pi has access to the web before continuing. ​
Step 4: Install the Ohbot software libraries
​
Click on Terminal
At the command prompt in Terminal
Type sudo apt-get install python3-pip
press enter and wait until the command prompt returns
Type sudo pip3 install ohbot
press enter and wait until the command prompt returns
Type sudo pip3 install pyserial
press enter and wait until the command prompt returns
Type sudo apt-get install festival
press enter and wait until the command prompt returns
Type sudo apt-get install python3-lxml
press enter and wait until the command prompt returns
Picture
Step 5: download Ohbot folder from GitHub
​Open a web browser and go to
ttps://github.com/ohbot/ohbot-python/archive/1.1.zip
Once downloaded right click on the zip file and select Show in Folder
Right click on the downloaded file and select Extract all to 
Select a location to save the folder to
Picture
Step 6: Run the example program 
Open Python 3 (IDLE) from the Programming section on the Applications menu
In Python 3 Shell from the File menu click Open
Locate the ohbot folder that was unzipped in step 5 
Open ohbot-python-1.1 folder > examples > helloworldohbot.py
From the Run menu select Run Module
Your robot should move and speak
Picture
Steps 7 on: Writing a program
Open Python 3 (IDLE)
Click File > New File
Save your file as a python script (.py) in a new folder called Ohbot somewhere on your Pi.
Any programs you write will need to import the Ohbot files at the start of your program 
from ohbot import ohbot
There is a list of Ohbot functions to use in your programs here.
Picture
OH
Educators
Makers

About
Our Story
Follow Us
Consultancy
Contact
Shop
All Robots
Ohbot Assembled
Ohbot Kit
Picoh
OhbotApp2
Accessories
Resellers
Get Started
​Ohbot Kit
Ohbot Assembled
Picoh
Accessories
Technical Notes

Languages
Support

Learn
Picoh

Ohbot
AI
Robot Work
Share
Picture
Picture
Picture
Picture
Picture
​Ohbot Ltd. 2A Halliday's Mill, London Road, Chalford, Gloucestershire, GL6 8NR, UK
Copyright © Ohbot Ltd.  All rights reserved.
​Ohbot
® is a registered trademark of Ohbot Ltd.
  • OH
    • Educators
    • Makers
  • About
    • Our Robots
    • Our Story
    • Follow Us
    • Contact
  • Shop
    • All Robots
    • Ohbot Assembled
    • Ohbot Kit
    • Picoh
    • OhbotApp2
    • Accessories
    • Resellers
  • Get Started
    • Ohbot Assembled
    • Ohbot Kit
    • Picoh
    • Accessories
    • Technical Notes
    • Languages
    • Support
  • Learn
    • Picoh
    • Ohbot
    • AI
    • Robot Work
    • Share