Course materials for CCA high-school robotics class, academic year 2021-22.
Module Goal: wirelessly connect your Kano and Raspberry Pi.
Your Pi is a computer on its own. But, it’s a mobile computer. When it is mounted on your robot vehicle then you won’t want it connected to a monitor, keyboard, and mouse. :( Time to learn how to use your Kano to log-in to your Raspberry Pi – wirelessly!
Follow these instructions to get your Kano connected to your Pi. This will allow you to wirelessly view and type on the Pi from your Kano.
Put these on your project mat:
Using the Kano:
Using the Pi:
Using the Kano:
cmd
, then enter
)ssh pi@<put_ip_address_here>
You’re in! This terminal is logged-in to the Pi and you are typing words on the Pi, not the Kano.
Why settle for a terminal view? This can be better!
To get an awesome desktop view, do this:
./run_vncserver.sh
exit
R
like this picture shows<pi_ip_address>:1
Continue
to the security warningOk
Now you’ve got a full desktop running on your Pi! It should look like the pic below. Feel free to click around on the Pi and check it out. Don’t turn off WiFi – you’ll lose your connection to the Kano!
When it comes time to writing computer code on your Pi, you’ll need a code editor. And you have one. It’s called code-oss
. Go find it in the menu on the upper left of the Pi’s screen. Programming -> code-oss
NOTE: Your connection to the Pi will last for as long as the Pi is on. If you turn the Pi off or let it run out of battery power or disconnect the WiFi, the connection will drop. :(
Module Complete