Introduction:
AWind - Arduino window library GitHub - AndreiDegtiarev/AWind: Arduino window library for TFT and OLED displays. Provides simple way of creating GUI for TFT-touch and OLED displays. Chart windows, labels, buttons, editable text boxes, tab controls help to develop complex user interface for Arduino applications
Features:
Consistent window layout handling: it is possible to create dynamic multi-window GUI
Events routing: framework forward events like touch action or sensor events to target window avoiding cumbersome construction with many “ifs”
Sensors: Sensors are treated as special type of events generator objects and they are integrated seamlessly via slim wrappers into AWind framework
Hardware: UTFT and Adafruit GFX compatible displays. Arduiono Mega and DUE boards. ESPxx boards are comming soon
Examples:
TFT
Simple text: demonstrates how text can be edited by use of virtual keyboard
Gauges: demonstrates how to use gauge and button controls
Charts: simple chart is created and dynamically updated
Dialogs: demonstrates how handle nested dialogs in AWind library
Oscilloscope: more complex example where signal is measured on analog pin and plotted on chart window. The parameters of signal acquisition (sample ratio and length) and parameters of chart (Y-Axis scaling) can be adjusted at runtime.
Vacuum pump: This advance example demonstrates how to work with tab controls, timer, how interact with stepper motor, relay and etc.
SensorsMonitor: example is based on my own application to truck temperature, humidity and air pressure from different sources. Results of measurements can be presented in text or in chart from. Sensors in example are working in Demo mode so that real wiring isn’t needed
OLED
OLED DHT: demonstrates how visualize DHT sensor data on OLED display
OLED Oscilloscope: demonstrates how visualize analog signal in form of chart
OLED Smart charger: smart charger for AA NiMH batteries
Installation
TFT via UTFT library
UTFT: UTFT - Rinky-Dink Electronics
UTouch: UTouch - Rinky-Dink Electronics
OLED via Adafruit-GFX-Library
Adafruit-GFX-Library: GitHub - adafruit/Adafruit-GFX-Library: Adafruit GFX graphics core Arduino library, this is the 'core' class that all our other graphics libraries derive from
Adafruit driver for your display. In my case it is SSD1306 display.
AWind libraries
AFrame, ASensor and AWind libraries can be installed from awind_full.zip: Releases · AndreiDegtiarev/AWind · GitHub
You need uncompress the content of awind_full.zip into arduinosketchfolder/libraries/ folder.
Restart the IDE
Any feedback appreciated