Difference: TFTDisplay (10 vs. 11)

Revision 112020-07-30 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

TFT Displays

Introduction

Line: 173 to 174
  Both games need additional hardware: a joystick in case of Super Mario and a linear potentiometer in the case of Arkanoid. demo-mario orriginally used a Bluetooth based joystick, which we don't have. I therefore replaced it with the analogue joystick from our sensor kit. Of course the software needed to be adapted correspondingly.
demo-mario arkanoid
Changed:
<
<
img_8026.png  
>
>
img_8026.png img_8030.png
 

GUI elements in nanogui

Line: 189 to 190
 to work with the ST7735 driver. I did not try alevel.py, written for the pyboard and making use of its accelerometer, which is not available on our ESP32 board. The color95.py program showing the meters, was adapted to present temperature and humidity values from SHT30 measurements and I created a "Scale" widget to be used as a voltmeter in conjunction with the ESP32 ADC.Particularly interesting is also the fplot.py library allowing to plot data in cartesian or polar coordinate and which has the facility to take data in real time as they are produced by the sensor. For more details please refer to https://github.com/peterhinch/micropython-nano-gui

Here again some pictures

Added:
>
>
Clock SHT30 meters Voltmeter
img_7982.png img_8016.png img_8025.png
  The clock is Peter's original clock program adapted to the ST7735. The SHT30 meters are meter widgets from nanogui connected to real measurements from the SHT30. Yes, also in Europe we can have Ghanaian temperatures! even though relative humidity is substantially lower.
Changed:
<
<
The voltmeter meter application uses a Scale widget, not part of nanogui. Peter has supplied a superclass DObject (displayable object) from which the Scale widget is derived. The demo connects to the ESP32 ADC to display measured signal levels.
>
>
The voltmeter meter application uses a Scale widget, not part of nanogui. Peter has supplied a superclass DObject (displayable object) from which the Scale widget is derived. The demo connects to the ESP32 ADC to display measured signal levels.
 

Plotting

Peter's nanogui repository also contains a plotting package called fplot. This package allows to produce cartesian and polar plots to be generated. Particularly interesting is a feature that allows to add real time measurements to plots as they come in.

Added:
>
>
Again a few examples:
Cartesian Plot Polar Plot Damped Oscillator
img_7984.png img_7990.png img_8020.png
 -- Uli Raich - 2020-07-04

Comments

Line: 231 to 238
 
META FILEATTACHMENT attachment="img_8020.png" attr="" comment="" date="1596102569" name="img_8020.png" path="img_8020.png" size="209010" user="UliRaich" version="1"
META FILEATTACHMENT attachment="img_8025.png" attr="" comment="" date="1596102570" name="img_8025.png" path="img_8025.png" size="186133" user="UliRaich" version="1"
META FILEATTACHMENT attachment="img_8026.png" attr="" comment="" date="1596102860" name="img_8026.png" path="img_8026.png" size="411956" user="UliRaich" version="1"
Added:
>
>
META FILEATTACHMENT attachment="img_8030.png" attr="" comment="" date="1596108289" name="img_8030.png" path="img_8030.png" size="191715" user="UliRaich" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback