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...
Overview This web provides resources for African Network Operators Group (AFNOG) workshops, particularly practical tutorials involving Internet of Things (IoT) de...
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...
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 African School of Fundamental Physics Introduction Courses on experimental physics are very scarce in Africa. When talking to African professors, I always he...
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...
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...
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...
The rgb LED chain The LED employed on the LoLin RGB LED card is very different from the one we used on the CPU card. In fact, the card uses cascadable, addressabl...
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...
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...
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...
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...
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...
The WeMos D1 mini and its sensor and actuator shields Introduction We have seen that the ESP01 can be programmed with micro Python and that there are add on sens...
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...
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...
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...
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...
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...
Bringing up the MicroWebSrv2 server on an ESP32. The source code of MicroWebSrv2 is available here . We get at the code using git: git clone https://github.com/jc...
Hands on exercises for the workshop on IoT Session 1 Introduction to IoT and Python Session 2 Hardware access and Micropython Session 3 MQTT and Cayen...
What is IoT? A talk given during the AFNOG 2019 conference Abstract: Everybody is talking about IoT, the Internet of Things. However, few are the people who deepl...
Communicating over MQTT MQTT, the Message Queuing Telemetry Transport protocol is the communication protocol of choice in many IoT applications. It uses a broker ...
Introduction to Internet of Things (IoT) Session 1: Introduction to IoT and Python Isaac Armah Mensah University of Cape Coast, Ghana Introduction of Lecturers ...
Setting up and IoT Session 2: Micropython andHardware accessUli RaichFormally CERN, Geneva, Switzerland The WeMos D1 mini CPU card ESP8266 cost: 2.21...
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, ...
What is IoT? An IntroductionUli Raich (uli.raich #64;gmail.com)Formally CERN, Geneva, Switzerland What is IoT? Answer: IoT is the Internet of ThingsBut… what is...
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...
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 IoT Node and its Processor As already indicated in the introduction an IoT node consists of an Internet enabled processor with interfaces to external sensor a...
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...
Exercises for session1: Introduction to IoT and Python Exercise 1: * Write a program that calculates and prints the Fibonacci numbers up to 20 iterations. Th...
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 ...
Exercise 1: Go through the tutorial on https://mydevices.com/cayenne/docs/cayenne mqtt api/#cayenne mqtt api manually publishing subscribing in section "Manuall...
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...
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...
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 WS2812B RGB LED shield On this board we have the addressable WS2812B RGB LED. This LED is used in many LED chains. The board uses D2 (GPIO 4) as data line (or...
The SHT30 I2C temperature and humidity sensor The SHT30 is a temperature and humidity sensor interfaced through the I2C protocol. A micro Python driver can be fou...
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...
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...
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 ...
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...
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 ...
The DS1307 Real Time Clock and data logger This shield features a battery backed up Dallas real time clock and an SD card socket which can receive micro SD cards....
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...