PreLab 1 — The Toolchain
KIPR · Botball Explorer
Activity Sections

PreLab 1 · Before Unit 1

The Toolchain

PreLab · Python track — completion checklist

Purpose
Boot the Wombat, connect to it, and run a Python program you typed yourself.
Where This Sits
After PreLab 0, before Lab 1.1. Lab 1.1 assumes all of this already works.
How It Is Assessed
Completion only. Tick boxes and record your robot’s address — there is nothing to write up.
What You Need
Your robot · a charged battery · a computer on the same network · about one session
Before you start: type your PIN in the box at the top of the page. Your teacher gave you this number. When you finish, press Submit & Download to turn in your work and save a copy.

PreLab 1 Get the Robot Listening to You

Completion only again. The point is that by the end of this page your robot has run a program that you typed, and you have written down the numbers you will need every session after this.

Part 1Power up and connect

The Wombat broadcasts a WiFi network to which your computer can connect. First, note the SSID and Password. From your devices WiFi settings, look for a network that matches the SSID, then use the password. If you aren’t sure if something is the letter “O” or the number “0”, it is the number “0.”

How to access the Wombat's About page.
The Wombat's About page.
Connect to Wombat through computer's Wi-Fi settings.

Once your computer is connected, open a browser and type the the address you see on the WiFi line in on the Wombat about page, followed by “:8888.” For example:

IDE address format

This warning is normal

You will probably see something like “no internet connection” or “connected with limited access.” Nothing is wrong. The Wombat is not the internet — it is just a robot. Keep going.

Warning for Windows Users

Windows may try to get you to connect using a PIN. Click Connect using a security key instead, then enter the password as normal.

Connecting on Windows when it tries to use a PIN.
The KIPR Software Suite --- click KISS IDE.
Project Explorer -- Click the + button to the right of "Default User" to create your user folder.

Write these in your notebook as well. You will type them at the start of every session.

Part 2Hardware, software, and what sits between

Python is read line by line rather than compiled ahead of time, but the same rules from C still hold — the machine cannot guess what you meant. Unlike C, indentation is part of the instruction, so incorrect indentation will cause an error.

Part 3Write and run
Every new project starts like this.
"Compilation succeeded" --- it is on the robot.

Make a new project called hello and type this in. Do not paste it — type it.

#!/usr/bin/python3
import os, sys
sys.path.append("/usr/lib")
import _kipr as k

def main():
    print("Ready?")
    print("Go!")

main()

Anatomy of This Program

For now, treat every line except the two lines as boilerplate — standard pieces you copy into every program. Those lines connect Python to the Wombat’s robot commands, mark the part of the program that runs, and start it. You will learn how they work later.

The lines to understand today are print("Ready?") and print("Go!"). print displays the text between the quotation marks in the IDE’s output area. Each print starts a new line after its message, which is why Ready? and Go! appear on separate lines.

An f-string lets you put a value inside a message. Put f before the opening quotation mark and put the value inside curly braces:

print(f"Trial: {1}")

The curly braces are a placeholder for the value inside them, so the output is Trial: 1. An f-string can contain more than one pair of curly braces when you need to insert more than one value.

Part 4Know where your work lives

Shutdown Guide

Select Shutdown.
Confirm when it asks.
Wait for it to finish before the switch.

Do not just flip the switch. Do it in this order:

  • On the Home Screen, press Shutdown.
  • Press Yes to confirm.
  • Wait for it to finish, then flip the power switch off.
  • Unplug the battery — hold the yellow connectors, never the wires.

Sign off

You are ready

Lab 1.1 — Computers Follow Instructions assumes everything on this page. Start there.

When you are finished, press the button to turn in your work and save a copy.

KIPR · Botball Explorer — CS1 + AI Literacy · © KISS Institute for Practical Robotics 1997–2027