I got $10 "name badge" which I can connect to the computer using a USB cable and Prolific USB-serial adapter, and, using the provided software, I can have it display 120 chars scrolling message.
I used a serial monitor and figured out the protocol it is using to upload the text. Also wrote a short tool to send my own text. Now, I would like to have the Arduino send text to it using software serial.
So my question is: When I connect the Prolific adapter, I get a serial port on my PC. The cable from the adapter is a to the LED display is a USB cable. Can I assume that the D+ and D- pins in the USB cable are the serial Tx and Rx? Can I just take those two pins and connect them to my Arduino's digital pins and use the software serial library?
szangvil:
So my question is: When I connect the Prolific adapter, I get a serial port on my PC. The cable from the adapter is a to the LED display is a USB cable. Can I assume that the D+ and D- pins in the USB cable are the serial Tx and Rx? Can I just take those two pins and connect them to my Arduino's digital pins and use the software serial library?
Not by about a million miles - USB doesn't work anything like that.
If you're lucky, you might find a USB-to-serial converter inside the device and be able to tap in to the serial output. If it uses the same signal levels as your Arduino you could potentially (sorry) connect your Arduino's software serial output to that point. This is analogous to connecting your Arduino's Rx andTx pins to another Arduino instead of using the USB interface.
The display has a micro usb port. That connects to one side of the Prolific USB-Serial adapter with a USB cable. The other side of the Prolific adapter has a standard male USB which connects directly to the PC.
So I was thinking that the output of Prolific adapter is actually a serial connection "masked" in a USB cable.
The French guy who produced the web site I linked concluded the same t hing: the "usb" connection to the display is actually a TTL serial connection. You probably have the same basic device, which is pretty ingenious (as was his teardown). Do take a look at that link!