Asked — Edited

Hooking Up The Sparkfun Usb To Ttl Converter

Here is how I hooked up the SparkFun FTDI (USB to TTL) Adapter in place of the Bluetooth module that sits on top of the EZ-B.

  1. I very carefully removed the Bluetooth module from the EZ-B by using a small flat blade screw driver to pry it up. The double sided tape eventually let loose from the IC Chip and I pulled the module free from the EZ-B header .

User-inserted image

  1. I used the male jumpers that I got from the EZ Robot Store to hook up the FTDI header to the EZ-B header. VCC to VCC <- EDIT: Found out this connection is not needed. GND to GND Tx to Tx Rx to Rx (Yes that's right Tx to Tx and Rx to Rx. I thought it should be Tx to Rx and Rx to Tx but that did not work.) User-inserted image User-inserted image User-inserted image User-inserted image User-inserted image

  2. I hooked the SparkFun Mini-B cable from the FTDI board to the ASUS Mini ITX motherboard.

  3. I powered up the EZ-B using a battery pack and then powered up the ASUS Mini ITX motherboard.

  4. Windows 7 Home Edition (64 Bit) informed me that it could not find a driver so I let it search the internet.

  5. It eventually found, loaded and installed a "FT232 USB UART" diver and assigned it to COM 7.

  6. I started ARC, chose COM 7 and clicked on Connect. The EZ-B blue LED went from blinking to solid blue and all looked good. I hooked a servo to D0 and tested its operation with good results.

User-inserted image

Notice anything interesting in the picture above?..... When I unhooked the battery pack from the EZ-B the EZ-B remained on. It was being powered from the Mini ITX. Connection was not lost. The blue LED remained on. However, I found that the servo would not work anymore until I hooked the EZ-B battery pack back up.

<- EDIT: Found out the VCC to VCC connection is not needed. I have now removed the VCC connection between the EZ-B and the FTDI.


ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

#1  

that last part is interesting. Thanks for the info! ill bookmark this for sources later.

PRO
Canada
#2  

@rgordon Yep, you'll find that the USB from the mini-itx will power the EZ-B but it will be limited by the internal 3.3V regulator of the FTDI chip (50mA). I would suggest just leaving the VCC connection out and powering the board strictly from the barrel jack (or externally). This VCC to VCC connection is essentially taking regulated 5V from the EZ-B and feeding it into the 3.3V output from the FTDI, probably not advisable.

Without the VCC line from the FTDI connected you will still be able to communicate no prob, as long as the GND to GND connection is being made the RX/TX logic will reference the same GND reference when grounds are shared.

Thanks for the tutorial! This is a question that comes up in the forums/support quite often.

United Kingdom
#4  

@skater_j10 beat me to it (for a change :)).

Nice tutorial, this will come in handy. And good job on the links :)

United Kingdom
#5  

Very useful info @rgordon

Thanks

#6  

The un-named USB TTL adapter that came with my Elechouse WiFi adapter also needs to be connected TX to TX and RX to RX, so this appears to be a common mis-labeling on these adapters (ie, they are telling the user what pin to hook up to, rather than the function of the pin).

Alan

#7  

Hey guys...should I go back and replace the pictures so they don't show the VCC connection or just leave it and let the EDIT notes take care of it?

United Kingdom
#8  

I'd say it's clear enough without changing the pictures so it's up to you really.

#10  

thanks for sharing and good job.:):):):) j

#13  

Thank you for the kind words. Glad to know that I am of some use after all.

#14  

I was amused to see this because, the day before I saw it, I had just been reading up on connecting one to an Arduino mini. After some research and ebaying I went for a Nano at $1 cheaper than buying the mini and componant plus, I don't have to worry about adding it now. I don't know what I'm going to do with it but I have an uno and I wanted something smaller. ;)

Italy
#15  

Great! I did it, but i need drivers do make it work in windows vista.......

What drivers have i to use?

#16  

Try searching for the PL-2303 driver. That may work.