REALIZE SIMPLE HMI INTERFACE USING LINUX AND ODROID c1+ DEVICE WITH TOUCHSCREEN SHIELD
€30-250 EUR
Cerrado
Publicado hace más de 8 años
€30-250 EUR
Pagado a la entrega
Realize a graphical touchscreen interface (using odroid c1+ touchscreen shield) for visualize and set signals according further requirment.
- Each signal has an unique ID
- For digital and analog signals is possible to read or write the values using the ID and an internal webserver (localhost).
to write a signal value: [login to view URL]
to read a signal value: [login to view URL]
Where xxxx is the ID of signal.
The signals ID and definitionis are stored in a xml file. This is an example:
<SHOW>
<SIGNAL_SHOW>
<SIGNINF ID0='9995' Dir='1' Type =’1’ Min='-10' Max='50' Step='1' UniMis='°C' Des=’House Temp.' Rec='1' />
<PAGE Page='1' pos='1' column='1' />
</SIGNAL_SHOW>
<SIGNAL_SHOW>
<SIGNINF ID0='1002' Dir='1' Type =’2’ Min='0' Max='1' Step='1' UniMis=’0/1' Des=’Living Room' Rec ='0' />
<PAGE Page='1' pos='2' column='1' />
</SIGNAL_SHOW>
<SIGNAL_SHOW>
<SIGNINF ID0='1003' Dir='1' Type =’2’ Min='0' Max='1' Step='1' UniMis=’0/1' Des=’Bedroom’ Rec ='0' />
<PAGE Page='1' pos='3' column='1' />
</SIGNAL_SHOW>
<SIGNAL_SHOW>
<SIGNINF ID0='1243' Dir='0' Type =’3’ Min='-' Max='' Step='' UniMis='' Des=’Video1' Rec ='1' />
<PAGE Page='2' pos='1' column='1' />
<VIDEO Port='0' channel='1' />
</SIGNAL_SHOW>
<SIGNAL_SHOW>
<SIGNINF ID0='1244' Dir='0' Type =’3’ Min='-' Max='' Step='' UniMis='' Des=’Video2' Rec ='1' />
<PAGE Page='2' pos='2' column='1' />
<VIDEO Port='0' channel='2' />
</SIGNAL_SHOW>
<SIGNAL_SHOW>
<SIGNINF ID0='1245' Dir='0' Type =’3’ Min='-' Max='' Step='' UniMis='' Des=’Video3' Rec ='1' />
<PAGE Page='2' pos='1' column='2' />
<VIDEO Port='0' channel='3' />
</SIGNAL_SHOW>
<SIGNAL_SHOW>
<SIGNINF ID0='1246' Dir='0' Type =’3’ Min='-' Max='' Step='' UniMis='' Des=’Video4' Rec ='0' />
<PAGE Page='2' pos='2' column='2' />
<VIDEO Port='0' channel='4' />
</SIGNAL_SHOW>
<SIGNAL_SHOW>
for each signal that Program must put in the interface Program’ll have a SIGNAL_SHOW node </SIGNAL_SHOW>
In the example xml Program see listed signal ID= 9995, R/W (dir=1=R/W; dir=0=R),Analog (1=analog;2=digital;3=video;4=audio), recording activated (1=recording activated). PAGE node says that HMI Software has to visualize the button of signal 9995 in page 1 pos=1, column=1.
signal ID= 1002, R/W (dir=1=R/W; dir=0=R),Digital (1=analog;2=digital;3=video;4=audio), not recording (1=recording activated). PAGE node says that HMI Software has to show the button of signal in page 1 pos=2, column=1.
signal ID= 12343, read only (dir=1=R/W; dir=0=R),Video (1=analog;2=digital;3=video;4=audio), recording (1=recording activated). PAGE node says that HMI Software has to visualize the button of signal in page 1 pos=2, column=1.
I have in mind simple HMI pages like that showed in IMAGES 1-2
IMAGE 1
IMAGE 2
Shape of buttons depends on SIGNAL TYPE (Square for Analog, the other for digital).Little red circle says that recording is activated on that signal.
- If someone push a digital or analog button HMI Program must give the possibilty to change the value. For analog Program can use the triangle at the side for changing values.
- If XML signal definition will change my program will restart HMIprogram restarting it.
- Normally the screen has to show a default image (I’ll send Program that) that has to change at the first touch as showed before.
- For video signal HMI Program have to show a an image with a specific name from files stored in a specific directory.
I'll let available the odroid remotely in ssh.
I want to discuss this project with you further, let me know the best suitable time for you to schedule the meeting, Feel free to message me at any time, i used to be online 14 hrs in a day on this website so probably you will get a quick response from my end.