OH
About
Our Story
Follow us
Invest
Consultancy
Contact
Buy
Ohbot
Picoh
Accessories
Compare Robots
Resellers
Get Started
Ohbot Kit
Ohbot Assembled
Picoh
Accessories
Technical Notes
Languages
Support
Learn
to program Picoh
to program Ohbot
AI
Robot Work
Share
<- Learn Blocks
Code Snippets
About
It's time for that 'Hello World' moment with your Ohbot! Here are a collection of code snippets you can try, tinker and combine to make Ohbot do new things.
Make Ohbot change its position by a set amount each time a key is pressed.
Make Ohbot move to particular position when a key is pressed.
Repeat a sequence of instructions to make Ohbot look scared.
create a sequence of movements to make Ohbot nod and shake.
Use the random block to make Ohbot blink at random intervals.
Set the speed of Ohbot's movements. Nod to sleep slowly and wake up quickly.
Repeatedly set the position of one of Ohbot's motors to the position of the mouse to turn Ohbot into a puppet.
Make Ohbot's lips move as it speaks by repeatedly setting the positions of the lips to the speech sensor variable.
Make Ohbot react to spoken words.
Make Ohbot recognise and track faces.
Use a variable to make Ohbot become sleepy.
Ask a question and wait for a human to type an answer.
Make Ohbot find a Wikipedia page and read it.
Intersperse speech, smiles and frowns by using a variable.
Make Ohbot broadcast messages between stacks of blocks.
AI
MarkovAI
Test Page
Resources for Ohbot version 1
Code Snippets cards for Ohbot v1
Ohbot v1 example programs
Direct link to the Ohbot version 1 and Ohbot version 2 examples folder
17 Ohbot version 2.1 example programs
Code Snippets cards Ohbot version 2
OH
About
Our Story
Follow us
Invest
Consultancy
Contact
Buy
Ohbot
Picoh
Accessories
Compare Robots
Resellers
Get Started
Ohbot Kit
Ohbot Assembled
Picoh
Accessories
Technical Notes
Languages
Support
Learn
to program Picoh
to program Ohbot
AI
Robot Work
Share