AFNOG workshop during the AIS conference 2018 in Dakar in the workshop on IoT sensors during the AIS conference 2018 we intended to show how a typical IoT node ac...
Tutorial Description Abstract While most of the tutorials of the 2018 AFNOG conference deal with Internet related problems this particular tutorial on IoT (Inter...
The Internet Of Things (IoT), MQTT and Cayenne Introduction During the AIS conference 2019 in Kampala, Uganda, a 2 day workshop on IoT is held. IoT nodes consist...
A WEB server on the Microcontroller with MicroPython Introduction In the 2019 AFNOG course we have seen how to connect to sensors and actuators through Cayenne a...
AFNOG 2021: 2 lectures on IoT The lecture slides for download: Here the original slides written with LibreOffice. You should be able to open these also with a mod...
AFNOG 2023: 2 lectures on IoT The lecture slides for download: Here the original slides written with LibreOffice. You should be able to open these also with a mo...
The African School of Fundamental Physics Introduction Courses on experimental physics are very scarce in Africa. When talking to African professors, I always he...
A small project In this small project, we want to read the analogue sensor (slider) and display the result on the rgb LED ring. To do this, we will divide the pos...
Abstract IoT, the Internet of things has become kind of a buzz word. Everybody talks about it but there are few people who really know what is hidden behind the a...
Accessing Micro Python on the IoT Node Introduction Once micro Python is running on the node we must be able to upload Python programs on the node and execute th...
Accessing the Raspberry Pi from the PC In order to access the Raspberry Pi the easiest method is ssh. On a Linux Laptop everything is already installed for you an...
Accessing sensors and actuators Session 2 of the AFNOG tutorialon IoT sensorsUli Raich The sensors and actuators For our experiment we need 3 different devices:...
Analogue Signals Up to now, we only treated digital signals in output mode (LED) and in input mode (pushbutton). Sensors often produce analogue signal levels, how...
The BMP180 barometric pressure and temperature sensor This board uses a Bosch BMP180 I2C barometric pressure and temperature sensor. The driver version of the BMP...
Building a simple Weather Station Intoduction Up to now we have only used simlated sensors (the push button for digital signals and the potentiometer for analogu...
The Buzzer shield The Hardware The buzzer shield implements a passive buzzer with frequencies up to 1 kHz 3 kHz. By default it uses data line D5 corresponding ...
Connecting to Cayenne A Micropython class connecting to WiFi and subscribing to the myDevices MQTT broker Since every sensor node needs to first connect to WiFi ...
The Color Sensor Color Sensor Types The color sensor is used to show the paper moving in front of the distance sensor in the right color. Just like in case of th...
Combining the Real World with the Virtual World Before we have seen how to read out the color sensor and and how to determine the distance between the colored pap...
Communicating over MQTT MQTT, the Message Queuing Telemetry Transport protocol is the communication protocol of choice in many IoT applications. It uses a broker ...
Communicating with MicroPython First steps You do not know the Python? No problem! We will go through some of the basics. Python is a very powerful, modern progr...
Creating the virtual world The virtual world we want to create will show the ultra sonic sensor and the paper we hold in front of it. The paper color in the virtu...
A Custom MicroPython binary Introduction We have already seen how to create a custom MicroPython binary when we integrated all the modules needed for the WEB ser...
The DHT11 temperature and humidity sensor The DHT11 is a temperature and humidity sensor using its own private protocol. Fortunately a driver is again available i...
The DS18B20 1 wire temperature sensor The DS18B20 is a high precision temperature sensor using Maxim's 1 wire protocol. Again a driver is already available in the...
Tutorial Description Abstract While most of the tutorials of the 2018 AFNOG conference deal with Internet related problems this particular tutorial on IoT (Inter...
Devices needed The Raspberry Pi The Raspberry Pi features * SoC: Broadcom BCM2837 * CPU: Quad Core ARM Cortex A53, 1.2 GHz * RAM: 1GB LPDDR2 (900 MHz) ...
Integrating the camera driver into MicroPython. Programming the esp32 cam processor The esp32 cam does not come with a serial USB interface as many other ESP32 p...
Exercises #FirstSession First exercise session: A bit of programming Connect your ESP32 to the PC using the micro USB cable and start thonny. Locate the shell w...
First Python programs Introduction It is not possible to go through Python programming in just an hour. We will therefore learn only those features that are abso...
Setting up and IoT Session 2: Micropython andHardware accessUli RaichFormally CERN, Geneva, Switzerland The WeMos D1 mini CPU card ESP8266 cost: 2.21...
Hardware access, the General Purpose Input Output (GPIO) pins. Running the programs on the PC Up to now, all programs we have written can be executed on the ESP3...
Hardware Options Introduction The virtual world example consists of 2 distinct parts * The sensor part and its readout which is implemented on a micro control...
Installing the picoweb server The description of picoweb on its git repository explains it as follows: picoweb is a "micro" web micro framework (thus, "pico frame...
A WEB cam in MicroPython Introduction In order to provide a WEB cam in MicroPython we need * The camera hardware with enough RAM memory to store the camera im...
Introduction to Internet of Things (IoT) Session 1: Introduction to IoT and Python Isaac Armah Mensah University of Cape Coast, Ghana Introduction of Lecturers ...
Sensors for IoT devices … or A virtual world reflecting the real world A 2 day tutorial with hands on exercises held during AFNOG 2018 in Dakar, SénégalUli Raich ...
Using the Atmel AVR Arduino as IoT node Introduction Together with the Raspberry Pi the Arduino is one of the most popular platform in embedded systems. The fami...
The Raspberry Pi as an IoT node Running Cayenne on the Raspberry Pi is certainly the simplest way to get your sensors connected to Cayenne. All you need to do is ...
The LED matrix shield This shield provides a 8x8 led matrix where each led can be individually be switched on and off and its intensity be controlled. The program...
Setting up an IoT Session 3: MQTT and Cayenne Uli RaichFormally CERN, Geneva, Switzerland The Network Layers The WeMos D1 mini has a built in WiFi interfaceIn o...
Python modules and timing Python libraries are arranged as modules, containing a number of functions and/or classes. These modules must be imported before being u...
The OLED shield This shield features a 64x48 pixel OLED display. We would normally not connect it as IoT sensor but it comes it handy to display the state of out ...
Installing the picoweb server The description of picoweb on its git repository explains it as follows: picoweb is a "micro" web micro framework (thus, "pico frame...
Setting up and IoT Session 4: Sending real measurement data to Cayenne and receiving commands and executing them on the hardware Uli Raich formally CERN, Geneva, ...
A simple push button switch The simplest WeMosD1 shield is just features a single push button. It uses the WeMos' ESP8266 D3 pin which corresponds to GPIO 0. Tes...