PreLab 1 — The Toolchain
KIPR · Botball Explorer
Activity Sections

PreLab 1 · Before Unit 1

The Toolchain

PreLab · C track — completion checklist

Purpose
Boot the Wombat, connect to it, and run a C 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

The IDE turns your C into numbers the Wombat can follow. That step is called compiling, and it is why a single missing semicolon stops everything.

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

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

#include <kipr/wombat.h>

int main()
{
	printf("ready\n");
	return 0;
}

Anatomy of This Program

For now, treat the first and last lines as boilerplate — standard pieces you copy into every program:

  • #include <kipr/wombat.h> makes the Wombat’s robot commands available.
  • int main() and its curly braces mark the part of the program that runs.
  • return 0; tells the controller the program finished normally.

The line to understand today is printf("ready\n");. printf prints a message in the IDE’s output area. The text between the quotation marks is what appears, and \n means start a new line after it.

You can also leave a placeholder inside the message and supply its value after the quotation marks:

printf("Trial: %d\n", 1);

Here %d is a placeholder for a whole number, so the output is Trial: 1. When a message has more than one placeholder, the values after the quotation marks fill them from left to right.

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