Difference between revisions of "ESP-32-VGA"

From Land Boards Wiki
Jump to navigation Jump to search
(4 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
* On board Blue LED = Arduino Pin 2
 
* On board Blue LED = Arduino Pin 2
  
[[File:ESP32-720px.jpg]]
+
[[File:ESP32_MODULE-720PX.jpg]]
 +
 
  
 
[[File:ESP32-Pinout.jpg]]
 
[[File:ESP32-Pinout.jpg]]
Line 51: Line 52:
  
 
=== H1 - 3.3V source select ===
 
=== H1 - 3.3V source select ===
 +
 +
[[File:H1_3p3V_Select.png]]
  
 
* 1-2 = Get 3.3V from ESP32 on-board regulator
 
* 1-2 = Get 3.3V from ESP32 on-board regulator
* 2-3 = Get 3.3V from on-board regulator
+
* 2-3 = Get 3.3V from on-board regulator (Default)
  
 
=== H2 - 5V SRC Select Jumper ===
 
=== H2 - 5V SRC Select Jumper ===
 +
 +
[[File:H2_5V_Select.png]]
  
 
* 2x4 header
 
* 2x4 header
Line 79: Line 84:
  
 
* 1-2 = VUSB - Install - 5V goes to ESP (Do not attach USB cable)
 
* 1-2 = VUSB - Install - 5V goes to ESP (Do not attach USB cable)
* 3-4 = DCIN - Power comes from DC jack
+
* 3-4 = DCIN - Power comes from DC jack - Do not power
* 5-6 = FTDI5V_1 - Install
 
 
* 7-8 = FTDI5V_2 - Do not install
 
* 7-8 = FTDI5V_2 - Do not install
  
Line 86: Line 90:
  
 
* 1-2 = VUSB - Install - 5V goes to ESP (Do not attach USB cable)
 
* 1-2 = VUSB - Install - 5V goes to ESP (Do not attach USB cable)
* 3-4 = DCIN - Power comes from DC jack
+
* 3-4 = DCIN - Power comes from DC jack - Do not power
 
* 5-6 = FTDI5V_1 - Do not install
 
* 5-6 = FTDI5V_1 - Do not install
 
* 7-8 = FTDI5V_2 - Install
 
* 7-8 = FTDI5V_2 - Install

Revision as of 04:45, 16 January 2020

ESP-32 VGA 3D Front.png

Features

  • ESP32 Module
  • 6-bit VGA color
  • 2 x PS-2 DIN connectors
    • 5V mouse/keyboard
    • 3.3V to 5V level shifters
  • 2 x FTDI connectors
  • 5V DC Jack
  • 3.3V regulator (optional)
  • GVS pins for extra ESP32 pins
  • 95x95mm form factor
  • 6-32 mounting holes

ESP-32 Module

ESP32 MODULE-720PX.jpg


ESP32-Pinout.jpg

Esp32-pinout-chip-ESP-WROOM-32.png

ESP-32 VGA Pinout.PNG

Module Features

  • Architecture: Xtensa Dual-Core 32-bit LX6
  • CPU frequency: up to 240MHz
  • Total RAM available: 528KB (part of it reserved for system)
  • BootROM: 448KB
  • Internal FlashROM: none
  • External FlashROM: code and data, via SPI Flash; usual size 4MB
  • GPIO: 34 (GPIOs are multiplexed with other functions, including external FlashROM, UART, etc.)
  • UART: 3 RX/TX UART (no hardware handshaking), one TX-only UART
  • SPI: 4 SPI interfaces (one used for FlashROM)
  • I2C: 2 I2C (bitbang implementation available on any pins)
  • I2S: 2
  • ADC: 12-bit SAR ADC up to 18 channels
  • DAC: 2 8-bit DACs
  • RMT: 8 channels allowing accurate pulse transmit/receive
  • Programming: using BootROM bootloader from UART - due to external FlashROM and always-available BootROM bootloader, the ESP32 is not brickable

Headers

H1 - 3.3V source select

H1 3p3V Select.png

  • 1-2 = Get 3.3V from ESP32 on-board regulator
  • 2-3 = Get 3.3V from on-board regulator (Default)

H2 - 5V SRC Select Jumper

H2 5V Select.png

  • 2x4 header
  • Care must be taken to install the correct jumpers
  • USB jumper sends out 5V when a USB cable is connected to the ESP32 module
  • USB jumper sends 5V into the ESP32 module when there is no USB cable connected to the ESP32 module

Power from DC Jack

  • 1-2 = VUSB - Install - 5V goes to ESP (Do not attach USB cable)
  • 3-4 = DCIN - Install - Power comes from DC jack
  • 5-6 = FTDI5V_1 - Do not install
  • 7-8 = FTDI5V_2 - Do not install

Power from USB on ESP32 module

  • 1-2 = VUSB - Install - 5V comes from USB on ESP32 module
  • 3-4 = DCIN - Do not install
  • 5-6 = FTDI5V_1 - Do not install
  • 7-8 = FTDI5V_2 - Do not install

Power from FTDI #1

  • 1-2 = VUSB - Install - 5V goes to ESP (Do not attach USB cable)
  • 3-4 = DCIN - Power comes from DC jack - Do not power
  • 7-8 = FTDI5V_2 - Do not install

Power from FTDI #2

  • 1-2 = VUSB - Install - 5V goes to ESP (Do not attach USB cable)
  • 3-4 = DCIN - Power comes from DC jack - Do not power
  • 5-6 = FTDI5V_1 - Do not install
  • 7-8 = FTDI5V_2 - Install

Connectors

P3/P3 = GVS

  1. GP13
  2. GP14
  3. GP16
  4. GP17
  5. GP35
  6. GP23
  7. VN
  8. VP

P3 - VGA

J3, J4 - PS/2 Keyboard/Mouse

  • DIN 6 connector

J2 - FTDI_0

  1. GND
  2. RTS (Not used)
  3. VCC
  4. RX
  5. TX
  6. CTS (Not used)

J6 - FTDI_1

  1. GND
  2. RTS (Not used)
  3. VCC
  4. RX
  5. TX
  6. CTS (Not used)

J5 - Audio Out - RCA Jack

FabGL GPIOs assignment summary - fabgl dev board rev2

From here

VGA

  HSync => 23
  VSync => 15
  R0    => 22
  R1    => 21
  G0    => 19
  G1    => 18
  B0    => 5
  B1    => 4

PS/2 - Keyboard

  DAT   => 32
  CLK   => 33

PS/2 - Mouse

  DAT   => 27
  CLK   => 26

Audio

  AUD   => 25

SDCard - HSPI

  MOSI  => 17
  MISO  => 16
  CLK   => 14
  CS    => 13

UART - UART2

  RX    => 34
  TX    => 2

I2C (not usable with VGA)

  SDA   => 4  (conflicts with VGA B1)
  SCL   => 15 (conflicts with VGA VSync)

SPI Display - VSPI (not usable with VGA)

  CLK   => 18 (conflicts with VGA G1)
  MISO  => 19 (conflicts with VGA G0)
  MOSI  => 23 (conflicts with VGA HSync)
  CS    => 5  (conflicts with VGA B0)
  D/C   => 22 (conflicts with VGA R0)
  RESET => 21 (conflicts with VGA R1)

Prototype

FabGL P905-512pxV.jpg

Software

Arduino Programming

  • Board : "DOIT ESP32 DEVKIT V1"

Ardino ESP32.png

Schematic

Assembly Sheet