Oh mighty forum, your guidance to my needs is hereby respectfully solicited. - Steve
Goal: Touch TFT on Teensy 4.0 to display active changes of vacuum pressure
Assumptions / needs:
// 0) use Teensy 4.0 in final deployment (currently working with Teensy 3.2)
// 1) take pressure readings at 1/second with SparkFunMPL3115A2
// 2) display #1 pressure as a vacuum readings with negative float number in Pascals (Pa)
// 3) display #2 provide a pulsing progress bar as the pressure changes 10 times/minute.
// 3a) Example subject to change: (2 sec vacuum motor on + 4 sec no motor) * 10 cycles = 1 minute
// 3b) Touch TFT display+sensor is remote from the vacuum motor micro-controller
// 4) display #3 average a baseline negative number (the closest to 0) that were read with a 1 minute sampling
// 5) display #4 average greatest vacuum achieved within the same 1 minute sampling as 4)
// 6) put screen asleep after 20 seconds
// 7) wake up screen by simple touch anywhere
// 8) battery power recommendation to keep the display working with intermittent user touches (~15/day) for minimum of 15 days
// 9) need low power warning to support 8) to notify user to change the batteries
// On my own I'll discover how to rotate screen for horizontal display
Complete working code in the attached file.
Thank you.
Goal: Touch TFT on Teensy 4.0 to display active changes of vacuum pressure
Assumptions / needs:
// 0) use Teensy 4.0 in final deployment (currently working with Teensy 3.2)
// 1) take pressure readings at 1/second with SparkFunMPL3115A2
// 2) display #1 pressure as a vacuum readings with negative float number in Pascals (Pa)
// 3) display #2 provide a pulsing progress bar as the pressure changes 10 times/minute.
// 3a) Example subject to change: (2 sec vacuum motor on + 4 sec no motor) * 10 cycles = 1 minute
// 3b) Touch TFT display+sensor is remote from the vacuum motor micro-controller
// 4) display #3 average a baseline negative number (the closest to 0) that were read with a 1 minute sampling
// 5) display #4 average greatest vacuum achieved within the same 1 minute sampling as 4)
// 6) put screen asleep after 20 seconds
// 7) wake up screen by simple touch anywhere
// 8) battery power recommendation to keep the display working with intermittent user touches (~15/day) for minimum of 15 days
// 9) need low power warning to support 8) to notify user to change the batteries
// On my own I'll discover how to rotate screen for horizontal display
Complete working code in the attached file.
Thank you.