Hello all, first post here "nice" to meet you;
So, I have been working on learning more about labview over the past couple weeks and I thought that I might be able to use it to build a touchscreen interface(gui) for a project I am working on. First an foremost, the main function is to run a while loop type function to cycle a low voltage solenoid(~3V) used for air pressure delivery to a pump with the on/off times adjusted by user. The only other sensor/device would be a pressure transducer to provide a value for a digital screen readout of the psi. I have a few other animations I want to add, but those are of no concern until I have the main systems working and should simply be a swapping out of images as far as I have read.
So, main goals:
- Build a loop timer to allow a user to change two different values; solenoid closed and solenoid open times(seconds).
- User can pause and play the time with either one button that changes to the other(press play changes icon to pause and vice versa) or two completely different buttons for "simplicity". Pausing the "time" would therefor hold the solenoid open or closed according to current state.
- Reset button to take times back to default,{15s:5s | off:on}.
- During cycling, have an animation of a vertical bar or animate a bar to move/fill up during discharge and down to 0 when cycling back off. (or just an led or simplicity)
- Read a transducer to simply show constant psi where ever its connected.
So really only two output signals to a solenoid and one input from the transducer, along with tft functions that will be addressed later.
The GUI well allow user to interact with the on and off value, pause, play and reset buttons. If I can figure out how to get the pop upmenu to work, would like to give my self the ability to be able to tap the number display to have a popup display with 0-9 show up for quick set up instead of having to hold down the up or down arrows.
Now my question(s):
- I am currently planning on using an arduino uno or mega with a 2.8 tft(may go up in size). I wouldnt be apposed to using a PI, but I need low power consumption; UNO at 16MHz uses ~4V so I may use a 9V to compensate for draw from solenoid. Does anyone know which would be more reliable and easier to set up with a TFT when using LabView?
- From my goals above, please help me understand what may or may not be feasible and suggest anything in place? Visual aids would be awesome since this is all still new to me.
Ill upload my files and images I have made when I get back to my desktop at home to update this; really just the GUI part of things in LV. I'm currently watching vids and reading on timers, so my update might show a lot more progress than currently mentioned.
Thanks for any help, I hope to learn a lot from all of you. If you need anything specific before I update, Ill try and address it before I post again.
Skol