Author Topic: Simple VGA DAC for Hantek HDG2000 and certain others  (Read 853 times)

0 Members and 1 Guest are viewing this topic.

Offline Scratch.HTFTopic starter

  • Regular Contributor
  • *
  • Posts: 119
  • Country: au
Simple VGA DAC for Hantek HDG2000 and certain others
« on: November 01, 2017, 02:02:13 am »
I made this since I am adding a Raspberry Pi inside for my "ultimate workbench" with many great functions.
From what I have measured on the HDG2000, DCLK frequency is 26.666667 MHz (1/15 core frequency) with H/V frequencies of 30.24kHz/56.94Hz and a low Horizontal blanking overhead (82 pixels) and short Horizontal Sync (8 pixels) which may have issues (especially size and positioning) when used with a simple VGA DAC (resistor based, as shown below) and certain LCD panel controllers or VGA-HDMI converters (may be detected as either 800x480 57 Hz or 640x480 57 Hz).
This would be less of an issue by increasing the video clock frequency to 33.333333 MHz (1/12 core frequency which corresponds to the typical DCLK value for the AT070TN92 display) along with changing the Horizontal parameters to correspond with VESA 800x600 @ 56Hz and the Vertical parameters to correspond with IBM 640x480 60 Hz resulting in a H/V frequency of 32.55kHz/62Hz.
I do not recommend soldering directly to the FPC connector as solder can bridge the tiny gaps between pins on this connector, so FPC breakout boards are strongly recommended.

A simple VGA DAC (+3.3V) is shown below:

Bit
 5 -300R-200R-\
 4 ----1K0------*---*---- OUT (0-0.7 Vpp) assuming 75R termination
 3 ----2K0------*   |
 2 --2K0-2K0--*   6
 1 --6K8-1K2--*   8
 0 -----16K-----/      0
            R
            |
              GND

All resistors are 1% units.
Only one channel is shown; use 120R series resistors for H Sync and V Sync.

Here is the pinout of the LCD panel interface:

|-----------------------------------------|
  2                                         40
  | | | | | | | | | | | | | | | | | | | |
 | | | | | | | | | | | | | | | | | | | |
 1                                        39

1   Switched +5V   2   Switched +5V
3   Backlight ON   4   GND
5   GND         6   +3.3V
7   +3.3V      8   Mode
9   Data Enable   10   /V Sync
11   /H Sync      12   GND
13   Blue 5      14   Blue 4
15   Blue 3      16   GND
17   Blue 2      18   Blue 1
19   Blue 0      20   GND
21   Green 5      22   Green 4
23   Green 3      24   GND
25   Green 2      26   Green 1
27   Green 0      28   GND
29   Red 5      30   Red 4
31   Red 3      32   GND
33   Red 2      34   Red 1
35   Red 0      36   GND
37   /Clock (DCLK)   38   GND
39   Left/_Right   40   Down/_Up
If it runs on Linux, there is some hackability in it.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf