Go to Post FIRST: Making women's hair grow, and mens hair fall out. - Ashley Christine [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-03-2008, 19:31
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Signalling voltage question

Hey all,

I have somewhat of an interesting question/problem. I am trying to interface a Handspring Visor (a very old PalmOS device) to the dashboard port on the OI. Now, the way I understand it, the OI's port is a standard RS-232 port. That would imply it is signalling at, like, +/- 12 volts, wouldn't it? The port on the Visor demands 3.3v, and I think that's a maximum, not a minimum. Is there an easy way, other than trying to track down a serial dock, to do the hardware interface here? I know which pins are the serial pins on this device, but I don't want to fry it with 12 volts. EDIT: Forgot to mention, I am definitely cracking the device open, so the physical interface is not a problem.

I am developing software for it, and this will be open-source for future teams if I get anywhere with it. It's the perfect dashboard device--small, lightweight, battery lasts *forever* and has audible and visual feedback. And an open SDK to boot.

I just don't know enough about the electrical side. I understand there's a way to drop voltage with diodes/a resistor but I don't understand it fully. Perhaps an experienced EE can help me...

Thanks in advance,
JBot

EDIT2: Ohh! I could just use a MAX232 couldn't I?
__________________
Aren't signatures a bit outdated?

Last edited by JBotAlan : 10-03-2008 at 20:15.
  #2   Spotlight this post!  
Unread 10-03-2008, 20:32
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Signalling voltage question

You are correct; the dashboard port on the RC signals at +/- 12V. It does this by using a little IC known as a MAX232.

The MAX232 is a voltage level translator specifically designed for the RS232 standard. A quick Google search on the chip number will turn up a datasheet.

Use is quite straightforward--after connecting a few required capacitors, connect the RS232 RX pin to the RC dashboard port, and the LVTTL RX pin to your handheld's RX pin.

Best of all, you can request a free sample of the chip in a DIP package from Maxim's website at www.maxim-ic.com!

Hope this helps...

Eldarion

EDIT: As mentioned below, the MAX3233E is definitely a better choice for this application. Having cut my teeth on the venerable MAX232, I tend to use it for everything...
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL

Last edited by Eldarion : 10-03-2008 at 22:02.
  #3   Spotlight this post!  
Unread 10-03-2008, 20:38
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Signalling voltage question

Quote:
Originally Posted by JBotAlan View Post
Now, the way I understand it, the OI's port is a standard RS-232 port. That would imply it is signalling at, like, +/- 12 volts, wouldn't it?
The RS-232 specification says valid signals are anywhere from +/- 3 to +/- 12.

Quote:
The port on the Visor demands 3.3v, and I think that's a maximum, not a minimum.
I don't believe the Visor does standard RS-232 by itself. It needs external hardware (in a serial cradle or cable) to convert the levels on its connector.

Quote:
Is there an easy way, other than trying to track down a serial dock, to do the hardware interface here?...EDIT2: Ohh! I could just use a MAX232 couldn't I?
A MAX203 would require fewer external parts. Look here for a relevant project.
  #4   Spotlight this post!  
Unread 10-03-2008, 20:42
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,617
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Signalling voltage question

Almost. But the MAX232 chips need a 5V supply and thus have 5V TTL outputs. Not toooo likely to fry your Visor, but if you're already going to the trouble I think you more likely want something along the lines of the MAX3232E which can operate from a 3.3V supply.

EDIT: In line with Alan's suggestion, there's also the MAX3233E hat doesn't require external caps but still runs off 3.3V
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter

Last edited by Kevin Sevcik : 10-03-2008 at 20:46.
  #5   Spotlight this post!  
Unread 11-03-2008, 01:15
Steve_Alaniz Steve_Alaniz is offline
Registered User
FRC #2848 (All Sparks)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 1997
Location: Dallas
Posts: 211
Steve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond repute
Re: Signalling voltage question

Quote:
Originally Posted by Kevin Sevcik View Post
Almost. But the MAX232 chips need a 5V supply and thus have 5V TTL outputs.
ONLY if you eliminate the capacitors that are suggested for the chip. They provide a "Charge Pump" that shifts the voltage levels from 0-5V to about -10v to +10v.. then it's just operating as a line driver...not it's main design function. ( Output... oh, you mean the TTL side of the chip. since you have an RX and TX on both sides, you really can't say one side is input and the other output. A little terminology cross talk there.) It's a really nice chip! Not that this really matters because ....


Quote:
Originally Posted by Kevin Sevcik View Post
I think you more likely want something along the lines of the MAX3232E which can operate from a 3.3V supply.
I agree... this would be the way to go. There are internal capacitors that do the voltage boost so you can use the TTL 0 -3.3V and get the RS232 on the output. Too bad you just can't bypass the OI RS232 shift and just go TTL to TTL.

Steve

Last edited by Steve_Alaniz : 11-03-2008 at 09:02. Reason: rethought
  #6   Spotlight this post!  
Unread 11-03-2008, 22:55
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Signalling voltage question

Thanks. I have ordered a sample; I'll see if it works for me when I get it.

JBot
__________________
Aren't signatures a bit outdated?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Signalling Methods during Hybrid 114Klutz Programming 6 07-03-2008 15:19
Quick question relating voltage across compacitor Adam Y. Math and Science 2 11-11-2005 19:39
OI Voltage JAH Electrical 7 12-11-2004 20:01
Battery voltage Josh Siegel Programming 5 22-12-2003 10:15
Voltage Byte -> True Voltage Ulibrium Technical Discussion 11 01-03-2002 08:55


All times are GMT -5. The time now is 16:46.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi