Building a touch control inverting switch
With an understanding of the M5Stack Core2’s touchscreen setup and capabilities, you are now ready to build a touch control inverting switch. A touch control inverting switch is a digital device whereby a simple touch of a UI button will turn off an LED. Inverting switches aid automation systems whereby detecting an electrical contact open status of a normally closed electronic switch provides an inverted output state. Industry safety devices such as a pressure mat switch stop an industrial process when a machine operator stands on it. Upon standing on a pressure mat switch, its normally closed (NC) contacts are inverted or open, thus turning off the industrial process. With the industrial process stopped, a maintenance technician can work on an automated machine safely.
The touch control inverting switch consists of three primary components: the M5Stack Core2, an Arduino Uno compatible, a digital inverter IC, and an LED. The M5Stack...