hylandz
Posts: 9
Joined: Thu Nov 28, 2013 6:19 pm

Prolific USB to serial converter

Wed May 28, 2014 5:00 pm

Looking to start up a mini project but after endless searching keeping coming up unstuck!

Basically I would like to add a USB to serial converter and connect the serial lead to some hardware and if possible run indigo terminal emulator on the raspberry pi or similar software.

My end goal is to mirror the terminal information to an iPad via WiFi or 3g which I think I can suss out, but all the information I keep finding about the usb/serial is to connect a laptop via the USB using a shifter board?

If anyone could point me in the right direction would be great

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Prolific USB to serial converter

Wed May 28, 2014 5:28 pm

There is lots of relevant information here - http://elinux.org/RPi_Serial_Connection

Basically, just plug the prolific-based convertor in. It will be recognised automatically by the linux kernel and be assigned a device name like /dev/ttyUSB0

Then simply run a terminal emulator and configure it to use that device. Indigo is probably a non-starter, as its website seems to state that it is for Windows only. There are alternatives mentioned in the resource given above.
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Prolific USB to serial converter

Thu May 29, 2014 7:08 am

Additional information for clarity...

It is possible to buy usb-to-serial convertors with 2 types of connection: either a 9-pin 'd-type', or as bare 'flying leads.'

If you want to work with other other hardware with rs232 serial interfaces you will probably have bought the first type, and the signal levels will probably already be compatible.

The second type probably only delivers 'logic level' voltages ( 0v and either 3.3v or 5v depending on the spec) which are NOT rs232-compatible: this is the situation in which you would need an external 'level shifter'.
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

hylandz
Posts: 9
Joined: Thu Nov 28, 2013 6:19 pm

Re: Prolific USB to serial converter

Thu May 29, 2014 4:29 pm

Thank you for the help!

That link set me off, I'm working with an RS232 device and successfully (after many hours!) got It sending information to Cutecom and minicom.

The next part I got working also, I managed to view the information wirelessly through a VNC, although the concept works via WiFi, I would like to send the information via 3G and just worried about the mount of information being transmitted slowing everything down when all I want is the cutecom/minicom information.

I know ser2net sends information collected by ports via the net but not sure how I will go about this yet, back to Google or if you or anyone else has any ideas?

Return to “Beginners”