Backlinks to BLE in IoT_Course_English Web (Search all webs)
Analogue to Digital (ADC) and Digital to Analogue (DAC) conversion Introduction The ESP32 has two 12 bit SAR (Successive Approximation Register) Analogue to Digital...
A WEB Server and the HTTP Protocol Exercise 1: Write a Hello World WEB Server Write a simplistic WEB server, serving a single WEB page. This server is very similar...
The AXP202 Power System Management driver The axp202 driver is a pure MicroPython driver written by Lewis He found on github: https://github.com/lewisxhe/AXP202 PythonLibrary...
Accelerometer and Gyroscope Introduction Accelerometers measure the acceleration along the 3 geometrical axis, usually in units of g (the gravitational acceleration...
Exercises on dust sensors Exercise 1: The Plantower sensor The Plantower sensor comes with a flat cable with alternating red and black color. I soldered a female...
The driver for BMA423 Triaxial Acceleration Sensor The MicroPython layer in bma423 from was not working because it uses deprecated calls to I2C in MicroPython. However...
The Shinyei PPD42NS sensor This sensor emits a low occupancy time signal where the relative time the signal is in low state is measured. The connections as are follows...
Lecture 1: Basic Python Programming CSC 321: Embedded Sysytem First Semester 2020/2021 Introduction of Lecturers 1 Uli Raich Formally CERN, Geneva, Switzerland...
The TinyML examples written in C The TinyML examples in C , ported to the ESP32 can be found at https://github.com/espressif/tflite micro esp examples/tree/master...
Compiling Micropython Forcing the correct module versions When trying to compile the ESP32 port of MicroPython on an Ubuntu 20.04 system, I see the following error...
Preparing a custom version of MicroPython with TensorFlow Introduction For work with ML algorithms I use the esp32 cam module because it is small, cheap and has...
The ESP32 S3 FN8 CPU board This page shows the hardware connections of the onboard devices provided be the ESP32 S3 FN8 CPU board. First of all, this is an ESP32 S...
The ESP32 CAM module Introduction The ESP32 CAM module is dedicated to camera readout. It provides an ESP32 S CPU a 2 mega pixel OV2640 camera and its interface...
Exercise 9: GPS receiver Introduction Most GPS receivers use a simple serial interface for communication and provide their data in form of NMEA sentences to the host...
The Neo 6M GPS receiver Most GPS receivers use a UART to communicate with their hosts and the Neo 6M is no exception. The ESP32 has 3 hardware UARTs with the following...
Graphical User Interface on the IoT node Introduction The 2.4 ` display has a pixel resolution of 320x240 pixels. It is controlled by an ili9431 display driver and...
GUI programming with LVGL Introduction Very often, the microcontroller part of an IoT project allows user interaction only though the network connection, e.g. through...
The HC SR04 ultrasonic distance meter The emits an ultrasonic sound wave and measures the time it takes to travel to a target and back. Knowing that sound waves travel...
The Arduino hello world example For the Arduino SDK (Software Development Kit) you can install the TensorFlow ESP32 library, which does not only contain the TensorFlowLite...
I2S and sound Introduction In order to play audio files we need: the audio file itself, which we expect to be in uncompressed wav format a file system from...
Infrared remote control Introduction The WeMos D1 mini series of sensor board includes an IR receiver and transmitter. On its back you can define the GPIO...
Internet access Once we have collected data from the sensors, we want to get access to them. This can be accomplished most easily by transferring the data over the...
Introduction The Internet of Things The Internet of Things or IoT for short is one of the major subjects in computer science these days. Micro controllers with Internet...
Lecture 2: LEDs and NeoPixel CSC 321: Embedded Sysytem First Semester 2020/2021 The ESP32 WROVER B MCU CPU Pinout Please note: The pin numbers IOxx on...
LEDs and NeoPixel Introduction The ESP32 has 2 LEDs on board. The first one indicates power while the second one is user programmable. The user programmable built...
LVGL on the T Watch 2020 Introduction Since the t watch 2020 has a rather high resolution screen in combination with a touch panel, it is possible to run Graphical...
MQTT and Cayenne Introduction Cayenne claims to be the world`s first drag and drop IoT builder. It provides a dash board on which the user can set up predefined widgets...
The Magic Wand Example In the Magic Wand example a `magic wand` is used to paint digits into the air. An accelerometer and gyroscope is used to record the movement...
The Magic Wand Example Introduction The magic wand example shows how to detect gestures using an accelerometer. Different types of accelerometers are easily available...
Magnetometer and Compass Introduction Magnetometers measure magnetic field. The electronic devices available are very sensitive, and can measure fields down to the...
Motor exercises Introduction We have 3 types of motors that are used for different purposes and controlled in different ways: DC motor used in continuous movement...
Motors Introduction We have 3 different types of motors in our kit: DC motor: Used for continuous movement in either forward or backward direction and at different...
The Driver for the PCF8563 Real time Clock and Calendar This is a pure MicroPython driver written by Lewis He, which can be found on https://github.com/lewisxhe...
People Detection Introduction In this example we use a pre trained model to find out if a person is in sight of the camera, installed on our esp32 cam board. Before...
Person detection withMicroPython Even though the final goal of this demo is to get images from a camera and to decide on the spot if there is a person in sight, the...
The Plantower PMS5003 The PMS5003 uses a serial interface with a baud rate of 9600 Baud. Here are the pin descriptions from the data sheet: The pinout table for the...
Preparing the PC for Tensorflow Setting up a virtual Python environment The procedure is described in https://www.freecodecamp.org/news/virtualenv with virtualenvwrapper...
Course on Internet of Things Exercises Session 1: Introductory remarks: The scripts we are going to develop during this exercise session do not depend on any system...
Exercise 8: RTC and data logging Introduction The ESP32 has a real time clock implemented on chip. This will however only work as long as the ESP32 is powered. It...
The SHT30 I2C Temperature and Humidity Sensor Introduction The SHT30 is a temperature and humidity sensor that communicates over the I2C bus. Typical accuracy for...
Exercise 10: A TFT Display and the ST7735 display controller Introduction The ST7735 is described in TFT Display on this TWiki. It comes with a big bunch of demo...
The sensors and actuators used during the course MicroPython drivers For many of the devices we will use during the course the drivers are already included in MicroPython...
Using a second Serial Port On the ESP32 UART0 is normally reserved for interactive use with REPL. Sometimes we need a UART to communicate with external devices. Typical...
Seven Segment Display and Keypad The Seven Segment Display and its TM1637 controller There is a nice and simple seven segment display controlled by a TM1637 controller...
The Sharp GP2Y1010AU0F sensor Connections The circuit diagram below is taken from the GP2Y1010AU data sheet. Here is the connection table: GP2Y1010AU0F WeMos...
Solutions to Exercise 2: LEDs Exercise 1: Here is the screen dump of a REPL session switching the builtin LED on and off: Exercise 2: This is the most simple program...
Solutions to Exercise 1: REPL and standard Python programming Exercise 1: Use of REPL The screen shot shows the REPL session Exercise 2: A simple calculator In the...
Solutions to Exercise 9: Real Time Clock and Data Logging Exercise 1: Since connecting to the Internet through WiFi is a very common task, we develop a module doing...
Solutions to exercise 13: Seven Segment display and Keypad The Seven Segment Display and the TM1637 controller chip Exercise 1: The driver and its test program Writing...
Solutions to exercise 10: TFT display Introduction The exercises on the TFT display can be implemented on the 1.4` display with its ST7735 controller or on the...
Solutions to Exercise 4: The I2C Bus and the SHT30 Temperature and Humidity Sensor Exercise 1: After initializing of the I2C bus with from machine import Pin,I2C...
The st7789 lvgl display driver The display driver for the t watch is extremely simple. It provides a frame buffer for lvgl to draw into and it has a flush method to...
Exercise 3: Switches Introduction Switches exist in various incarnations. There are the simple mechanical switches: on/off or push button switches but there are also...
Lecture 3: Switches CSC 321: Embedded Sysytem First Semester 2020/2021 Switches A Switch is a device which is designed to interrupt the current flow of electrons...
The T Watch 2020 sound system The t watch has an integrated loudspeaker which is driven by a PCM Input Class A Audio Power Amplifier. This system allows us to play...
TCS3200 Color Sensor Introduction The TCS3200 color sensor comes on PCBs with slightly different layout: The main difference between these modules is that...
TFT Displays Introduction A wide range of displays is available for use with the Arduino system. For the WeMos D1 mini system I found 3 display boards. Each of them...
Exercise 4: The DHT11 Temperature and Humidity Sensor Introduction The DHT11 is a digital temperature and humidity sensor featuring its own proprietary communication...
The Hardware The CPU card The ESP8266 CPU card has the following pinouts: There are two different ESP32 CPU cards available for the WeMos D1 mini bus. The first card...
Exercise 5: The I2C bus and the SHT30 Temperature and Humidity Sensor Introduction While the DHT11 uses a proprietary protocol the SHT30 make use of a standardized...
The T Watch 2020 hardware devices The LilyGo t watch 2020 is a smart watch, based on the ESP32, which you must program yourself. If you want a fully functional smart...
The weather app Introduction Several weather servers provide weather data and forecasts that can be used by a weather app . Here are the two I had a look into:...
TinyML Introduction Machine learning (ML) algorithms usually work on huge datasets and require an enormous amount of resources. On the other hand many mobile phone...
The tinyML Hello World example How does tinyML hello world work? The program takes a value between 0 and 2 Pi; and outputs the corresponding sine value. Of course...
TinyML on the esp32s3 wroom Introduction The esp32s3 wroom is a very cheap esp32s3 board with 8MB of octal PSRAM and an integrated OV2640 2 MPixel camera. Because...
The ttgo module The ttgo module is again a pure MicroPython module used to initialize the t watch hardware. It contains two classes: Watch Motor and...
Using a second UART On the ESP32 UART0 is normally reserved for interactive use with REPL. Sometimes we need a UART to communicate with external devices. Typical examples...
The virtual world example Introduction The virtual world example uses a TCS3200 color sensor and a HC SR04 ultrasonic distance meter. When a colored paper is placed...
The WEB server When writing a WEB server for your sensors and actuators you have 3 possible options: Write the WEB server yourself from scratch: Basic WEB server...
A WEB Server on the ESP32 A `Hello World!` WEB server Writing a WEB server from scratch is not a trivial task, but then the need of a WEB server is so common that...
The T Watch Graphical User Interface and how to add your own applications and settings Introduction The ` firmware` is developed by Dirk Brosswick. It is a rather...
This is a complete re work of the Embedded systems course, given at the University of Cape Coast in 2017. While the original course was based on the C language we...
Top Menu of IoT Course English Web This topic defines the menu structure of the IoT Course English web, used by the TopMenuSkin. 1 Web`...
Connecting to WiFi Exercise 1: Verify the available access points before the activation of the ESP32 WiFi.Study the documentation on the WLAN class. Configure...
Writing Scripts A file system layout It is not always easy to keep tidy a file system and many students don`t really understand why this is necessary. During your...
Number of topics: 75