Connecting Sharp PC-G850VS to PC
|
02-12-2023, 03:07 AM
(This post was last modified: 02-17-2023 06:04 PM by robve.)
Post: #12
|
|||
|
|||
RE: Connecting Sharp PC-G850VS to PC
(01-18-2023 10:29 AM)polbit Wrote: SUCCESS! Great to hear! But others have not been so fortunate to get the DIY FTDI adapter for the PC-G850(V)(S) to work. There are several reasons why it may fail. Some are obvious, but the FTDI CST input issue and 3.3V versus 5V FTDI adapter wasn't obvious to me, since the PC-G850 UART operates at 5V. I'm posting my notes here in case someone finds this useful or would like to comment. Checklist to avoid problems
My parts list - Adafruit FTDI Friend (or SparkFun FTDI breakout 3.3V or TTL-232R cable) - A PCB mount male header breakable with 17 pins or more, for 11 pin + 6 pin connector - 1.5mm thick polystyrene sheet to construct an adapter box - 10kOhm resistor Soldering The FTDI Friend 6 pin connector aligns with the PC-G850 11 pin layout for a null modem connection. FTDI VCC is not used. Solder 5 wires of 1.5cm (0.6in) in length to connect a 11 pin header to a 6 pin header as follows, see PC-G850(V)(S) Users Guide: 6 pin 11 pin 1 GND 3 GND 2 CTS 4 RTS 3 VCC - 4 TXD 6 RXD 5 RXD 7 TXD 6 RTS 9 CTS Also solder the 10kOhm resister between GND and CTS (CTS on the 6 pin side). The resistor is placed length-wise, parallel to the wires. The adapter box I made mine with polystyrene, which was a lot simpler than 3D printing. I also cut two matches (the ones that come in a larger box that are thicker and longer than the standard matches) which I superglued to form the edges of the box. The diameter of the matches are exactly the right width to form the box: the connectors fit perfectly. Then a few dabs of hot glue to close the box. Settings and operation Use FT_PROG FTDI programmer to invert UART RXD, TXD, CTS, RTS. PC-G850(V)(S) press TEXT then Sio Format to set to baud rate = 9600, data bit = 8, stop bit = 1, parity = none, end of line = CR LF, end of file = 1A, line number = yes, flow = RS/CS To connect with minicom: $ minicom -b 9600 -8 -D /dev/tty.usbserial-2 -c on where /dev/tty.usbserial-2 is for MacOS with Adafruit TDFI Friend and may differ for other OS. Minicom settings for file transfer are set with CTRL-A Z O then select "File transfer protocols" then add or change the ascii setting: I ascii /opt/local/bin/ascii-xfr -ens -l100 Y U N Y N J ascii /opt/local/bin/ascii-xfr -enr Y D N Y N where /opt/local/bin/ascii-xfr is for MacOS and may differ for other OS. Set the PC-G850(V)(S) to receiving by pressing TEXT Sio Load. Then send a file with minicom CTRL-A Z S select one file to send. PS. Sending files as WAV files created with PocketTools the cassette interface CE-126P is at least as fast as the serial interface, but never has any reliability issues And you get a nice little printer that also serves as a battery backup for the PC-G850(V)(S) PPS. See also Silicium about USB cables with HW handshake with the FTDI chip and various Sharp Pocket Computers. - Rob Edit: mention FTDI drivers and ESD, add comments, add RealTerm observations. "I count on old friends to remain rational" |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)