Elrebo Open Source Software

  • onboard_led

    onboard_led

    An ESP-IDF component for Physical Computing Purpose Functionality to use the onboard LED of ESP32 systems. How it is done ESP32 boards normally have an OnBoard LED. Depending on the board this can be a normal LED (e.g. a blue one) or an LED strip, where the color and intensity can be set. Class OnBoardLed…

  • generic_button

    generic_button

    An ESP-IDF component for Physical Computing Purpose Generic Button functionality for ESP32 systems. How it is done For every button you want to use, you have to For every button event you want to detect, you have to When one of the registered events occurs, the corresponding callback function is triggered. Where to find it…

  • deep_sleep

    deep_sleep

    An ESP-IDF component for Physical Computing Purpose Deep Sleep functionality for ESP32 systems. Wakeup sources can be: How it is done A simple Deep Sleep functionality is implemented through class DeepSleep. If wakeup from Deep Sleep shall be triggered by a timer the method EnableTimerWakeup has to be called. If wakeup from Deep Sleep shall…

  • wifi_manager

    wifi_manager

    An ESP-IDF component for Physical Computing Purpose Establish a Wifi connection on an ESP32 system. How it is done Wifi credentials are not given in the program code, they are stored in NVS flash storage. On Wifi startup if there are no credentials stored in NVS flash yet, the Wifi configuration is started. Otherwise the…

  • Physical Computing

    Physical Computing

    How to program an ESP32 system This is an M5 Atom Lite ESP32 processor and an ultrasonic distance sensor to measure the water level in a water can. That’s all the hardware you need, except the programming environment. I did the programming on my MacBook, but you could also use a Windows or Linux computer…

  • Eine Komponenten-Architektur für die ESP32-Programmierung

    Eine Komponenten-Architektur für die ESP32-Programmierung

    Komponenten Wenn man ESP32-SoCs programmiert, dann muss man für das Physical Computing unterschiedliche Peripherie ansteuern um auf externe Zustände reagieren zu können und die Umwelt zu beeinflussen. Das sind einerseits Sensoren, um Daten zu erfassen, wie z.B. Ultraschall-Sensoren um Abstände zu messen, oder IO-Pins, um den Zustand von Buttons zu ermitteln. Andererseits sind das auch…

  • Physical Computing

    Physical Computing

    Links sehen wir einen Ultraschallsensor und rechts einen kleinen Computer, einen M5 Atom Lite. Diese Hardware, zusammen mit einer Stromversorgung über das USB-C-Kabel, ist alles was wir brauchen, um Abstände zu messen und die Messwerte zu verarbeiten. Der M5 Atom Lite ist ein ESP32-Mikroprozessor mit WiFi, einem Button, einer RGB-LED, einem IR-Sender, mehreren IO-Ports und…

  • yaml-powershell-with-pyyaml

    A Powershell module to access YAML files. It is implemented using python3 with the package PyYaml. It can be used from Unix, MacOS and Windows environments. The only prerequisites are: The software is hosted on Github at ChristophOberle/yaml-powershell-with-pyyaml

  • Zugriff auf YAML aus der Powershell

    Zugriff auf YAML aus der Powershell

    Ich mag die Powershell, da sie unter Windows- Unix- und MacOS-Betriebssystemen funktioniert. In meinem letzten Projekt hatte ich das Problem, dass ich auf Konfigurationsdateien im YAML-Format aus der Powershell zugreifen wollte. Das erwies sich als komplizierter, als ich gedacht hatte. So gibt es in der Powershell keinen “eingebauten” Support für YAML-Files. Ich musste mir also…

  • postgres-powershell

    A Powershell Module to access Postgres databases. It is published on GitHub at ChristophOberle/postgres-powershell.

  • Eine Powershell-Funktion für Postgres-SQL-Zugriffe

    Eine Powershell-Funktion für Postgres-SQL-Zugriffe

    Wer Aufgaben am Computer automatisieren will, der braucht Programme. Oder er verwendet eine Skript-Sprache, die auf seinem Computer funktioniert. Je nach Betriebssystem sind das dann unterschiedliche Skript-Sprachen: Will man seine Skripte möglichst flexibel für unterschiedliche Betriebssysteme bereitstellen, dann kann man sie als Powershell-Skripte schreiben, da man die Powershell auf Windows- und Unix-Betriebssystemen installieren kann. Nachdem…

  • dv2gen-example

    This Maven project is an example how to use dv2gen-maven-plugin to describe a DataVault 2.0 data warehouse. It is hosted on GitHub at ChristophOberle/dv2gen-example