An NGO needed to detect when their remote water tanks were running low, so that they could provide more reliable access to drinking water. We designed a sensor system that sends alerts via SMS when the water level drops. Two evenings later, a working prototype was built and on its way to Sierra Leone for testing. It cost less than a Norwegian beer, and the code spans less than 100 lines.
Rapid prototyping such as this water level sensor is made possible by using high-level programming languages on IoT devices. Languages such as Python and Javascript are surprisingly effective for creating simple and even complex programs for microcontrollers and other embedded systems. No flashing required, simply upload your .py or .js files to the controller over USB or WiFi.
Sensors, displays and input devices have become cheap and readily available through mainstream retailers, and drivers for these devices are easy to come by, owing to a vibrant open source community. It's now easy to make your own weather station, garage door opener, mp3 player or a toy for the kids.
In this workshop, participants are given a custom made controller packed with hardware components such as displays, buttons, joysticks and sensors. Drivers and example code for each component will be provided. We will use MicroPython, an easy-to-learn language for developers of all backgrounds. Interactive workshop exercises may include:
MicroPython is a lean and efficient version of Python, rewritten in C and specifically designed for constrained systems. It comes with a complete parser, compiler, virtual machine, runtime system and garbage collector. Uploaded source code is compiled dynamically on the chip itself. MicroPython is quickly gaining popularity in parts of the industry and is already being run on commercial products.
Attendees should have basic programming skills. Beginners will find this workshop an excellent entry point to electronics programming. Embedded software developers will find MicroPython to be a valuable addition to their toolbox. Attendees at all levels will receive guidance from workshop instructors.
Participants should bring their own laptop and a micro USB cable. Consider bringing a personal laptop if your work machine have restricted network policies or USB hosts.
A pre-assembled controller is provided for each participant to take home and is included in the course fee.
Chemical engineer turned software developer. Senior Consultant at Webstep, specializing in cloud architecture and data processing pipelines. Hacks late into the night at Hackheim, Trondheim's premier makerspace. Spreads IoT gospel to the masses through talks and workshops.