Arduino mega screen UI addition
Budget: $10 – $30 USD
We got an already working user interface on an 3.2" inch screen attached to an arduino mega.
It's a 3 page devided UI with subpages with products and prices.
When a product is brought, a signal is sent via UART to a 2nd mega that activate a relay.
The UI's first UI subpage is devided in to 3 x 6 buttons pages, so 18 in total, there is additional 2 pages, page 2 with 2 x 4 product buttons. Then a last page with 2 products.
What we need is the following changes on page 1:
1. 3x6 button UI makes things to small, so the UI need to change to 4x4 + 1x2 buttons a page.
2. When one of these above 18 buttons are pushed, everything must happen as it does now, but after the following dialog boxes must pop up with the following text.
A. Vaskemiddel? (Yes/ No)
B. If No on A. Then G.
C. If Yes on A then D.
D. Dialog box "Er beholder under dispenser ?" (Yes/ No)
E. If Yes on D. Activate relay 27 (pulses and pulse width must be defined for each button) then G.
F. If No on D, return to A.
G. Skyllemiddel? (Yes/ No)
F. If No on G. Return to UI.
G. If Yes on G then H.
H. Dialog box "Is canister in place?" (Yes/ No)
I. If yes on H then J.
J. Activate relay 28 (pulses and pulse width must be defined for each button) return to UI.
K. If no on I, then G.
L. Return to UI.
The relay action described above is the same relays that's activated on the 2 product buttons on page 3.
So the function is already in the code, so in reality it is a very simple task. For someone with the right experience.
Will add the display product specifications as additional info.
It's a 3 page devided UI with subpages with products and prices.
When a product is brought, a signal is sent via UART to a 2nd mega that activate a relay.
The UI's first UI subpage is devided in to 3 x 6 buttons pages, so 18 in total, there is additional 2 pages, page 2 with 2 x 4 product buttons. Then a last page with 2 products.
What we need is the following changes on page 1:
1. 3x6 button UI makes things to small, so the UI need to change to 4x4 + 1x2 buttons a page.
2. When one of these above 18 buttons are pushed, everything must happen as it does now, but after the following dialog boxes must pop up with the following text.
A. Vaskemiddel? (Yes/ No)
B. If No on A. Then G.
C. If Yes on A then D.
D. Dialog box "Er beholder under dispenser ?" (Yes/ No)
E. If Yes on D. Activate relay 27 (pulses and pulse width must be defined for each button) then G.
F. If No on D, return to A.
G. Skyllemiddel? (Yes/ No)
F. If No on G. Return to UI.
G. If Yes on G then H.
H. Dialog box "Is canister in place?" (Yes/ No)
I. If yes on H then J.
J. Activate relay 28 (pulses and pulse width must be defined for each button) return to UI.
K. If no on I, then G.
L. Return to UI.
The relay action described above is the same relays that's activated on the 2 product buttons on page 3.
So the function is already in the code, so in reality it is a very simple task. For someone with the right experience.
Will add the display product specifications as additional info.