Skip to content

Development Board designed with KiCad for the FT260S and the FT312D

License

Notifications You must be signed in to change notification settings

leonardoward/ftdi-development-boards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FTDI Development Board - FT260S and FT312D

This repository contains the design of a development board for the FT260S and the FT312D. The PCB was designed using KiCad.

Table of Contents

  1. Hardware Design
    1. USB C Port with Electromagnetic Compatibility EMC
    2. FTDI 1 FT260S
    3. FTDI 2 FT312D
    4. ESP32 with Auto Reset
    5. SPDT Switch
  2. Bill of Materials
  3. PCB
  4. Testing
    1. ESP32 with Auto Reset

Hardware Design

The design includes the following circuits:

Back to top

USB C Port with Electromagnetic Compatibility EMC

Everything starts with the USB C port, this type of USB was selected because it's size and because of the growing trend of using this port to charge and communicate with portable devices.

The design includes Transient Voltage Suppression (TVS) diodes and Ferrite Beads to reduce the Electromagnetic Interference (EMI). These protections for the USB port will add compliance with the EMC regulations and standards from the Federal Communications Commission (FCC) and the European Union.

Back to top

FTDI 1 FT260S

The first USB TO UART/I2C FTDI that we is being tested is the FT260S-U. The design only considers the USB to UART, therefore the I2C is left unconnected.

Notes: The FT260S was originally selected to directly program the ESP32, and also provide serial communication. After careful consideration I found that the FT260 is a HID class device and as such it does not generate a Virtual COM Port (like the FT232R), to interface with the FT260 it can be used the official helper library, LibFT260.

https://www.ftdichip.com/Support/Documents/AppNotes/AN_394_User_Guide_for_FT260.pdf https://www.ftdichip.com/Support/Documents/AppNotes/AN_395_User_Guide_for_LibFT260.pdf

For that reason the FT260S will require more work before it can seamlessly program the ESP32. This topic will have to be addressed in the future.

Back to top

FTDI 2 FT312D

The second USB TO UART/I2C FTDI that is being tested is the FT312D-32L1C-R. This IC does not support DTR/DSR for the UART, a feature that is required for the auto reset circuit of the ESP32 that was implemented, nevertheless the PCB has it as a second alternative.

Back to top

ESP32 with Auto Reset

Finally, the ESP32. The design includes an auto reset circuit that uses RTS and DTR to reset and put in bootloader mode the ESP32. For more information about this circuit, these blogs 1 2 can be useful.

Back to top

SPDT Switch

The design includes a couple of TS5A3153DCUR that will be tested for future implementations.

Back to top

Bill of Materials

Reference Quantity
1 µF ±10% 10V Ceramic Capacitor X7R 0805 (2012 Metric) 2
47 pF ±5% 16V Ceramic Capacitor C0G, NP0 0805 (2012 Metric) 6
0.1 µF ±10% 50V Ceramic Capacitor X7R 0805 (2012 Metric) 3
4.7 µF ±10% 6.3V Ceramic Capacitor X5R 0805 (2012 Metric) 3
15V Clamp 5A (8/20µs) Ipp Tvs Diode Surface Mount SOT-23-6 1
Red 630nm LED Indication - Discrete 1.9V 0805 (2012 Metric) 3
1 Signal Line Ferrite Bead 0805 (2012 Metric) 300mA 350mOhm 2
USB-C (USB TYPE-C) USB 3.2 Gen 2 (USB 3.1 Gen 2, Superspeed + (USB 3.1)) Receptacle Connector 24 Position Board Cutout, Surface Mount, Right Angle; Through Hole 1
Bipolar (BJT) Transistor NPN 30 V 600 mA 250MHz 300 mW Surface Mount SOT-23-3 (TO-236) 2
10 kOhms ±1% 0.125W, 1/8W Chip Resistor 0805 (2012 Metric) 4
5.1 kOhms ±1% 0.125W, 1/8W Chip Resistor 0805 (2012 Metric) 2
27 Ohms ±1% 0.125W, 1/8W Chip Resistor 0805 (2012 Metric) 4
620 Ohms ±5% 0.125W, 1/8W Chip Resistor 0805 (2012 Metric) 3
1 Circuit IC Switch 2:1 900mOhm 8-VSSOP 2
ESP32-WROOM-32D (4MB) 1
IC REG LINEAR 3.3V 1A 8SOIC 1
FT260S-U IC USB TO UART/I2C 28-TSSOP 1
FT312D-32L1C-R IC USB HOST CTRL 32-LQFP 1
12 MHz ±30ppm Crystal 18pF 35 Ohms HC-49/US 1
Conn Header 40POS 2.54 3

Back to top

PCB

Back to top

Testing

ESP32 with Auto Reset

The designed auto reset circuit requires the signals 3.3V, GND, TX, RX, RTS and DTR. The commercial USB to Serial Converter (FT232RL) was used to test the circuit, it provides all the required signals.

The following wiring diagram shows how to connect the commercial USB to Serial Converter and our FTDI Development Board.

Once the 2 boards were connected and the USB to Serial Converter was plugged, the PC (in Windows) recognized the device and it was ready to use. Check if you need to install drivers associated to the FTDI, that is often the case.

Note: Before testing the following code, verify that the ESP-IDF is installed and the Arduino IDE can program ESP devices.

The code used is very simple, the ESP32 sends a "Hello world" message through the serial communication every second.

void setup() {
   Serial.begin(115200);
}

void loop() {
   Serial.println("Hello World");
   delay(1000);
}

The standard Arduino IDE was used to program the ESP32, with the following configurations:

And the test was successful, the following image shows the results in the serial monitor.

Back to top

About

Development Board designed with KiCad for the FT260S and the FT312D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published