I’m currently working on getting a thermal printer set up with my FEZ Spider. I’m a little weak on the hardware side so I’m working on wrapping my head around what I need to do.
I’m using a gameboy printer that has a serial cable connection, the internals: http://dl.dropbox.com/u/62995/Gameboy%20images/photo1.jpg
I’m at the stage where I need to get the hardware side functioning before I can do anything with the coding/programming side.
[line]
Part 1 - Connecting the printer
Here is where I’m stuck right now. I need to hard-wire the printer to my FEZ Spider through a serial connection to start transmitting data. It looks like any socket type U can accept incoming serial connections based on this page: http://gadgeteer.codeplex.com/wikipage?title=Socket%20Type%20U
The Gameboy printer includes a serial connection cable that has 4 separate wires. These are SIN, SOUT, SCK and GND. basically, serial in, serial out, serial clock(?) and ground.
It seems like I would be able to connect SIN and SOUT to the RX (pin 5) and TX (pin 4) and the GND to GND(pin 10) and the SCK to either GPIO! (pin 3) or GPIO (pin 6). Is this correct?
Here is my wiring diagram: http://dl.dropbox.com/u/62995/Gameboy%20images/Wiring.png
Do I need to add pullup resistors or anything else anywhere to make this work? Is the voltage per pin enough (3.5 and 5v?) can I literally strip and solder the connections together or do I need to go about it in another way ?
I saw this a few times, but I don’t know exactly what it means, what is full duplex?
“The Gameboy Printer requires only lines SIN, SOUT, and serial port CLK Gameboy. Everything is in 0/5V. SIN and SOUT are crossed in the cable (full duplex).”
Some good information about converting the serial connection to USB: Furrtek.org : Cable USB pour Gameboy Printer
additional links:
[ulist]
someone wiring up a serial connection to pins 4,5,6 and 10: http://www.tinyclr.com/forum/21/6022/
example gameboy serial to parallel port cable: http://www.ziegler.desaign.de/gb2pp7.gif
One more description of how data is sent and received: Furrtek.org : Reversing GameBoy Printer
[/ulist]
[line]
I hope this all makes sense, I feel like I’m so close to getting it functioning, but I missing a few things here and there. I’m not expecting you guys to read all of these links/threads, but who knows they may come in handy.
Is all of this too complex? would it make sense to just go with this?: http://electronicfields…thermal-printer-dot-net/ + http://www.sparkfun.com/products/10438
EDIT: fixed my links