Go Down

Topic: Interfaceing with a FTDI (Read 983 times) previous topic - next topic

Hutzpah

FTDI (CP2102 USB 2.0)  /  Arduino Pro mini 3.3v
 
DTR  --------DTR
RXD  --------TXO
TXD  --------RX1
5v      ------- (unconnected)
GND  -------GND??                                             
3.3v    -------VCC

I am trying to connect FTDI (CP2102 USB 2.0) to a pro mini
and am a bit confused, have I got it right in the above layout?

Which ground do I  plug into as there are two?
One in the bottom right hand corner and another just above.

Also the FTDI (CP2102 USB 2.0) does not have a switch or jumper to change between
3.3v to 5v can I just plug into the 3.3v?

Help as always is very much appreciated.

Hutzpah

Robin2

Are you trying to power the Pro Mini from the FTDI cable?

If not, then the only connections you need are Rx Tx and GND

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Hutzpah

   
Hi Robin2

Question : Are you trying to power the Pro Mini from the FTDI cable?

Yes, I have the components solder together and now need to up load the sketch. The unit has no power, will add battery after sketch uploaded.
This is my first go with a pro mini.

Hutzpah

Robin2

This reference page suggests that it is the FTDI RTS line that is used to reset the ProMini - but maybe your stuff is different

You need to post a link to the datasheet for your FTDI device AND to the datasheet for your ProMini

...R

Two or three hours spent thinking and reading documentation solves most programming problems.

pert

Which ground do I  plug into as there are two?
One in the bottom right hand corner and another just above.
Use whichever ground is most convenient to you. I prefer to use the USB to TTL serial adapters that use the "FTDI pinout" that allows you to plug it right in to the Pro Mini, like these:


This reference page suggests that it is the FTDI RTS line that is used to reset the ProMini - but maybe your stuff is different
You can use DTR or RTS for the reset signal. Some of the USB to TTL serial adapters that are pinout compatible with the Pro Mini use DTR, some use RTS. Adafruit chose RTS. Sparkfun chose DTR.

Hutzpah

Thanks for the replies.
Here is the info for the FTDI and ProMini that I took of the ebay sellers.

Pro Mini 3.3V 8M 5V 16M atmega328 Replace ATmega128 Arduino Compatible Nano
Microcontroller ATmega328
Operating Voltage 3,3V
Input Voltage (recommended) 3,3 - 12V
Digital I/O Pins 14 (of which 6 provide PWM output)
Analog Input Pins 6
DC Current per I/O Pin 40 mA
Flash Memory 32 KB of which 0,5 KB used by bootloader
SRAM 2 KB
EEPROM 1 KB
Clock Speed 8 MHz
ARDUINO PRO MINI
Condition: New
20 Digital input / output ports:TX, RX, D2 ~ D13, A0~A5
8 analog inputs ports:A0 ~ A7
1 pairs of TTL level serial transceiver ports RX / TX
6 PWM ports: D3, D5, D6, D9, D10, D11
Main ChipAtmel Atmega328P-AU
Support Serial Download
Support external power supply 3.8-12V DC
Support 12V or less than 12V battery power supply
16MHz clock frequency
Size: 33.8mm x 18mm

CP2102 USB 2.0 to TTL UART Module 6Pin Serial Converter STC Replace FT232 Module

Brand new and high quality.
PCB Dimensions: 26.5mm * 15.6mm
PCB Color: Black
Weight: 4g
using a new chip factory in 2013 CP2102
with self-recovery fuse. In the event of accidental short circuit, it can effectively protect your computer USB port and Downloader
with three LEDs: power indicator, data reception indicator, the data transmission indicator, working status
with 3.3V and 5V dual power output
pin leads to all sorts of useful
with reset signal output, etc. directly to the Arduino board Promini download!
Supported operating systems:
Windows 98/Me/2000/XP/7
MAC OS-9
MAC OS
X-Windows CE
Linux 2.40 or later

Feature:
1.included USB transceiver, without external circuit device
2.includes a clock circuit, no external circuitry is
3.includes power-on reset circuit
4.chip 3.3V voltage regulator output voltage can be
5. Meet the USB2.0 specification requirements
6.SUSPEND pin supports USB suspend state
7.asynchronous serial data bus compatible with all handshake and modulation controller interface signals
8.Supported data format is 8 data bits, 1 stop bit and parity bits
9.connotation 512 byte receive buffer and 512 byte transmit buffer
10.Supports hardware handshaking or X-ON/X-OFF
CP2102 its high integration, built-in USB2.0 full-speed function controller, USB transceiver, crystal oscillator, EEPROM, and asynchronous serial data bus (UART), supports full-featured modem signals, without any external USB device. CP2102 with other USB-UART adapter circuit works similar to the PC through the driver's USB port into a virtual COM port in order to achieve the purpose of expansion.

Hutzpah

Robin2

Images from Reply #5 so we don't have to download them. See this  Simple Image Guide





...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Robin2

#7
May 30, 2019, 07:54 am Last Edit: May 30, 2019, 07:54 am by Robin2
If you install a socket on the end holes of the ProMini it looks as if the FTDI device could plug straight in as suggested by @pert

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Hutzpah

With your help I was able to connect the FTDI and uploaded the sketch.
It is working and so am very happy, now I can turn my attention to designing the container with blender.
Never touch electronics before and if I am honest my confidence is quite low as its all new to me.
 
Thanks for the link to the "Simple Image Guide".

I want to say a BIG thank you  Robin2  and Pert for your help

pert

You're welcome. I'm glad to hear it's working now. Enjoy!
Per

Go Up