dgraviett Posted January 18, 2015 Posted January 18, 2015 Does anyone know if you can use a tft screen on an arduino for the CDU display? I have an arduino mega2560 and a tft display from another project that didn't work. If not what screen do I need to get to display the CDU screen? Any help would be greatly appreciated!! Thank you
FSFIan Posted January 18, 2015 Posted January 18, 2015 Do you mean the other project didn't work or that the TFT display didn't work? If you can make your Arduino display text on the display (10 lines of 24 characters each), it shouldn't be too hard to get this working with DCS-BIOS. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua
dgraviett Posted March 5, 2015 Author Posted March 5, 2015 ok using dcs-bios I got it to display a few letter from the game but that is it. The display does not change after the initial startup. It displays part of the word waypoint it kinda looks like this waypuuut. With random u's displayed on the screen. Anyone have any ideas on what I need to do.
FSFIan Posted March 5, 2015 Posted March 5, 2015 DCS-BIOS uses the string "UUUU" as a synchronization sequence. If you get that in your output, it means there are performance problems in your sketch, i.e. it is too much for your Arduino to handle (while writing data to the display, the serial receive buffer is getting full, new incoming data is ignored and the parser becomes confused). The current DCS-BIOS Arduino library is based on the default Serial library, which is not as optimized as it could be, so there is room for some improvement in the future. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua
dgraviett Posted March 5, 2015 Author Posted March 5, 2015 Is there a way to make it work? Maybe not use dcs-bios? I really want to make cdu display for my pit.
FSFIan Posted March 5, 2015 Posted March 5, 2015 You can export the CDU as a viewport, just like you can with the MFCDs. To make that work, you need a display connected to a video port on your computer. There may be a way to optimize your existing Arduino sketch and make it work, but without seeing the code I can't even take a guess. If you only redraw what has actually changed, an Arduino could be powerful enough to do an adequate job. Or you can replace the Arduino with something more powerful, like a Raspberry Pi. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua
flashtom Posted May 14, 2015 Posted May 14, 2015 ok using dcs-bios I got it to display a few letter from the game but that is it. The display does not change after the initial startup. It displays part of the word waypoint it kinda looks like this waypuuut. With random u's displayed on the screen. Anyone have any ideas on what I need to do. Hi man, i think i am do same thing with you. would you share your code to me ? my mail is flashtom@gmail.com i have UNO R3 and 3.6 ft TFT base on ili9327 .
ing.sohaib Posted May 24, 2015 Posted May 24, 2015 Hi dgraviett, As suggested earlier, I think it's an issue of the Arduino and changing it to a Ri would make your life a lot easier. However, having said that, you can simply get this result slightly improved by modifying your code a little. I'm not sure if you can use your TFT is a similar way as others use MFCDs but that'll be certainly a good experiment. If you do try sketching by exporting CDU, please do let us know about the results. circuit board fabrication
Recommended Posts