Nowadays
it seems almost obligatory that electronic gadgets have a touch screen
display user-interface.
The
particular display type I have been trying out recently is a 2.8" 240x320 pixel TFT LCD touch panel display
with SPI and using the ILI9341 driver chip. On the back is an SD card
slot. Cost when purchased was just under GBP11.
The display and an ESP32
micro-controller development board, ( with my code uploaded to it ), were mounted on a
prototyping board and connected up. The ESP32 micro-controller has two built-in sensors; a temperature sensor which measures the CPU temperature, and a Hall-Effect sensor which responds to magnetic fields. Either cpu temperature or magnetic field data can be displayed separately in real-time by
tapping on a displayed 'button', which is then highlighted in green.
The CPU temperature measurement has been selected |
Although both measurement values could easily have been displayed together, I now have my ready made code to import into future projects which really would benefit from a touch screen.
( SPI = Serial Peripheral Interface, 4-wire bus )
No comments:
Post a Comment