Pages: [1]   Go Down
Author Topic: How to program to communicate between FTDI & Arduino?  (Read 491 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Make from scratch
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to read the serial data transmitted by arduino on my computer using FTDI API (Visual C++).

Arduino uses Serial.print or Serial.write to send data to it's serial port. I am trying to capture this transmitted data on my computer using FTDI API.
Note: I have connected my Arduino to my computer using the FTDI breakout (from SparkFun).



Please see the following tutorial:
http://www.codeproject.com/KB/system/ftdi-chip.aspx

It worked until establishing connection to FTDI. But somehow I am getting reading error. My Arduino is using Serial.print to print 0..1.. ... ... 9 every 300ms. Meaning it prints 1 then after 300ms prints 2 and so on.

Any suggestion will be appreciated.
Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Why are you using the FTDI API?

Your FTDI breakout from sparkfun will show up as a serial port on your computer.
You can use ordinary serial communication to talk to it.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Make from scratch
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Why are you using the FTDI API?

Your FTDI breakout from sparkfun will show up as a serial port on your computer.
You can use ordinary serial communication to talk to it.

I am trying to understand how arduino read/write or communicate to the ATmega chip. I'm building a custom MCU board. I will use the same technique there.
Logged

Pages: [1]   Go Up
Jump to: