Raspery Pi HDMI output support
Moderator: Benj
- celebriums
- Posts: 125
- Joined: Sun Sep 25, 2016 3:50 pm
- Has thanked: 71 times
- Been thanked: 33 times
- Contact:
Raspery Pi HDMI output support
Hi Matrix Familiy,
Everyone Greetings and congratulations. First of all, the features of Flowcode 8 have been impressive. Thank you very much.
Raspery Pi, will HDMI output support be provided? or how can this be done?
Everyone Greetings and congratulations. First of all, the features of Flowcode 8 have been impressive. Thank you very much.
Raspery Pi, will HDMI output support be provided? or how can this be done?
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Raspery Pi HDMI output support
Flowcode apps on Raspberry Pi run on Raspbian so you still have the desktop on the HDMI port.
If you are looking for a user interface, then Flowcode does not yet have direct output to the desktop.
But you could implement a user interface on a browser via html and the TCPIP component.
There is also the possibility on the Pi of running say Node-RED as a UI Dashboard and pushing messages to that from the Flowcode app.
Also connecting Pi to Flowcode running in a SCADA mode is something else we are looking at in the future.
If you are looking for a user interface, then Flowcode does not yet have direct output to the desktop.
But you could implement a user interface on a browser via html and the TCPIP component.
There is also the possibility on the Pi of running say Node-RED as a UI Dashboard and pushing messages to that from the Flowcode app.
Also connecting Pi to Flowcode running in a SCADA mode is something else we are looking at in the future.
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: Raspery Pi HDMI output support
Team would this be much asked if you can supply one simple example of this the above and FC as this is the missing thing the connection between the user and the RPI and FC8 applicationsLeighM wrote: you could implement a user interface on a browser via html and the TCPIP component.
There is also the possibility on the Pi of running say Node-RED as a UI Dashboard and pushing messages to that from the Flowcode app.
Also connecting Pi to Flowcode running in a SCADA mode is something else we are looking at in the future.
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
-
- Valued Contributor
- Posts: 1189
- Joined: Wed May 31, 2017 11:57 am
- Has thanked: 70 times
- Been thanked: 439 times
- Contact:
Re: Raspery Pi HDMI output support
Output on the Pi:
As a thought experiment I wondered what would happen if stdio.h was imported.... (Actually I wondered about glut.h and gl.h - but that's a job for another day)
It does work - console output is possible from within your Flowcode.....
This outputs to the console on the Pi - but only if you run it from the Pi console (- from within Flowcode it just outputs to the remote console - try 'putty')
I encountered the same 'problem' using remote debugging of Python on the Pi too - but haven't found a work around although there surely is one.
Would be easy to create a few macros to hide the C - PrintNumber, PrintString etc
Martin
As a thought experiment I wondered what would happen if stdio.h was imported.... (Actually I wondered about glut.h and gl.h - but that's a job for another day)
It does work - console output is possible from within your Flowcode.....
This outputs to the console on the Pi - but only if you run it from the Pi console (- from within Flowcode it just outputs to the remote console - try 'putty')
I encountered the same 'problem' using remote debugging of Python on the Pi too - but haven't found a work around although there surely is one.
Would be easy to create a few macros to hide the C - PrintNumber, PrintString etc
Martin
Last edited by mnf on Fri Jun 01, 2018 8:58 am, edited 1 time in total.
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Raspery Pi HDMI output support
Hi Martin,
Thanks for that.
It will also work without the stdio.h icon, as stdio.h is already included.
I did write a simple component for printing strings that output to the Pi console (which pops up whilst running the Pi target from Flowcode)
and output to the Flowcode console in simulation.
I don't think it has made it into the distribution yet, I'll have a chat with Ben and see if we can tidy it up and allocate it to a category.
Leigh
Thanks for that.
It will also work without the stdio.h icon, as stdio.h is already included.
I did write a simple component for printing strings that output to the Pi console (which pops up whilst running the Pi target from Flowcode)
and output to the Flowcode console in simulation.
I don't think it has made it into the distribution yet, I'll have a chat with Ben and see if we can tidy it up and allocate it to a category.
Leigh
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Raspery Pi HDMI output support
Ha!
The component is already in the release
Tools->Matrix Tools->Console Debugger (Raspberry Pi)
The component is already in the release
Tools->Matrix Tools->Console Debugger (Raspberry Pi)
- celebriums
- Posts: 125
- Joined: Sun Sep 25, 2016 3:50 pm
- Has thanked: 71 times
- Been thanked: 33 times
- Contact:
Re: Raspery Pi HDMI output support
Thank you everyone for the answer.
How can I print the image on the HDMI screen?
Can this work with the BitmapDriverFAT1 plugin?
Could you explain it by making a simple example?
Thank you in advance for your help.?
How can I print the image on the HDMI screen?
Can this work with the BitmapDriverFAT1 plugin?
Could you explain it by making a simple example?
Thank you in advance for your help.?
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Raspery Pi HDMI output support
Hi,
sorry, it is not possible at the moment,
but something we could add to our future list.
edit:
I've just had a quick look at this and I think we should be able to get a component created for it some time sooner rather than later
sorry, it is not possible at the moment,
but something we could add to our future list.
edit:
I've just had a quick look at this and I think we should be able to get a component created for it some time sooner rather than later
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Raspery Pi HDMI output support
Hello,
Just been discussing this with Leigh,
The Bitmap Drawer FAT component probably won't do what you want it to do on the RPI which is access the RPI SD card. So we probably need an additional component to allow read/write file access on the RPI. Another one for the list
Just been discussing this with Leigh,
The Bitmap Drawer ROM component should work fine.Can this work with the BitmapDriverFAT1 plugin?
The Bitmap Drawer FAT component probably won't do what you want it to do on the RPI which is access the RPI SD card. So we probably need an additional component to allow read/write file access on the RPI. Another one for the list
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- celebriums
- Posts: 125
- Joined: Sun Sep 25, 2016 3:50 pm
- Has thanked: 71 times
- Been thanked: 33 times
- Contact:
Re: Raspery Pi HDMI output support
The aim of this project;
The school bus also prevents the forgotten (4-9 years old) children.
Displaying the children sitting on the seats when the vehicle ignitition switch is active.
In the current system,
NEXTION HMI 3.5" LCD, UART comm is working fine. I completed this system in as short as 3-4 weeks.
Questions:
I would like to send the seat information in the school bus to another screen via HDMI or RCA outputs.
Can this work be done with a different processor than RPI? I do not know.
The STM32F769 discovery board is eliminated. It can output HDMI output,
Flowcode STM32F769 does not support discovery.
Thank you for your support.
The school bus also prevents the forgotten (4-9 years old) children.
Displaying the children sitting on the seats when the vehicle ignitition switch is active.
In the current system,
NEXTION HMI 3.5" LCD, UART comm is working fine. I completed this system in as short as 3-4 weeks.
Questions:
I would like to send the seat information in the school bus to another screen via HDMI or RCA outputs.
Can this work be done with a different processor than RPI? I do not know.
The STM32F769 discovery board is eliminated. It can output HDMI output,
Flowcode STM32F769 does not support discovery.
Thank you for your support.
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Raspery Pi HDMI output support
Hi,
I've now got a Raspberry Pi HDMI output component functional.
We just need to check it over, hopefully have it pushed out to V8 soon for you to try
I've now got a Raspberry Pi HDMI output component functional.
We just need to check it over, hopefully have it pushed out to V8 soon for you to try
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Raspery Pi HDMI output support
Hello,
I've pushed Leigh's component out to the update system now.
Help -> Check For Updates then change Files in use to Full Database.
https://www.matrixtsl.com/wiki/index.ph ... _all_files
I've pushed Leigh's component out to the update system now.
Help -> Check For Updates then change Files in use to Full Database.
https://www.matrixtsl.com/wiki/index.ph ... _all_files
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- celebriums
- Posts: 125
- Joined: Sun Sep 25, 2016 3:50 pm
- Has thanked: 71 times
- Been thanked: 33 times
- Contact: