<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.gumstix.com/index.php?action=history&amp;feed=atom&amp;title=Serial_voltages</id>
		<title>Serial voltages - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.gumstix.com/index.php?action=history&amp;feed=atom&amp;title=Serial_voltages"/>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Serial_voltages&amp;action=history"/>
		<updated>2026-04-06T18:30:14Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.3</generator>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Serial_voltages&amp;diff=943&amp;oldid=prev</id>
		<title>Donnay: add page</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Serial_voltages&amp;diff=943&amp;oldid=prev"/>
				<updated>2008-07-26T14:58:10Z</updated>
		
		<summary type="html">&lt;p&gt;add page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page documents the different voltage levels used for RS-232 and logic-level serial.&lt;br /&gt;
&lt;br /&gt;
When talking about serial communications, the term mark and space are used to describe the two states. From the CPUs perspective, a mark is a logic 1, and a space is a logic 0.&lt;br /&gt;
&lt;br /&gt;
Some manufactures use the term TTL interchangably with logic level. Since most modern devices are CMOS they actually use CMOS logic levels, which are slightly different from TTL logic levels. The [http://www.interfacebus.com/voltage_threshold.html Logic Threshold Voltage Levels] demonstrates some of the differences.&lt;br /&gt;
&lt;br /&gt;
==RS-232 level serial==&lt;br /&gt;
Wikipedia provides a decent explanation of the [http://en.wikipedia.org/wiki/RS232#Voltage_levels RS-232 voltage levels]. A mark (logic 1) is represented by a voltage in the range -3v to -15v. A space (logic 0) is represented by a voltage in the range +3v to +15v. In theory, the range -3v to +3v is no-mans land, however, in practice many computers extend the range of the mark to be 0v to -15v.&lt;br /&gt;
&lt;br /&gt;
==Logic level serial==&lt;br /&gt;
The raw serial signals which come from a processor chip (like the PXA-255 or the ATMega128) have a mark (logic 1) represented by Vcc (the processors supply voltage), and a space represented by 0v. For the gumstix, the PXA-255 runs at 3.3v, but the ATMega128 on the robostix runs at 5v. The [[serial adapters]] are designed to convert from logic level serial to RS-232 level serial.&lt;br /&gt;
&lt;br /&gt;
==Logic level RS-232==&lt;br /&gt;
To further complicate matters, some manufacturers create something called logic-level RS-232, which is unfortunately different from Logic level serial. Logic level RS-232 has a mark being represented by 0v and a space being represented by Vcc. The Garmin GPS18 LVC is an example of a device in this category. By using an inverter, these signals become 5v logic level serial.&lt;br /&gt;
&lt;br /&gt;
==Gumstix Expansion Boards==&lt;br /&gt;
The [[Expansions#console-vx|console-vx]], [[Expansions#consoleLCD-vx|consoleLCD-vx]], [[Expansions#console-st|console-st]], [[Expansions#console-hw|console-hw]] and [[Expansions#tweener|tweener]] expansion boards are currently the only boards which provide RS-232 level serial interfaces. &lt;br /&gt;
&lt;br /&gt;
These can be plugged in directly to the serial port on the back of your PC, or into a USB-to-RS232 adapter. Both console expansion boards have a 20-pin connector on the back, which includes a 3.3v logic level version of the STUART port.&lt;br /&gt;
&lt;br /&gt;
The [[Expansions#robostix|robostix]] and [[Expansions#roboaudio|roboaudtiostix]] present 5v logic level serial interfaces. In order to use these with your PC, you will need to use voltage conversion which is performed by a [[Serial adapters|serial adapter]].&lt;br /&gt;
&lt;br /&gt;
The [[Expansions#breakout-vx|breakout-vx]], [[Expansions#breakout-gs|breakout-gs]], [[Expansions#audiostix2|audiostix2]], [[Expansions#GPSstix|GPSstix]], and [[Expansions#thumbstix|thumbstix]] boards all have 3.3v logic level serial interfaces. In order to use these with your PC, you will need to use voltage conversion which is performed by a [[Serial adapters|serial adapter]].&lt;/div&gt;</summary>
		<author><name>Donnay</name></author>	</entry>

	</feed>