GLK12232-25-SM with RS-232 and TTL Serial

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
knightofoldcode
LCD?
Posts: 4
Joined: Wed Jan 12, 2005 3:06 pm

GLK12232-25-SM with RS-232 and TTL Serial

Post by knightofoldcode »

I'd like to setup my display so that I can use RS-232 on my PC and TTL on my basic stamp. The intention is to ultimately put my display into a container with a Basic Stamp, but the BS needs TTL levels, (I guess I could design a circuit, but why when the display already has the TTL levels?) therefore I would like to solder on a pair of wires onto the pads, and use those for the TTL levels, and the initial header with the power connector for RS-232 with full 12V swings.


Image


So do I solder to A and B (as I would assume), or some other combination?

TIA,
Knight.
Tom
Matrix Orbital
Matrix Orbital
Posts: 1030
Joined: Mon Jul 19, 2004 4:43 pm
Location: Calgary
Contact:

Post by Tom »

Thanks for posting at Matrix Orbital.

You wouldn't be able to control the unit via TTL and RS-232 by hooking up both protocols. You can only use one or the other protocols. The reason for this is TTL and RS-232 are using the same TX and RX lines. If you have TTL while having the RS-232 jumpers on, there will be a conflict. The RS-232 chip will pull some of the voltage levels.

You would be able to use the I2C protocol with RS-232, but not TTL and RS-232.

Best Regards,
:D
knightofoldcode
LCD?
Posts: 4
Joined: Wed Jan 12, 2005 3:06 pm

Post by knightofoldcode »

Tom wrote:Thanks for posting at Matrix Orbital.

You wouldn't be able to control the unit via TTL and RS-232 by hooking up both protocols. You can only use one or the other protocols. The reason for this is TTL and RS-232 are using the same TX and RX lines. If you have TTL while having the RS-232 jumpers on, there will be a conflict. The RS-232 chip will pull some of the voltage levels.

You would be able to use the I2C protocol with RS-232, but not TTL and RS-232.

Best Regards,
:D
I guess I didn't explain what I wanted to do well enough. :)



I understand that I can't run BOTH rs-232 and TTL at the SAME TIME, but I'd like to be able to switch between TTL (Basic Stamp) and rs-232 (PC), without having to solder and unsolder two solder pads each time I need to take the screen off of my Basic Stamp and put it onto my PC.

Knight.
Tom
Matrix Orbital
Matrix Orbital
Posts: 1030
Joined: Mon Jul 19, 2004 4:43 pm
Location: Calgary
Contact:

Post by Tom »

The explaination I gave is pertaining to you switching from TTL to RS-232 without removing and soldering jumpers. It cannot be done.

I apologize for any inconvenience this causes you. You can have I2C and RS-232 switching though. That can still work for your basic stamp. I believe there is a I2C section in the Basic Stamp manual.

Best Regards,
knightofoldcode
LCD?
Posts: 4
Joined: Wed Jan 12, 2005 3:06 pm

Post by knightofoldcode »

Tom wrote:The explaination I gave is pertaining to you switching from TTL to RS-232 without removing and soldering jumpers. It cannot be done.

I apologize for any inconvenience this causes you. You can have I2C and RS-232 switching though. That can still work for your basic stamp. I believe there is a I2C section in the Basic Stamp manual.

Best Regards,
That's not the answer I wanted. :)

I misunderstood your response initially. I incorrectly assumed that the solder pads just connected and disconnected the rx and tx lines of the header.

I guess I'll have to look into I2C, although that's alot more crap than I'd like to play with at the moment, I can't even get the display to work with the Basic stamp as of yet.
philium
LCD?
Posts: 3
Joined: Tue Dec 04, 2007 11:42 am

Post by philium »

Could you remove all jimpers & create a circuit that switched between TTL & 233?
Clark
Matrix Orbital
Matrix Orbital
Posts: 881
Joined: Fri Aug 17, 2007 10:58 am
Location: Matrix Orbital
Contact:

Post by Clark »

Hi Philium,

Thanks for your question, sorry to hear that the solder jumpers require a little more effort than you would like to spend. Unfortunately, the solder pads must be connect for one of the protocols that you have listed for the display to work, so it would not be possible to remove them all. If you could design some sort of circuit to switch each of the pads on and off, and manage to solder it to the pads that are on the board, you may be able to avoid changing the jumpers manually. However, should you attempt to connect any circuit of this nature to your display, you would void your warranty. So, if you have the technical expertise to take on a project of this nature, and have faith in your display; go for it, if not, you'll just have to continue switching protocols manually.

Thanks,

Troy
Troy Clark
Design & Development
Matrix Orbital
Post Reply