I am seeking to construct a graphical user interface (GUI) utilizing the Arduino GIGA R1 WiFi and GIGA Display Shield boards. The purpose of this interface is to control the Arduino 4 Relays Shield board. Specifically, I aim to implement a functionality where a button on the screen is touched, triggering the activation of a designated relay. This relay should emulate the behavior of a momentary push button switch.
Could this type of control be achieved using the aforementioned equipment? If so, I would appreciate any examples that demonstrate the fundamental steps involved in obtaining this functionality.
Relays provide continuity, and activating one could become a "pushbutton" but to make it "momentary" you would need to deactivate the relay.
Hi @kevins2. It sounds like a great project!
Yes.
You can learn how to control the relays from this tutorial:
https://docs.arduino.cc/tutorials/4-relays-shield/4-relay-shield-basics/
You can learn how to use the GIGA Display Shield from this tutorial:
https://docs.arduino.cc/tutorials/giga-display-shield/lvgl-guide/
Once you have learned the basic functionality of each of these components, and verified that you are able to use them in your own sketches, you can proceed to combine the two into your final project sketch.
This sounds like a great project.
I highly advise reviewing this gentleman's project for background. Simply presented using GFX library and Touch. I think there is even included method to debounce your touch.
All the best.
That in reference to a latching relay?
Doh!
Thank you for directing me to this project. I am unfamiliar with this area.
The culmination of this project is essentially a user-friendly interface for controlling a security system I constructed to monitor my garage doors. The monetary switch serves as a lever to open or close the garage door and activate or deactivate the buzzer that alerts me to an open door. This functionality can be achieved with a mechanical momentary switch, but I opted for a graphical user interface.
Thanks for getting me the information this has given me the information I needed to get my project started.
For sure. Keep us updated on your progress. All the best.