Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Character LCDs / Re: Inverse video on NHD‐C0220BiZ‐FSW‐FBW‐3V3M
« Last post by Saurabh_B on October 10, 2018, 03:26:22 PM »
No, Unfortunately this display does not allow you to flip individual characters.

42
TFTs / Re: Windows 10 IoT Core
« Last post by GeerGuy on October 10, 2018, 12:00:41 PM »
I have calibrated my display with a Raspberry Pi using rpi-AR1100 and it still has a ~1/4" area on all sides that can't see any touch.

Using a Win10 computer with the Microchip AR1100 Cal Config, how should the preferences be set?

Number of wires?  4 or 5?
USB Mode?  Mouse

Is the Calibration Inset % the "dead" area that I'm seeing?  Can this be 0 or 1%?

Will these setting be stored in the display?
43
TFTs / Re: Windows 10 IoT Core
« Last post by Paul_B on October 10, 2018, 08:53:54 AM »
Hi,

The AR1100 (Resistive Touch Screen Controller IC) shows up like a USB mouse, it works on all operating systems as the computer doesn't know it's a touch screen, it just thinks its a mouse. You can adjust the AR100 to consider itself a Touch Digitizer, supported by many but not all computers.

If you have a Raspberry Pi available you may re-calibrate the touch IC via USB using the following program:

https://github.com/tom-2015/rpi-AR1100

or

If you have a Windows computer you may re-calibrate the touch IC via USB using the following program:

http://www.microchip.com/wwwproducts/en/AR1100#documentation


Hope this helps,
44
TFTs / NHD-4.3-480272FT-CTXL-T not clearing all to one color properly
« Last post by maolvera93 on October 09, 2018, 06:15:31 PM »
Hello,

I've been trying to get my Newhaven (NHD-4.3-480272FT-CTXL-T) display to work properly and I just can't. First I had an issue with the screen having random colors, and now when I run the following code, it works unless I OR the DL_CLEAR_RGB function with any color other than black or white. Am I missing a step in my initializing process? Why aren't my colors being displayed properly. I have my external clock set to 4MHz from my PSoC Cypress 5LP microcontroller connected to my Newhaven display. Is it a clock problem?

Code: [Select]
int main()
{
 

    SPIM_Start();
    Clock_SPI_Start();
   
   
    //ss_Write(1);
   
   
    Reset_Write(1);//Power on
    CyDelay(20);
    Reset_Write(0);//Power off
    CyDelay(20);
     Reset_Write(1);//Power on
    CyDelay(20);
   
    cmd_write(ACTIVE);
    CyDelay(20);
    cmd_write(CLKEXT);
    CyDelay(20);
    cmd_write(FT812_CLK36M);
    CyDelay(20);
 

    ft81xMemWrite8(REG_PCLK, ZERO); // Set PCLK to zero - don't clock the LCD until later
    ft81xMemWrite8(REG_PWM_DUTY, ZERO); // Turn off backlight
 
    //initialize display registers
    ft81xMemWrite16(HCYCLE,548);
ft81xMemWrite16(HOFFSET,43);
ft81xMemWrite16(HSYNC0,0);
ft81xMemWrite16(HSYNC1,41);
ft81xMemWrite16(VCYCLE,292);
ft81xMemWrite16(VOFFSET,12);
ft81xMemWrite16(VSYNC0,0);
ft81xMemWrite16(VSYNC1,10);
ft81xMemWrite8(SWIZZLE,0);
    ft81xMemWrite8(PCLK_POL,0);
ft81xMemWrite8(CSPREAD,1);
ft81xMemWrite16(HSIZE,480);
ft81xMemWrite16(VSIZE,272);
   
   
    ft81xMemWrite32(RAM_CMD    , (DL_CLEAR_RGB | WHITE));
    ft81xMemWrite32(RAM_CMD + 4, (DL_CLEAR | 0x1 | CLR_STN | CLR_TAG));
    ft81xMemWrite32(RAM_CMD + 8, (DL_DISPLAY));
    //ft81xMemWrite32(RAM_CMD +12, (DL_CLEAR_RGB | BLUE));
   
    ft81xMemWrite8(REG_DLSWAP,DLSWAP_FRAME);//display list swap
   
    ft81xMemWrite8(REG_GPIO_DIR,(0x80 | ft81xMemRead8(REG_GPIO_DIR)));
    ft81xMemWrite8(REG_GPIO,0x080 | ft81xMemRead8(REG_GPIO));//enable display bit
   
    ft81xMemWrite8(REG_PCLK,5);
   

   
    for(int duty = 0; duty <= 128; duty++)
    {
        ft81xMemWrite8(REG_PWM_DUTY, duty); // Turn on backlight - ramp up slowly to full brighness
        CyDelay(10);
    }


I am using the 4.23 CLEAR_COLOR_RGB command from the FT81x Programmers guide for the command.
45
You will find something. 8x12.h   
For fast fixes, you can use excel or "excel: in Libre Office.
46
New Product Wishlists / 320x240 TFT landscape
« Last post by 0x0ff0 on October 07, 2018, 05:43:26 PM »
Looking for a landscape type 3.5", 320x240 with 8-bit 8080 parallel interface.
3.6Vmax for compatibility to replace the existing ones.
Two LEDs in series to suppress the EMI, agreement.
What's the difference? Working read RAM command.
47
TFTs / Re: Windows 10 IoT Core
« Last post by GeerGuy on October 07, 2018, 01:21:55 PM »
I got it working by powering the display and RPi up at the same time.

Still have an issue with the touch calibration.  With a mouse I can get to 100% of the screen, but with touch there is a ~1/4" "dead" space along all edges (top, bottom, left and right).  This is a major issue since you can't use any buttons that are located close to the edges or the normal location for scroll controls on the right side.

Is there a way to calibrate the touchscreen?  If not, this display is not suitable for most Windows 10 IoT Core applications.
48
TFTs / Windows 10 IoT Core
« Last post by GeerGuy on October 07, 2018, 12:04:11 PM »
Are any of your touchscreens supported in Windows 10 IoT Core?

I connected a NHD-7.0-HDMI-N-RSXV-RTU to a RPi3 running the newest Core version, the display works great, but no touchscreen.
 
49
To answer my own question, I needed to change the arduino pins the screen was connected to as they were trying to be used for two purposes; SPI.h and sketch code.
50
TFTs / EVE2 Lines and Bitmaps
« Last post by warriorofwire on October 05, 2018, 10:11:32 PM »
Hi Newhaven!

I'm working on a simple displaylist that has a few lines.
At a glance:
  • Clear
  • 2 bitmaps (L1 then L8) placed with vertex2f
  • 3 white lines
  • green lines:
    • 64 green lines work great. (attached as dl_working_trim.hex)
    • 65 or more green lines cause garbage to be drawn on the display (attached as dl_broken_trim.hex)
Confusingly, if I remove the L8 bitmap, I can draw 65+ green lines without a problem.  If you take a peek at the display lists (1 command per line) you'll see that the broken DL only adds 2 commands (corresponding to a pair of vertex2f invocations to drop another line in the LINES primitive mode, the 65th green line).  I need that L8 bitmap though :-)

The upper garbage red bar does not even smoothly make a rectangle.  Its top row begins ~80% scanned to the right and the bottom row ends ~60% scanned to the right (of the apparent red rectangle).  Both of the garbage bars occur beneath all the lines, and the change that causes them to appear is the uppermost line on the display.

I've attached pictures of the 64 and 65 states, as well as the display lists that produce them.  The display lists were pulled from display memory and stored locally as a straight binary byte-for-byte dump.  I processed them via `hexdump -ve '/4 "%08X\n"' working_displaylist.dump > dl_working.hex` and trimmed to the first 0x00000000 command (END_DISPLAYLIST).  The diff is as expected by adding one green line; near the end of the broken (65 green line) display list, there are 2 commands:
```
diff dl_working_trim.hex dl_broken_trim.hex
159a160,161
> 51381B80
> 51381B40
```

What's going on with this display list?



P.S.  I'm sorry, the forum does not permit attachment of non-image files.  I'll have to paste these text hex displays of the display lists:
Working 64 lines |Broken 65 lines
02000000
26000007
22000000
04000000
1F000001
05000000
07086E91
08136A91
01000000
451812B0
21000000
04400606
1F000001
05000000
071BC08D
0813C08D
01001F27
44701140
21000000
04808080
1F000003
0E000006
44F018C0
44F01C20
44F01C20
52E01C20
52E01C20
52E01410
0E000020
04063006
1F000003
45381B80
45381B40
45681B80
45681B40
45981B80
45981B40
45C81B80
45C81B40
45F81B80
45F81B40
46281B80
46281B40
46581B80
46581B40
46881B80
46881B40
46B81B80
46B81B40
46E81B80
46E81B40
47181B80
47181B40
47481B80
47481B40
47781B80
47781B40
47A81B80
47A81B40
47D81B80
47D81B40
48081B80
48081B40
48381B80
48381B40
48681B80
48681B40
48981B80
48981B40
48C81B80
48C81B40
48F81B80
48F81B40
49281B80
49281B40
49581B80
49581B40
49881B80
49881B40
49B81B80
49B81B40
49E81B80
49E81B40
4A181B80
4A181B40
4A481B80
4A481B40
4A781B80
4A781B40
4AA81B80
4AA81B40
4AD81B80
4AD81B40
4B081B80
4B081B40
4B381B80
4B381B40
4B681B80
4B681B40
4B981B80
4B981B40
4BC81B80
4BC81B40
4BF81B80
4BF81B40
4C281B80
4C281B40
4C581B80
4C581B40
4C881B80
4C881B40
4CB81B80
4CB81B40
4CE81B80
4CE81B40
4D181B80
4D181B40
4D481B80
4D481B40
4D781B80
4D781B40
4DA81B80
4DA81B40
4DD81B80
4DD81B40
4E081B80
4E081B40
4E381B80
4E381B40
4E681B80
4E681B40
4E981B80
4E981B40
4EC81B80
4EC81B40
4EF81B80
4EF81B40
4F281B80
4F281B40
4F581B80
4F581B40
4F881B80
4F881B40
4FB81B80
4FB81B40
4FE81B80
4FE81B40
50181B80
50181B40
50481B80
50481B40
50781B80
50781B40
50A81B80
50A81B40
50D81B80
50D81B40
51081B80
51081B40
21000000
23000000
00000000
02000000
26000007
22000000
04000000
1F000001
05000000
07086E91
08136A91
01000000
451812B0
21000000
04400606
1F000001
05000000
071BC08D
0813C08D
01001F27
44701140
21000000
04808080
1F000003
0E000006
44F018C0
44F01C20
44F01C20
52E01C20
52E01C20
52E01410
0E000020
04063006
1F000003
45381B80
45381B40
45681B80
45681B40
45981B80
45981B40
45C81B80
45C81B40
45F81B80
45F81B40
46281B80
46281B40
46581B80
46581B40
46881B80
46881B40
46B81B80
46B81B40
46E81B80
46E81B40
47181B80
47181B40
47481B80
47481B40
47781B80
47781B40
47A81B80
47A81B40
47D81B80
47D81B40
48081B80
48081B40
48381B80
48381B40
48681B80
48681B40
48981B80
48981B40
48C81B80
48C81B40
48F81B80
48F81B40
49281B80
49281B40
49581B80
49581B40
49881B80
49881B40
49B81B80
49B81B40
49E81B80
49E81B40
4A181B80
4A181B40
4A481B80
4A481B40
4A781B80
4A781B40
4AA81B80
4AA81B40
4AD81B80
4AD81B40
4B081B80
4B081B40
4B381B80
4B381B40
4B681B80
4B681B40
4B981B80
4B981B40
4BC81B80
4BC81B40
4BF81B80
4BF81B40
4C281B80
4C281B40
4C581B80
4C581B40
4C881B80
4C881B40
4CB81B80
4CB81B40
4CE81B80
4CE81B40
4D181B80
4D181B40
4D481B80
4D481B40
4D781B80
4D781B40
4DA81B80
4DA81B40
4DD81B80
4DD81B40
4E081B80
4E081B40
4E381B80
4E381B40
4E681B80
4E681B40
4E981B80
4E981B40
4EC81B80
4EC81B40
4EF81B80
4EF81B40
4F281B80
4F281B40
4F581B80
4F581B40
4F881B80
4F881B40
4FB81B80
4FB81B40
4FE81B80
4FE81B40
50181B80
50181B40
50481B80
50481B40
50781B80
50781B40
50A81B80
50A81B40
50D81B80
50D81B40
51081B80
51081B40
51381B80
51381B40
21000000
23000000
00000000
Pages: 1 ... 3 4 [5] 6 7 ... 10