Skip to content

jackdojade/Arduino-VGA-adapter

Repository files navigation

##Arduino Mega 2560/UNO R3 VGA adapter

Original project: Marcelo Rodrigues

You can find there:

  • AD 14.3 PCB project
  • C source code for AVR MCU

Bill of materials:

Value Description Designator Quantity
1N4148 Diode D1..D3 3
470 Ohm 1/4W Resistor R1..R3 3
75 Ohm 1/2W Resistor R4..R4 3
1kOhm 1/4W Resistor R7, R8 2
PLS-7 Pin header XP1 1
D-SUB DHR-15F VGA adapter XS1 1

You can easily modify source code for getting compability with yours MCU. It doesn't matter what kind of Arduino you have. Go to Atmel's website, find appropriate MCU, find your board's pinout and find register references for digital ports.

WARNING

You HAVE to debug your code with oscilloscope because VGA-signal is time-sensitive. Unfortunately I had no successful attempt to change original pinout and that's why new one below for Arduino Uno R3:

Board Register Title PCB
GND GND GND GND
  • |- |- |GND 10 |PB2 |R |R 9 |PB1 |G |G 8 |PB0 |B |B 7 |PH6 |HSYNC |H 6 |PH5 |VSYNC |V

Table for Arduino Mega 2560 R3 is below. I tried to make it alive, but all my attempts have been unsuccessful. Fail reason - Tektronix TDS2024C is at the university, I don't have real oscilloscope at home.

Board Register Title PCB
GND GND GND GND
13 PB7 Not used GND
12 PB6 R R
11 PB5 G G
10 PB4 B B
9 PH6 HSYNC H
8 PH5 VSYNC V

About

Simple and universal Arduino VGA adapter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Other 100.0%