When teaching programming you may find yourself in a situation that things can be done on your computer, but you may not want to install programs that help you to learn programming on your computer. However, we have a solution (or several) for you. We will have some fun with hardware for IoT that at the same time can be used to teach you some very elementary skills in programming. However, if you would rather use your computer you certainly can do this too.
We see the following arguments for using IoT hardware:
Note: Ordering from overseas suppliers may take significant time, so make sure to plan ahead. Prices given here are done to provide an estimate, they may vary.
The raspberry PI 3 is a very good development platform. With its base price of $35 it is quite a bargain. You will need some additional components to make sure you can use it. Please be reminded to never connect or power the raspberry with your computers USB port. It draws some significant amperage and we do not want you to destroy your computer. We recommend that you buy a certified power adapter. The price is so cheap that you could even create your own mini cluster as a project. We do not recommend any older versions of Raspberry as they are less powerful and do not contain built-in Bluetooth or WiFi.
Configuration:
Advantages:
Disadvantages:
The ESP8266 has many variants. Some of which are difficult to interface with. However, this does not apply for the ESP8266 NodeMCU. This board is originally flashed with Lua, however it can easily be reflashed with MicroPython. In addition it is often offered as part of a platform to develop a robot car. There are arguably better kits available, but the price of $24 for the entire kit is hard to beat. Unfortunately the version of python, as well as the limited memory make the esp8266 not a full fledged platform for python programming and you will quickly see its limitations. Interfacing with it, however, as an IoT device will gain you a lot of insights.
Configuration:
Optionally you may want to get additional sensors such as wheel Encoders
Advantages:
It is fun to attach sensors to your IoT board. There are many kits ab]vailable and we encourage you to do comparisions. One such kit is
However it does not include a breadboard like other kits. Hence we recommend that you get a breadboard as it makes experimenting easier.
Two models are good. Adafruit has some added features, but may need soldering
Simple sensors can be attached to the boards with cables (that you need to purchase separately). Examples include
Grove sensors have ready-made cables that make them easy to attach to the Raspberry PI. However, they are more expensive. You still need a Raspberry PI. No soldering iron and no breadboards are required.