Author: Christoph Oberle
-

av_rmt
—
An ESP-IDF component for Physical Computing Purpose A Remote Controller for a YAMAHA Audio Receiver, a PANASONIC Television, a Pioneer DVD Player and an Apple TV. How it is done This repository contains an ESP-IDF component for an IR transmitter using different remote control protocols. It runs on a ESP32 processor connected to an IR transmitter and is…
-

Easy Operation of TV, AppleTV and Radio (Part I)
—
The Situation In our living room we use a Panasonic TV, a Yamaha Receiver and an AppleTV. In addition there are a Pioneer DVD player and a DUAL record player, but I will concentrate on the TV and receiver here. To watch TV we have to use the IR remote controllers of the TV and…
-

rmt_ir
—
An ESP-IDF component for Physical Computing Purpose Receive and transmit remote control IR signals for ESP32 systems. How it is done This repository contains an ESP-IDF component for an IR transmitter and receiver using different remote control protocols. It runs on any ESP32 processor connected to an IR receiver and/or IR transmitter and is built using the…
-

http_client
—
in OSSAn ESP-IDF component for Physical Computing Purpose An HTTP client for ESP32 systems. This HTTPClient is a copy of the HTTPClient from sachin42/idfcomponents. The only change is that now it is allowed to use method addHeader to set header “Authorization”. The original code can be found in GitHub: https://github.com/sachin42/idfcomponents.git in directory HTTPClient. How it is done…
-

http_config_server
—
in OSSAn ESP-IDF component for Physical Computing Purpose Enter configuration parameters on a web page and store it in NVS flash memory for ESP32 systems. How it is done You need to includehttp_config_server.hpp. After establishing a Wifi connection the HttpConfigServer class can be used. Where to find it http_config_server is published on the ESP Registry at https://components.espressif.com/components/elrebo-de/http_config_server. The…
-

shelly_plug
—
in OSSAn ESP-IDF component for Physical Computing Purpose Operate a Shelly Plug from an ESP32 system. How it is done You need to include shelly_plug.hpp. Then you define an instance of class ShellyPlug. In the constructor of the class you define the IP address of the shelly plug. Now you can use the method Switch to switch it on…
-

hcsr04_sensor
—
in OSSAn ESP-IDF component for Physical Computing Purpose Distance measurement with an HCSR04 sensor for ESP32 systems. How it is done Distance measurement is implemented as a simple C++ class Hcsr04Sensor. It has one public method GetDistance, which returns the measured distance as a float. Where to find it hcsr04_sensor is published on the ESP Registry…
-

generic_nvsflash
—
in OSSAn ESP-IDF component for Physical Computing Purpose Read and write data in non-volatile flash storage on ESP32 systems. This data is still available after the device is restarted. How it is done You need to include generic_nvsflash.hpp. Then you define an instance of class GenericNvsFlash. In the constructor of the class you state the namespace to use and…
-

i2c_master
—
in OSSAn ESP-IDF component for Physical Computing Purpose Define an I2C bus master and add I2C devices for ESP32 systems. How it is done You need to include i2c_master.hpp. Then you define the I2C bus master by defining an instance of class I2cMaster. For every I2C device you define an instance of class I2cDevice and add it to…
-

time_sync
—
in OSSAn ESP-IDF component for Physical Computing Purpose Time synchronization for ESP32 systems. How it is done You need to include time_sync.hpp and provide a function timeTask for the task which synchronizes the time periodically. After establishing a Wifi connection the TimeSync class must be initialized and the timeTask must be started. From then on the time will be synchronized. Where to…
-

onboard_led
—
in OSSAn 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
—
in OSSAn 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…