28119 Parallax Inc, 28119 Datasheet - Page 87

KIT UNDERSTANDING SIGNALS

28119

Manufacturer Part Number
28119
Description
KIT UNDERSTANDING SIGNALS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28119

Lead Free Status
Contains lead
Accessory Type
Oscilloscope
Interface Type
USB
For Use With/related Products
BASIC Stamp® 2 and Board of Education
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
281197-2
Manufacturer:
TE
Quantity:
20 000
Part Number:
281197-2
Manufacturer:
MOLEX
Quantity:
2 500
ACTIVITY #2: DISPLAYING 8-BIT TRUE DATA
By changing the
data or inverted data. The
inverted) data at a baud rate of 9600. Look at the code snippets below:
Generally, when the signal level is RS-232, (roughly -12 to +12 VDC), inverted data is
specified. When the signal level is TTL, (roughly, 0 to 5 VDC), true data polarity is
specified. What complicates this issue is that RS-232 is normally inverted, so when we
invert normal RS-232, we get normal data. Get it? Don’t bother. Just be aware that RS-
232 comes in two flavors, and it’s good to have an OPTAscope to figure out which one
you are dealing with.
Set the Horizontal dial back to 500 µs.
Modify the program AsynchSerial.bs2 to send true data by changing the
command’s
Run the modified program.
'Inverted Data
SEROUT 14, 16468, [Value] 'Idle state = 0,
'True Data
SEROUT 14, 84,
SEROUT 14, 84, [Value]
Baudmode
Baudmode
argument, we can direct the BASIC Stamp to send normal
Baudmode
argument to read:
[Value] 'Idle state = 1,
argument
'logic 0 = 1
'logic 0 = 0
84
specifies 8-bit no-parity true (non-
logic 1 = 0,
logic 1 = 1,
SEROUT

Related parts for 28119