Figure 2-1 The pin designations for the 40-pin Propeller chip · Figure 2-3 Using an inverting...
Transcript of Figure 2-1 The pin designations for the 40-pin Propeller chip · Figure 2-3 Using an inverting...
Figure 2-1 The pin designations for the 40-pin Propeller chip
Wiring Diagrams.indd 1 6/4/10 3:01:53 PM
Figure 2-2 The basic layout of the Propeller system
Wiring Diagrams.indd 2 6/4/10 3:01:53 PM
Figure 2-3 Using an inverting buffer to connect to an LED and a dry contact switch with a pull-up resistor
Wiring Diagrams.indd 3 6/4/10 3:01:53 PM
Figure 2-4 How methods are organized and called in a Spin application
Wiring Diagrams.indd 4 6/4/10 3:01:53 PM
Figure 3-5 Pinouts for the six inverters in a 7404 IC
Wiring Diagrams.indd 5 6/4/10 3:01:54 PM
Figure 3-6 Using one of the buffers in a 7404 to power an LED.
Wiring Diagrams.indd 6 6/4/10 3:01:54 PM
Figure 4-1 Circuitry between the output line of the Propeller and LED
Wiring Diagrams.indd 7 6/4/10 3:01:54 PM
Figure 4-3 Linear program schematic
Wiring Diagrams.indd 8 6/4/10 3:01:54 PM
Figure 4-5 Code descriptions for the program to blink an LED
Wiring Diagrams.indd 9 6/4/10 3:01:55 PM
Figure 4-6 Assigning space for a new cog
Wiring Diagrams.indd 10 6/4/10 3:01:55 PM
Figure 5-1 An overview of the Propeller memory banks
Wiring Diagrams.indd 11 6/4/10 3:01:55 PM
Fig
ure
5-2
S
imp
le c
og
lau
nch
exp
lan
atio
n, w
ith
no
var
iab
les
Wiring Diagrams.indd 12 6/4/10 3:01:55 PM
Figure 5-3 Advanced cog creation explanation, with variables.
Wiring Diagrams.indd 13 6/4/10 3:01:56 PM
Figure 6-1 Propeller hub main memory map (from page 31 of Propeller Manual [Ver. 1.1])
Wiring Diagrams.indd 14 6/4/10 3:01:56 PM
Figure 7-2 Illustration of a PWM signal
Wiring Diagrams.indd 15 6/4/10 3:01:56 PM
Figure 10-1 Simple program with three method calls
Wiring Diagrams.indd 16 6/4/10 3:01:56 PM
Figure 10-3 Wiring schematic for blinking an LED in Program 10-1
Wiring Diagrams.indd 17 6/4/10 3:01:57 PM
Figure 10-4 Wiring for one LED as programmed in Program 10-1
Wiring Diagrams.indd 18 6/4/10 3:01:57 PM
Figure 13-1 Wiring layout for blinking an LED
Wiring Diagrams.indd 19 6/4/10 3:01:57 PM
Figure 13-2 Basic power-up layout and USB connection for a Propeller chip
Wiring Diagrams.indd 20 6/4/10 3:01:57 PM
Figure 15-1 Switch controls LED on line P27 by pulling line P23 low.
Wiring Diagrams.indd 21 6/4/10 3:01:58 PM
Figure 16-1 Circuitry for reading a potentiometer with a Propeller chip
Wiring Diagrams.indd 22 6/4/10 3:01:58 PM
Figure 16-2 Graphic of resistance vs. time to discharge
Wiring Diagrams.indd 23 6/4/10 3:01:58 PM
Figure 16-3 Theoretical charging and discharging of a capacitor
Wiring Diagrams.indd 24 6/4/10 3:01:58 PM
Fig
ure
16-4
C
om
ple
te c
ircu
itry
fo
r re
adin
g a
po
ten
tio
met
er
Wiring Diagrams.indd 25 6/4/10 3:01:59 PM
Figure 16-5 The MCP3202 and MCP 3208 pinouts
Wiring Diagrams.indd 26 6/4/10 3:01:59 PM
Figure 16-7 Wiring diagram for the code shown in Program 16-3
Wiring Diagrams.indd 27 6/4/10 3:01:59 PM
Figure 16-8 Wiring diagram for a two-channel MCP3202 A2D module
Wiring Diagrams.indd 28 6/4/10 3:01:59 PM
Figure 16-9 Wiring diagram for an eight-channel 3208 A2D module
Wiring Diagrams.indd 29 6/4/10 3:02:00 PM
Figure 16-10 Wiring schematic for blinking an LED and reading a potentiometer
Wiring Diagrams.indd 30 6/4/10 3:02:00 PM
Figure 17-1 Wiring schematic for tone generator
Wiring Diagrams.indd 31 6/4/10 3:02:00 PM
Figure 17-3 Setup for reading a fixed frequency
Wiring Diagrams.indd 32 6/4/10 3:02:00 PM
Figure 18-1 Memsic 2125 gravity sensor connections
Wiring Diagrams.indd 33 6/4/10 3:02:01 PM
Fig
ure
18-3
W
irin
g t
he
Mem
sic
2125
to
a P
rop
elle
r ch
ip a
nd
an
LC
D
Wiring Diagrams.indd 34 6/4/10 3:02:01 PM
Figure 18-4 Waveforms of read and created pulse widths
Wiring Diagrams.indd 35 6/4/10 3:02:01 PM
Figure 19-2 Pin assignment for a common anode seven-segment display (face view, as seen from above). These are the pins as assigned on the 16-pin device.
Wiring Diagrams.indd 36 6/4/10 3:02:01 PM
Figure 19-3 Actual segment connections to the Propeller
Wiring Diagrams.indd 37 6/4/10 3:02:02 PM
Figure 19-5 Using four displays
Wiring Diagrams.indd 38 6/4/10 3:02:02 PM
Figure 20-1 Wiring for the metronome
Wiring Diagrams.indd 39 6/4/10 3:02:02 PM
Figure 21-2 Connecting the LCD to the Propeller chip (8-bit mode)
Wiring Diagrams.indd 40 6/4/10 3:02:02 PM
Figure 23-3 Connection schematic for Xavien two-axis amplifier
Wiring Diagrams.indd 41 6/4/10 3:02:02 PM
Fig
ure
23-4
U
sin
g t
he
Xav
ien
tw
o-a
xis
amp
lifier
wit
h a
mo
tor
Wiring Diagrams.indd 42 6/4/10 3:02:03 PM
Fig
ure
23-7
U
sin
g t
he
So
larb
oti
cs t
wo
-axi
s am
plifi
er
Wiring Diagrams.indd 43 6/4/10 3:02:03 PM
Fig
ure
23-9
W
irin
g c
on
nec
tio
ns
for
Xav
ien
sin
gle
-axi
s am
plifi
er
Wiring Diagrams.indd 44 6/4/10 3:02:03 PM
Fig
ure
24-2
W
irin
g f
or
run
nin
g a
n R
/C h
ob
by s
ervo
fro
m a
Pro
pel
ler
Wiring Diagrams.indd 45 6/4/10 3:02:03 PM
Figure 25-2 Wiring diagram for Propeller, potentiometer, and motor amplifier
Wiring Diagrams.indd 46 6/4/10 3:02:04 PM
Fig
ure
25-3
D
iag
ram
of
the
con
tro
l reg
iste
r fo
r C
TR
A b
it a
ssig
nm
ents
Wiring Diagrams.indd 47 6/4/10 3:02:04 PM
Figure 26-2 Wiring schematic for a stepper motor
Wiring Diagrams.indd 48 6/4/10 3:02:04 PM
Figure 26-3 Wiring diagram for stepper motor control from potentiometers
Wiring Diagrams.indd 49 6/4/10 3:02:04 PM
Fig
ure
27-2
W
irin
g d
iag
ram
fo
r th
e ta
ble
: co
nn
ecti
ng
to
th
e M
emsi
c ac
cele
rom
eter
to
tw
o s
ervo
s
Wiring Diagrams.indd 50 6/4/10 3:02:05 PM
Figure 28-2 Quadrature encoder signals. One signal leads the other by 90 degrees in a 360-degree cycle.
Wiring Diagrams.indd 51 6/4/10 3:02:05 PM
Figure 28-4 Wiring schematic for running a DC motor with an encoder
Wiring Diagrams.indd 52 6/4/10 3:02:05 PM
Figure 28-5 Two-potentiometer setup motor-control diagram
Wiring Diagrams.indd 53 6/4/10 3:02:06 PM
Figure 28-6 Simple ramp up/ramp down
Wiring Diagrams.indd 54 6/4/10 3:02:06 PM
Figure 28-7 The speed/time path to be followed by the motor
Wiring Diagrams.indd 55 6/4/10 3:02:06 PM
Fig
ure
D-1
W
irin
g s
chem
atic
fo
r ex
per
imen
tal b
oar
d. (
Sp
ecifi
cati
on
s ar
e lia
ble
to
ch
ang
e w
ith
ou
t n
oti
ce.)
Wiring Diagrams.indd 56 6/4/10 3:02:06 PM