Skip to content
/ TEACPS Public

Example code for ESP32 / Arduino development for courses at the St. Pölten University of Applied Sciences, Austria

License

Notifications You must be signed in to change notification settings

TEACPS/TEACPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TEACPS – Tangible user interfaces, Electronics, Actors, Components, Physical computing, Sensors

This repository contains examples of courses related to tangible user interfaces, electronics, and physical computing at the St. Pölten University of Applied Sciences in Austria.

TEACPS Logo

ESP32 / Arduino Labs

The following code examples are based on the ESP32 microcontroller and the Arduino framework. They are written in C++ and can be used with the PlatformIO IDE for Visual Studio Code.

The examples are structured in a way that they can be used in a lab setting. Each example contains a README.md file that explains the setup and the code. The examples are designed to be used in a linear fashion, starting with the ESP32Setup example.

  • ESP32Setup – Setting up the ESP32 with PlatformIO for Visual Studio Code
  • BlinkLed – Blinking onboard LED
  • SimpleLed – Lighting up an external LED
  • DigitalLed – Digitally controlled external LED
  • LedFadeDac – Fading an external LED using the digital/analog converter
  • LedFadePwm – Fading an external LED using pulse width modulation
  • SerialOutput – Outputting data to the serial monitor
  • TouchInput – Touch input using capacitive sensing
  • LDR – Reading the brightness using a light-dependent resistor
  • ESPWebServer – Setting up a web server on the ESP32
  • ESP32WebSockets – Transmitting LDR measurements from an ESP32 to a web socket client

Sensor Labs

These additional examples are more high-level and focus on specific sensors. They are also based on the ESP32 microcontroller and the Arduino framework.

License

This repository is licensed under the GPLv3 license. See LICENSE for details.