Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 4th July 2006, 10:37 PM   (permalink)
Default USB - TTL Converter

I'd like to build an USB - TTL converter for my camera. I've seen on FTDI site many options but I don't know which one to use, some of them are USB - SERIAL converters.
I have an ideea to use one of these schematics to build USB - SERIAL converter, then an level shifter with MAX232, then use optocouplers to output safely TTL.
I have also a question: If I build this converter, it is necessary to add the optocouplers? Is there any chance to have the surge problem, spike, lightning and grounding problems if I don't use the optocouplers?
Below is the schematics for the converter SERIAL - TTL, opticaly isolated, which needs power supply. I am trying to get power for this converter from a USB - SERIAL converter.
Can this be done?
THANKS
Attached Images
File Type: jpg RS232 - TLL Opto-Isolated.jpg (167.6 KB, 80 views)
samltd is offline   Reply With Quote
Old 5th July 2006, 02:02 AM   (permalink)
Default

yes, you can use isolated DC/DC converter (5V in from USB port, two 5V outputs to your circuits Vcc and Vcc2). low power versions should be $10-12 but you can build your own too.

----edit ----

here is what BB Electronics makes (not detailed presentation of the circuit)

http://www.bb-elec.com/bb-elec/literature/232ottl.pdf

Last edited by panic mode; 5th July 2006 at 02:10 AM.
panic mode is offline   Reply With Quote
Old 5th July 2006, 09:57 PM   (permalink)
Default

Thanks for posting.
The whole idea is to mount on same board the USB-Serial converter, MAX232 circuitry and optocouplers. MAX232 circuitry will connect as on real serial port, will get power from this port and the optocouplers will get power on one side from serial port's adapter, and the other side from camera.
The new USB - TTL converter will contain:
1. USB-Serial adapter
2. MAX232 circuitry
3. optocouplers.
It is not only to power the adapter from USB port, but to create une virtual COM port, using FTDI chip & driver. On this port suppose to connect rest of circuitry, powered from this newly created serial port.
Can this be done?
samltd is offline   Reply With Quote
Old 6th July 2006, 11:34 PM   (permalink)
Default

why don't you try and let us know? i think i saw some development kits too...
panic mode is offline   Reply With Quote
Old 7th July 2006, 12:51 AM   (permalink)
Paul Obrien
Default

If you're after a USB to TTL why would there be a need for RS232 level conversion?? Try a FX2 wich includes a UART, couple that to the opto and boomshanka
  Reply With Quote
Old 7th July 2006, 09:46 PM   (permalink)
Default Idea

Thanks for posting. I got the idea with RS232 Level Convertor.
Here is what I found: on FTDI site, datasheet for FT232, includes the RS232 Level Converter. I tried to make a schematic, I don't know if it is correct.

Beside that, I understood that the data cables for mobile phones also create a virtual COM port, come with CD with drivers and I'm thinking to use one cable for mobile phones, cut it, add the optocouplers and connect to camera. What do you think, could the GSM data cable work with the optocouplers?
Attached Images
File Type: jpg TEST.jpg (102.3 KB, 43 views)
samltd is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 06:53 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.