USB Power USB to Serial Adapter
Macgruber
Posts: 20
Hi Everyone,
Had a question regarding the USB to Serial Adapter... I wanted to use this hardware to provide communication to an IR circuit which has some LEDs (total consumption ~200mA tops) and I was wondering if the USB BUS power from my laptop will be available through this adapter (couldn't find a datasheet). I read online that a USB device can request that the host categorize the device as high power and supply it with 500mA but I don't even know if this is possible via the adapter.
Any feedback would be appreciated!
http://www.edn.com/article/CA220400.html
Had a question regarding the USB to Serial Adapter... I wanted to use this hardware to provide communication to an IR circuit which has some LEDs (total consumption ~200mA tops) and I was wondering if the USB BUS power from my laptop will be available through this adapter (couldn't find a datasheet). I read online that a USB device can request that the host categorize the device as high power and supply it with 500mA but I don't even know if this is possible via the adapter.
Any feedback would be appreciated!
http://www.edn.com/article/CA220400.html
Comments
If anyone from parallax is listening... A datasheet on the usb to serial adapter would be really really useful!
Next time I might just order the raw chip and go from there...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
Chris, I have no idea if the chip is configured for triggering the enumeration of the USB port as a high powered device??? Isn't this a parameter that you program on the chip? I take it that the Pin Out of the DB9 connector is like a standard computer serial port? Vcc is not passed through one of the pins? The FTDI chip also allows for multiple configurations to make the device support the powering / signaling of the slave device for different USB conditions... Are these utilized?
Maybe I'm clueless but I just don't seem to have a good handle as to how I need to incorporate this device. I noticed multiple test points on the board... Can I solder a lead to one of these to get the USB power?
I'm wondering if we're even talking about the same adapter, since our USB to 232 doesn't have any test points on it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
I was considering making this a new thread but figured that for continuity I would just ask this question about making a circuit that uses the USB bus power...
I'm thinking that I am going to order the DS_MM232R (link below) from FTDI to make the final circuit. As far as I can tell, this device is like the USB to serial adapter but it just gives you a USB port that connects to the FTDI chip and then provides header pins to access the IO of the FTDI chip along with the RS232 com lines. Now, on the Parallax USB to serial adapter there are a couple of extra ICs that as far as I can tell are used to bring the IO of the FTDI chip to RS232 level??? If that is the case, do I need to do anything special when connecting the DS_MM232R to my SX chip? I imagine I can just use the TTL signals from the header pins and run them right to the IO pins of my SX chip without any need for an RS232 level converter? Should I place a resistor between the header pins and the SX IO pins?
Ultimately, the objective of using the DS_MM232R is that I can get the virtual com port and then wire IO of the FTDI chip to control the power of my circuit through a P-channel logic level MOSFET. One of the IO pins on the DS_MM232R can be programmed to switch the circuit on and off when the PC goes into suspend and when the device is being enumerated so I don't draw too much current off the USB bus. I'm thinking that I can use this technique along with the brownout detection of the SX chip to switch the circuit on and off and run everything off USB!
Do you gurus think that this is possible or am I oversimplifying my design?
www.ftdichip.com/Products/EvaluationKits/MM232R.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering