test1
April 29, 2017, 04:28:22 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You may have to login twice the first time,  but we don't know why - Erm I mean it's a security thing yeah that's it - security.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Tablet PC digitizer pinout serial  (Read 451 times)
LTN121t
New Poster
*
Posts: 11


View Profile
« on: September 11, 2016, 07:01:53 AM »

Hello, this site seems to be just what I was looking for, if not a little too technical.
I have a Fujitsu T2010 panel which seems very similar to this: http://forum.bongofish.co.uk/index.php?topic=2325.0
However I could not understand much of the technical information, and also the pin connections are different. For mine, only the first and last eight pins have wires leading out, as shown in the picture.
I have heard from various places that this uses a serial interface. If so,
1. How do I figure out the pinout? (I have access to a multimeter and a soldering iron)
2. Can I just connect this to a serial port on my computer (it has one) or a USB-to-Serial converter once pinout is sorted?
3. If connected to the computer via serial, can I use the original Tablet PC Wacom drivers or the Fujitsu drivers?

I read on this forum that serial Penabled drivers were unavailable, although I was using drivers from Wacom fine until yesterday when my T2010 died: http://us.wacom.com/en/feeldriver/

As for the LCD I think I can just hack up a connection to a universal driver board using the existing cable as the datasheets for the LCD are available.

A Teensy is rare and prohibitively expensive here.

Also, I read some people using these "MAX232" devices with serial tablets, is this necessary?
http://www.ebay.com/itm/5pcs-MAX3232-RS232-Serial-Port-To-TTL-Converter-Module-DB9-Connector-AB-/282036507753?hash=item41aaaf9469:g:gkIAAOSw3mpXNXc6
^that seems to be a MAX3232, which apparently allows 3.3v, so it should be more suited for this, right?

Thank you for reading. I hope this forum hasn't died.

* aaa.jpg (178.92 KB. 747x560 - viewed 44 times.)

« Last Edit: September 11, 2016, 07:13:50 AM by LTN121t » Logged
XDjackieXD
Full Member
***
Posts: 124


*me trying to draw*


View Profile WWW
« Reply #1 on: September 11, 2016, 11:05:40 AM »

1.) http://wiki.bongofish.co.uk/doku.php?id=bongofish:penenabled scroll down to the 14-pin pinout.
2.) the wacom tablet has 3.3V logic level serial (also it needs a 3.3V supply! anything else will destroy it) so you will need a max232 or similar chip. using a usb <-> ttl converter is also possible (FT232RL for example)
3.) I have absolutely no idea. I exclusively used mine on Linux where you just have to run a command similar to "sudo inputattach --w8001 /dev/ttyUSB0 --baud 19200" (38400 is also a common baudrate) or setup the right udev rules.

As for the teensy: I worked on porting waxbee from C++ to C with cheap atmel chips (atmega8 and atmega328 to be exact) as target processor using vUSB but I haven't done any of the USB communication yet but I finished porting the wacom serial part. Maybe someone with knowledge of the wacom USB protocol wants to finish it?
Logged
Ertew
Full Member
***
Posts: 74


View Profile
« Reply #2 on: September 11, 2016, 12:18:06 PM »

For LCD, You need universal converter board like VGA->LVDS or DVI->LVDS or DHMI->LVDS. Plus You need to have a cable that fits to converter (2mm raster) and to Your LCD.
Cheapest option is to buy converter with any cable. Chop LCD connector from universal cable and MOBO connector from Your cable, then solder that two cables together.
Just be sure to not swap power or ground pins, everything else can be safety swapped and corrected later.
For more info, look at my unfinished build with T5010 screen: http://forum.bongofish.co.uk/index.php?topic=2562.0


As I see, You have digitizer with serial output (RS232-TTL) that required 3.3V supply to work. You can connect it to PC via serial port but You need to provide power supply to digitizer. So this way wasn't the best idea. You should use USB to play with tablet. There are two ways to do it.

1. Use USB to serial converter, like this:
http://www.ebay.com/itm/5V-and-3-3V-FTDI-FT232RL-USB-to-TTL-Serial-Converter-Adapter-Module-For-Arduino-/252225272540
On linux it works native. On windows You need to play with drivers like show last post on this thread: http://forum.bongofish.co.uk/index.php?topic=2083.msg22170#msg22170

2. WaxBee converter (Teensy board with right firmware) can translate signals and emulate regular Wacom tablet. You will use drivers for modern tablets like Intuos or Bamboo. Some manual can be found on this forum:
http://forum.bongofish.co.uk/index.php?topic=2556.msg21943#msg21943
http://forum.bongofish.co.uk/index.php?topic=2510.0
http://forum.bongofish.co.uk/index.php?topic=2569.0

3. TabletPC drivers required special hardware - serial port designed to communicate with digitizer. Thus this drivers work only on tablet/laptop that have digitizer. You cannot use it on regular PC with extra digitizer.

XDjackieXD show You pinout for the digitizer. In fact You need only 4 to 6 pins to connect digitizer:
- 1x or 2x ground (pin 14 and pin 1),
- supply voltage (pin 13),
- RX and TX pins (9 and 10),
- optional pin for LED that shines when digitizer see pen (pin 6).
Logged

Any errors in spelling, tact or fact are transmission errors.

Hi! I'm a signature virus. Copy me into your signature to help me spread.
LTN121t
New Poster
*
Posts: 11


View Profile
« Reply #3 on: September 11, 2016, 02:11:19 PM »

Those were speedy replies! First of all, thanks for pointing me in the right direction for the pinout.
What is the difference between the computer's serial port, UART, RS232 and TTL? I have seen 'serial' been used to describe all of these, which is extremely confusing. And then the descriptions of eBay sellers being "USB to RS232 TTL" not making things any better (PL2303HX chip?).
Is it really not possible to use the tablet without using an external microcontroller? Some of my computers aren't that old and do have a serial port...
Still, if it is the only way to get this to work I will try to obtain either an Atmega32U4 clone or a Teensy, though I know next to nothing in regards to actually programming those devices.

If worst comes to worst, the LCD panel can still be used as a monitor as I already have the necessary parts to make that work.

That said, thank you for reading this! I have observed that so many forums have died as of late.
« Last Edit: September 11, 2016, 02:41:03 PM by LTN121t » Logged
Ertew
Full Member
***
Posts: 74


View Profile
« Reply #4 on: September 11, 2016, 02:52:32 PM »

USB 1.1 and USB 2.0 have 5V supply, ground and one pair of twisted wires. These pair must be twisted and cannot be separated to two independent wires.
USB transport complex signal including bidirectional data and commands between host and device. Each device have descriptor - some information about type of this device. PC can handle many different devices (keyboard, tablet, printer, flash drive, ...) at one port because it have have different descriptors that uniquely identifies each type of device.
Teensy can be named fake device. Because it's just a microcontroller but can emulate keyboard, mouse, or in this case modern tablet.

RS232 aka COM port have ground, TX (serial transmit), RX (serial receive) and some control wires (can be omitted in most cases). Logic one = -12V, logic zero = +12V. There are no host/device, master/slave regulations. Just connect TX from one device to RX from second and try to talk. This interface is good at long distances but relatively high voltage can kill microcontroller and digitizer.

RS232-TTL is the same interface, but voltage levels are different. Logic zero = 0V, logic one = 5V or 3.3V.
This type of interface serves the Teensy and this is required by digitizer.


So if You have Linux or Win XP, buy RS232 <-> TTL converter (mentioned at Your post) or USB -> RS232 TTL converter (mentioned in My post), search for drivers and start playing with tablet.
If You have newer Win version, You can still do that, but that's not trivial and not plug'n'play process. I cannot help here, because i tried this and finished without success.
Btw, for COM port You need to add power supply or steal 5V from USB/PS2/gameport/LPT.

WaxBee is the only way for very old tablets with ADB connector. It works well for serial tablets too.
How to use it? If You buy Teensy 2.0 (Atmega32U4 with special bootloader), download waxbee-0.16.zip from this site: https://github.com/popbee/waxbee/releases
This software allow You to create firmware and upload it into Teensy. If You pick wrong options, You can try again.
If You have clone with Atmega32U4 and different bootloader, You need to generate firmware in WaxBee, then play with AvrDude or similar software. Cheaper but more fun.
Logged

Any errors in spelling, tact or fact are transmission errors.

Hi! I'm a signature virus. Copy me into your signature to help me spread.
LTN121t
New Poster
*
Posts: 11


View Profile
« Reply #5 on: September 12, 2016, 07:13:08 AM »

I understand most of what must be done now. Thank you users Ertew and XDjackieXD for your assistance; I will report back if I encounter any problems. I've found places to get a Teensy so I should be able to buy both that and a RS232/TTL converter, although shipping from overseas may take a while.
Logged
Pages: [1]
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!