AWind
AWind library

Introduction

AWind (arduino window) is Arduino-library that is intended to simplify the use of touch TFT displays for visualization of sensors data in text or chart form. It is also possible to interact with GUI by the use of display touch feature. The library is implemented as general window framework that allows creation of simple GUIs. The GUI is consist of text fields, buttons, chart window and etc. Special keyboard window is implemented to provide runtime possibility of changing text fields. At this moment only TFT with 320x240 resolution on Arduiono Mega is tested, but the library can be adjusted to other display dimensions without big efforts.

Installation

AWind library is build on top of Henning Karlsen libraries (many thanks for that libraries. It have saved pretty much of my time):

You need uncompressed them into arduinosketchfolder/libraries/ folder

The content of awind_full.zip from https://github.com/AndreiDegtiarev/AWind/releases has to be also uncompressed into arduinosketchfolder/libraries/ folder.

Restart the IDE

How to connect TFT-display see the UTFT documentation.

Documentation

API documentation: http://andreidegtiarev.github.io/AWind/

Examples

In the each example folder there is a screen-shots to demonstrate how results should looks like

  • Text: Simple example that demonstrate the basic use of text window + touch interaction
  • Charts: Simple example that demonstrate the basic use of chart window
  • Oscilloscope: Simple Oscilloscope with possibility to adjust (in runtime) sample ratio, voltage level and signal length
  • SensorsMonitor: This example is based on my personal application - monitor temperature in my camper (outside, inside, fridge: beer has to be cold :-) and etc.). The sensors in this example work in DEMO-mode and real sensors connections is not needed
  • Gauges: This example demonstrates how to use gauge and button controls
  • Dialogs: This example demonstrates how handle nested dialogs
  • Tab control: This example demonstrates how to work with tab controls
  • Window selector: This example demonstrates how to control child window visibility