!!!KURZSCHRIFT
#hauptkapitel
Development of Fault Tolerant Software for Embedded Realtime Systems, winter semester 2025/26 

#ul
student group: 1 ME

#ul
Here at "day by day," the content covered is noted chronologically over the course of the semester.
In most cases, links are provided within kramann.info where the respective material is presented.
For your reference, you will also find the "day by day" for the same course from the previous year on kramann.info.
The examination in this subject takes place throughout the semester and consists of a project that is presented at the end of the semester.

#h1
Wednesday, September 24, 2025

#h4
Topics today

#ol
Organizational matters
Why do malfunctions occur in Western technology in the first place -- an anthropological perspective
Introduction to the topic of fault tolerance
Introduction to the terms "fault," "error," and "failure"
Introduction to the term "mitigation"
Examples of "mitigation" in modern technology
Division into groups of two
Scheduling appointments for presentations on fault tolerance patterns
Practical application: Smart Watch
Discussion of possible areas in the Smart Watch where fault tolerance can play a role
Preliminary exercises with Java/Processing
Introduction to the Processing development environment

#ol
Organisatorisches
Warum ergeben sich überhaupt Funktionsstörungen bei der abendländischen Technik -- eine anthropologische Betrachtung
Einführung in das Thema Fehlertoleranz
Einführung der Begriffe "fault", "error" und "failure"
Einführung des Begriffs "mitigation"
Beispiele für "mitigation" in der modernen Technik
Gruppenaufteilung in Zweiergruppen
Terminvereinbarungen für die Präsentationen der Fehlertoleranz Muster
Praktische Anwendung: Smart Watch
Diskussion zu möglichen Bereichen bei der Smart Watch, bei denen Fehlertoleranz eine Rolle spielen kann
Vorübungen mit Java/Processing
Einführung in die Entwicklungsumgebung von Processing

#h4
1. Organizational matters

#ul
The exam takes place throughout the semester and consists of a theoretical presentation, a project assignment, and the presentation of the project assignment at the end of the lecture period.
Students are to work in pairs.
A group list will be circulated for registration.
A fault tolerance pattern will be presented in the theoretical presentation.
In the project work, a smart watch will be programmed and at least two fault tolerance patterns will be applied during implementation.
In the first half of the semester, introductory projects will be carried out together with the smart watch and the basics will be worked out.
From the second half of the semester onwards, work on the projects will mainly take place independently in the groups.
Work on the projects will take place during regular class time.
The final project presentation must represent what has been developed during the semester as seen by the lecturer.
The project part of the exam counts for 80 percent, and the theoretical presentation of a pattern counts for 20 percent of the overall grade.

#ul
Die Prüfung ist semesterbegleitend und besteht aus einer theoretischen Präsentation, einer Projektarbeit und der Präsentation der Projektarbeit am Ende der Vorlesungszeit.
Es soll dazu in Zweiergruppen gearbeitet werden.
Eine Gruppenliste zum Eintragen wird herumgegeben.
In der theoretischen Präsentation wird ein Fehlertoleranz Muster vorgestellt.
In der Projektarbeit wird eine Smart Watch programmiert und mindestens zwei Fehlertoleranz Muster bei der Umsetzung angewendet.
In der ersten Semesterhälfte werden gemeinsam Einführungsprojekte mit der Smart Watch durchgeführt und die Grundlagen erarbeitet.
Ab der zweiten Semesterhälfte finden hauptsächlich die Arbeiten an den Projekten selbstständig in den Gruppen statt.
Die Arbeit an den Projekten erfolgt innerhalb der regulären Unterrichtszeit.
Die abschließende Projektpräsentation muss das repräsentieren, was für den Dozenten sichtbar während des Semesters erarbeitet wurde.
Der Projektteil der Prüfung zählt 80 Prozent, die theoretische Präsentation eines Pattern zählt 20 Prozent der Gesamtnote.

#h4
2. Why do malfunctions occur in Western technology in the first place -- an anthropological perspective

#p
I would like to help you understand what makes Western technology so special.
I would like to work with you to identify the strengths and, if they exist, the fundamental weaknesses of Western technology.
One way to do this is through comparison.
Technical anthropology is a science that compares technologies from different cultures.

#code
Heßler, M., Liggieri, K.: Technikanthropologie: Handbuch für Wissenschaft und Studium, Nomos, Baden-Baden 2020.
Literatur zu Technikanthropologie

#p
As an example, I will use ship navigation in the following.

#br

#aext
https://www.researchgate.net/publication/261594890_Polynesian_Navigation_and_Te_Lapa-_The_Flashing
https://www.researchgate.net/publication/261594890_Polynesian_Navigation_and_Te_Lapa-_The_Flashing
Marianne George (2012) Polynesian Navigation and Te Lapa -- "The Flashing", Time and Mind: The Journal of Archaeology, Consciousness and Culture, 5:2, 135-173, aufgerufen: 22.09.2025, url: https://www.researchgate.net/publication/261594890_Polynesian_Navigation_and_Te_Lapa-_The_Flashing

#br

#p
Example: Boatbuilding in Taumako, documentary film by Michael Tauchert.

#aext
http://mitropico.com/filter/Reihe-Magische-Welten-ZDF/Polynesien-Nomaden-der-Sudsee
http://mitropico.com/filter/Reihe-Magische-Welten-ZDF/Polynesien-Nomaden-der-Sudsee
mitropico.com/filter/Reihe-Magische-Welten-ZDF/Polynesien-Nomaden-der-Sudsee

#p
Visual documentation

#aext
http://vaka.org/
http://vaka.org/
vaka.org -- Taumako Projekt

#p
Navigation with Te Puke Booten -- Dr. Mimi George

#aext
https://www.vaka.org/blog/categories/navigation
https://www.vaka.org/blog/categories/navigation
https://www.vaka.org/blog/categories/navigation

#h5
ÜBUNG

#ul
Discuss the difference between Western technology, with which you are familiar, and the Polynesian art of boat building and navigation.
The Polynesian islands were colonized by various European countries until the 1950s. 
Consider the advantages and disadvantages of the different types of technology, as represented on the one hand by Polynesian navigation and boatbuilding and on the other by their Western counterparts today.
Living with technology: Consider the two types of technology in terms of everyday life. Categories such as happiness and satisfaction are rarely discussed in a technological context, but ultimately, the technologization of the world should have this as its goal. So what is the situation here?


#img
inter.png
Wave interference pattern caused by an island. Quelle:  https://www.researchgate.net/figure/Diagrammatic-representation-of-wave-refraction-patterns-around-an-island-in-the-open_fig7_222699397

#aext
https://www.researchgate.net/publication/222699397_Goal_Navigation_and_Island-Finding_in_Sea_Turtles
https://www.researchgate.net/publication/222699397_Goal_Navigation_and_Island-Finding_in_Sea_Turtles
Kenneth Lohmann und Graeme C Hays:  Goal Navigation and Island-Finding in Sea Turtles, Journal of Experimental Marine Biology and Ecology 356(1-2):83-95 DOI:10.1016/j.jembe.2007.12.017, url: https://www.researchgate.net/publication/222699397_Goal_Navigation_and_Island-Finding_in_Sea_Turtles

#aext
https://de.wikipedia.org/wiki/Polynesische_Navigation#Navigationstechniken
https://de.wikipedia.org/wiki/Polynesische_Navigation#Navigationstechniken
see also: https://de.wikipedia.org/wiki/Polynesische_Navigation#Navigationstechniken

#img
harrison.png
Uhr "H5" von John Harrison, ca. 1770, Quelle: https://de.wikipedia.org/wiki/John_Harrison_(Uhrmacher)

#aext
https://de.wikipedia.org/wiki/John_Harrison_(Uhrmacher)
https://de.wikipedia.org/wiki/John_Harrison_(Uhrmacher)
https://de.wikipedia.org/wiki/John_Harrison_(Uhrmacher)


#h4
3. Introduction to the topic of fault tolerance

#aint
81_FTSD/01_Fehlertoleranz
81_FTSD/01_Fehlertoleranz
81_FTSD/01_Fehlertoleranz

#h4
4. Introduction to the terms "fault," "error," and "failure"

#h5
Exercise

#ol
Describe the concepts of "fault", "error" and "failure".

#h4
5. Introduction to the term "mitigation"

#h4
6. Examples of "mitigation" in modern technology

#h5
Exercise

#ol
Group exercise: Find examples of where modern technology automatically mitigates the effects of errors that occur.

#h4
7. Division into groups of two

#h4
8. Scheduling appointments for presentations on fault tolerance patterns

#h4
9. Practical application: Smart Watch

#img
watch1.png
T-Watch 2020 V3 from Lilygo.


#ul
We will be working with a T-Watch 2020 V3.
This will be done within the Arduino development environment.

#p
These are peripherals that can be controlled by programming on the watch:

#ol
Display
Touch
IMU (Inertia Measurement Unit)
RTC (Real Time Clock)
WiFi
Bluetooth
Button
Vibration
Mikrophone
Loudspeaker

#aext
https://youtu.be/xQJAm8CVC_4
https://youtu.be/xQJAm8CVC_4
Programming examples: https://youtu.be/xQJAm8CVC_4

#aext
https://youtu.be/rJJumsD5vB8
https://youtu.be/rJJumsD5vB8
T-WATCH send Acceleration to Laptop via WiFi: https://youtu.be/rJJumsD5vB8

#br

#ul
So you have a whole list of components that only make sense as a whole when they are linked together in some way by software.
That is exactly what we will be dealing with: linking the internal peripherals of an embedded system together using software to form a useful whole.

#cite
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke

#br

#p
...in diesem Sinne: 

#ol
How could a smartwatch help support your life on this campus?
Which of the internal peripherals listed above would be used in the application you have proposed?
Which externally available infrastructure would be used by your newly created system?
What disruptions could occur during the interaction of the smartwatch with its environment and the surrounding infrastructure?
What measures could be taken to minimize the impact of the identified potential disruptions? 

#p
Corresponding links, see:

#br

#aext
https://lilygo.cc/products/t-watch-2020-v3
https://lilygo.cc/products/t-watch-2020-v3
Purchase from Lilygo: https://lilygo.cc/products/t-watch-2020-v3

#br

#aext
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library
TTGO_TWatch_Library V1.4.3: https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library

#br

#box
necessary: esp32 Board Library 2.09 (exactly this one!)


#h4
10. Discussion of possible areas in the Smart Watch where fault tolerance can play a role

#h4
11. Preliminary exercises with Java/Processing

#aint
36_Java
36_Java
36_Java

#aint
78_Processing
78_Processing
78_Processing

#br

#aext
https://processing.org/
https://processing.org/
https://processing.org/

#br

#aint
74_EmbSyst/02_Eingebettete_Systeme/03_Android/06_Processing
74_EmbSyst/02_Eingebettete_Systeme/03_Android/06_Processing
74_EmbSyst/02_Eingebettete_Systeme/03_Android/06_Processing

#h4
12. Introduction to the Processing development environment




!!!ENDE

