Pigmy Boards ASCII Circuits, Overlays, etc.
PIGMY Boards: Sold out 4-Apr-99
For reference only.
This file won't display correctly with a Web Browser as it is based on
the IBM character set that uses data bit 7 as a printable character. You
will have to view it, and/or print it via a program like xtreegold, qedit,
or even DOS.
RELAY BOARD CONNECTION. WATCH OUT.....
If you do connect a relay board, make sure that you line up the flat
ribbon cable correctly. If you lay out the boards with the J1 headers
of each board nearest each other and connect the cable, you will have
a short between +5V and ground. I designed the pinout this way so that
any incorrect connection would load the power supply, not the PIC
chip. I don't want you to damage your PIC chip!
You will need a twist in the cable, or lay the boards out in such a
way that you don't have to twist the cable, such as running the cable
across or under one board.
RELAY8 Board connection to PIGMY board...
&nb RELAY8 BOARD
&nb ÚÄÂÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄ¿
&nb ³ ³ ³ ³
PIGMY BOARD ³ ³ &p; ³ Ú¿ ³
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ 40 WIRE CABLE ³ ³ ³sup3;³ ³
³ ÚÂÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&A;´ ³ ³ ³³ÚÂÁÄ¿
³ ÚÄÄ¿ Ú¿³³ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&Aumsup3; ³ ³ ³³³³Äij
³ ³ ³ ³³³³ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄij &supnbsp; ³ ÀÙ³³Äij
³ ³ ³ ³³³³ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄij &supnbsp; ³ ³³Äij
³ ÀÄÄÙ ÀÙÀÁÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄuml;´ ³ ³ ÀÁÂÄÙ
ÀÄÄÄÄÄÄÄÂÄÄÄÄÄÄÂÙ &n; ³ ³ ³ ³
ÀÄÄÄÄÄÄÙ &nbs³ ³ ³ ³
DB-25 ³ ³ &p; ³ ³
&nb ³ ³ ³ ³
&nb ÀÄÁÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÙ
You can do this connection one of two ways.
(1) Put a twist in the cable so that Pin1 of each end of the cable
lines up.
(2) Run the cable under or over one board as shown above.
______________________________________________________________________
It is possible to use a pin as both an input and an output. As an
example, an LCD display can be driven off the same pins that are used
for a keyboard input.
The following circuit can be used:
+5V
ÄÂÄ
³
ÚÁ¿
³ ³ 4K7
ÀÂÙ
ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄuest;
ÚÁ¿ &n; ³SWITCH
³ ³ 470 OHMS ³
ÀÂÙ Ä&Ate;Ä
³ GND
PIC ³
PORT PIN ÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&AuÄÄÄÄÄÄ DEVICE (LCD)
This will allow you to drive the port pin either high or low without
overloading the PIC chip, even when a switch is pressed.
______________________________________________________________________
NETWORKING THE PICEX:
To network a system of PICEX boards, all you need is the appropriate
daisy chained 3 wire circuit wired to DB-25 connectors. This is hooked
up as follows:
DB-25 FEMALE DB-25 FEMALE DB-25 FEMALE
BOARD 00 BOARD 01 BOARD 02
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿bsp; ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ 3 2 7 ³ ³ 3 2 7 ³ ³ 3 2 7&nbs³
ÀÄÄÄÄÂÄÄÂÄÄÒÄÄÄÙ ÀÄÄÄÄÄÂÄÄÂÄÄÒÄÄgrave; ÀÄÄÄÄÄÂÄÄÂÄÄÒÄÄÙ
³ ³ ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍØÍcute;ÊÍÍÍÍÍÍÍÍÍÍÍÍÍÍØÍÍØÍͼ
ÀÄÄÅÄÄ×ÄÄÄÄÄ>ÄÄÄÄÄÄÄÄÄÅÄÄÙ sp; ³ ³
³ º ÀÄÄÄÄÄÄÄÄ>ÄÄ&AuÄÄÄÄÄÄÄÄÅÄÄÙ
ÚÄÄÅÄÄ×ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ&AumAuml;ÄÄÄÄÄÄÄÄÄÄÙ
³ ³ º
³ ³ º ÚÄ¿ ÚÄÂÄ¿
ÚÄÄÄÄÁÄÄÁÄÄÐÄÄÁÄÁÄÁÄÁÄÁÄÄÄÄ¿
³ 3 2 7 4 5 6 8 20 ³DB-25 MALE TO PC
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
If you need to remove a board and keep the network intact, simply use
a DB-25 Female dummy plug that has pins 2 and 3 shorted together.
______________________________________________________________________
PIGMY Board Pinout for Basic Stamp-1:
N/U = Not Used. J2 PIGMY Board PINOUT
&nb ÚÄÄÄÄÄ¿
&nb +5V ³34 33³ +5V
&nb N/U ³32 31³ GND
J1 PIGMY Board PINOUT N/U ³30 29³ GND
ÚÄÄÄÄÄ¿ &nbsnbsp; N/U ³28 27³ GND
+5V ³26 25³ +5V N/U ³26 25³ GND
GND ³24 23³ GND N/U ³24 23³ GND
N/U ³22 21³ N/U N/U ³22 21³ GND
N/U ³20 19³ N/U N/U ³20 19³ GND
N/U ³18 17³ N/U N/U ³18 17³ GND
N/U ³16 15³ N/U (RB7) PIN 7 ³16 15³ GND
N/U ³14 13³ N/U (RB6) PIN 6 ³14 13³ GND
(RB7) PIN 7 ³12 11³ PIN 6 (RB6) (RB5) PIN 5 ³12 11³ GND
(RB5) PIN 5 ³10 9³ PIN 4 (RB4) (RB4) PIN 4 ³10 9³ GND
(RB3) PIN 3 ³ 8 7³ PIN 2 (RB2) (RB3) PIN 3 ³ 8 7³ GND
(RB1) PIN 1 ³ 6 5³ PIN 0 (RB0) (RB2) PIN 2 ³ 6 5³ GND
N/U ³ 4 3³ N/U (RB1) PIN 1 ³ 4 3³ GND
N/U ³ 2 1³ N/U (RB0) PIN 0 ³ 2 1³ GND
ÀÄÄÄÄÄÙ &nbsnbsp; ÀÄÄÄÄÄÙ
______________________________________________________________________
PIGMY Board Pinout for PIC Chips:
&nb J2 PIC CHIP PINOUT
&nb ÚÄÄÄÄÄ¿
&nb +5V ³34 33³ +5V
&nb RC7 ³32 31³ GND
J1 PIC CHIP PINOUT RC6 ³30 29³ GND
ÚÄÄÄÄÄ¿ &nbsnbsp; RC5 ³28 27³ GND
+5V ³26 25³ +5V RC4 ³26 25³ GND
GND ³24 23³ GND RC3 ³24 23³ GND
RTCC ³22 21³ MCLR RC2 ³22 21³ GND
RC7 ³20 19³ RC6 RC1 ³20 19³ GND
RC5 ³18 17³ RC4 RC0 ³18 17³ GND
RC3 ³16 15³ RC2 RB7 ³16 15³ GND
RC1 ³14 13³ RC0 RB6 ³14 13³ GND
RB7 ³12 11³ RB6 RB5 ³12 11³ GND
RB5 ³10 9³ RB4 RB4 ³10 9³ GND
RB3 ³ 8 7³ RB2 RB3 ³ 8 7³ GND
RB1 ³ 6 5³ RB0 RB2 ³ 6 5³ GND
RA3 ³ 4 3³ RA2 RB1 ³ 4 3³ GND
RA1 ³ 2 1³ RA0 RB0 ³ 2 1³ GND
ÀÄÄÄÄÄÙ &nbsnbsp; ÀÄÄÄÄÄÙ
______________________________________________________________________
PICEX Max-232 wiring:
J15
ÚÄÄ¿
³ ³RA3
³ ³RA2
ÚÄÄÄÄÄÄÄÄÄÄÅÄÄÅRA1
2 ³1 ³ ÚÅRA0
ÚÄÄÅ¿ ÀÄÅÙ
ÀÅÄÄÙJ14 ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
1=RX(MAX)
2=TX(MAX) 3 2 1
ÚÄÄÄÄÄÄÄuest; J19
5 3 1 ³ÍÍÍ ³
ÚÄÄÄÄÄÄ¿ ÀÄÄÄÄÄÄÄ&ave;
³ÍÍÍ ³ 3 2 1
ÃÄÄÄÄÄÄ´ J17 ÚÄÄÄÄÄÄÄ¿ J18
³ÍÍÍ ³ ³ÍÍÍ ³ Add the two cross linkt this
ÀÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÙ point. Read the t.
6 4 2
______________________________________________________________________
FED Basic Max-232 wiring:
1=SDA EEPROM
2=SCL EEPROM
J15
ÚÄÄ¿ 2 1
ÚÄÄÄÄÄÄÄÄÄÄÄÄÅÄ ³RA3 ÚÄÄÄ¿J16  bsp; 1=RX(CC)
³ ÚÄÄÄÄÄÄÄÄÄÄÅÄ ³RA2 ÀÅÄÅÙ  bsp; 2=TX(CC)
³ ³ RA1³ ÄÅÄÄÄÄÄÄÄÄÄÄÅÄÙ
2³ ³1 RA0³ ÄÅÄÄÄÄÄÄÄÄÄÄÙ &nb 2 1
ÚÅÄÅ¿ ÀÄÄÙ &nb ÚÄÄÄ¿J22
ÀÅÄÄÙJ14 sp; ÀÅÄÄÙ
ÀÄÄÄÄÄÄÄ This extra signal only needed for 2K EEPROM.ÄÄÙ
1=RX(MAX)
2=TX(MAX)
5 3 1
ÚÄÄÄÄÄÄ¿
³ÍÍÍ ³
ÃÄÄÄÄÄÄ´ J17 Ignore J18, J19, and J20.
³ÍÍÍ ³
ÀÄÄÄÄÄÄÙ
6 4 2
______________________________________________________________________
FED Basic Cheap Comms wiring:
1=SDA EEPROM
2=SCL EEPROM
J15
ÚÄÄ¿ 2 1
ÚÄÄÄÄÄÄÅÄ ³RA3 ÚÄÄÄ¿J16  bsp; 1=RX(CC)
³ ÚÄÄÄÄÅÄ ³RA2 ÀÅÄÅÙ  bsp; 2=TX(CC)
³ ³ RA1³ ÄÅÄÄÄÄÄÄÄÄÄÄÅÄÙ
³ ³ RA0³ ÄÅÄÄÄÄÄÄÄÄÄÄÙ  bsp; 2 1
³ ³ ÀÄÄÙ &n; ÚÄÄÄ¿J22
³ ³ &p; ÀÅÄÅÙ
³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄuml;ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄml;ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
5 3 1
ÚÄÄÄÄÄÄ¿
³ ÍÍͳ
ÃÄÄÄÄÄÄ´ J17 Ignore J18, J19, and J20.
³ ÍÍͳ
ÀÄÄÄÄÄÄÙ
6 4 2
_______________________________________________________________
Suitable Relays for the Relay Board.
Dick Smith.....
SPDT 8-12 Volt DC Relay. Cat. P-8008 Contacts 3A @120VAC. $2.95
225 Ohms
ÚÄÄÄÄÄ¿
NO³x x³ NC
³ ³ Bottom View
³ ³
³ ³
Coil ³x x³ Coil
³ x ³
ÀÄÄÄÄÄÙ
COM
_______________________________________________________________
Rod Irving...
12 Volt type SPDT Cat. S14114 O/P 240VAC @10A
Coil resistance 180 Ohms $7.95
ÚÄÄÄÄÄÄ¿
NO ³x ³ Bottom View
³ x³COM
NC ³x ³
³ ³
³ ³
³ ³
Coil ³x x³ Coil
ÀÄÄÄÄÄÄÙ
_______________________________________________________________
Tandy.....
SPDT Microminature 12 Volt PC relay. Cat. 275-241
Contacts 1A @125VAC. $3.49
ÚÄÄÄÄÄÄ¿
³ x³COM Bottom View
³ ³
³ ³
³ ³
Coil ³x x³ Coil
NC ³x x³ NO
ÀÄÄÄÄÄÄÙ
_______________________________________________________________
Tandy.....
SPDT 12 Volt Reed Relay. Cat. 275-233 Contacts 1A @125VAC. $2.99
ÚÄÄÄÄÄ¿
³ x ³ NO
³ ³ Bottom View
³ ³
³ ³
Coil ³x x³ Coil
³ x ³
ÀÄÄÄÄÄÙ
COM
_____________________________________________________________________________
Binary to Hex and Decimal Converter Chart by Don McKenzie. 12-Dec-95.
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄ&l;ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
7654 3210 Hex Dec ³ 7654 3210 Hex Dec ³ 7654 3210 Hex Dec ³ 7654 3210 Hex Dec
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄ&l;ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
0000 0000 00 0 ³ 0100 0000 40 64 ³ 1000 0000 80 128 ³ 1100 0000 C0 192
0000 0001 01 1 ³ 0100 0001 41 65 ³ 1000 0001 81 129 ³ 1100 0001 C1 193
0000 0010 02 2 ³ 0100 0010 42 66 ³ 1000 0010 82 130 ³ 1100 0010 C2 194
0000 0011 03 3 ³ 0100 0011 43 67 ³ 1000 0011 83 131 ³ 1100 0011 C3 195
0000 0100 04 4 ³ 0100 0100 44 68 ³ 1000 0100 84 132 ³ 1100 0100 C4 196
0000 0101 05 5 ³ 0100 0101 45 69 ³ 1000 0101 85 133 ³ 1100 0101 C5 197
0000 0110 06 6 ³ 0100 0110 46 70 ³ 1000 0110 86 134 ³ 1100 0110 C6 198
0000 0111 07 7 ³ 0100 0111 47 71 ³ 1000 0111 87 135 ³ 1100 0111 C7 199
0000 1000 08 8 ³ 0100 1000 48 72 ³ 1000 1000 88 136 ³ 1100 1000 C8 200
0000 1001 09 9 ³ 0100 1001 49 73 ³ 1000 1001 89 137 ³ 1100 1001 C9 201
0000 1010 0A 10 ³ 0100 1010 4A 74 ³ 1000 1010 8A 138 ³ 1100 1010 CA 202
0000 1011 0B 11 ³ 0100 1011 4B 75 ³ 1000 1011 8B 139 ³ 1100 1011 CB 203
0000 1100 0C 12 ³ 0100 1100 4C 76 ³ 1000 1100 8C 140 ³ 1100 1100 CC 204
0000 1101 0D 13 ³ 0100 1101 4D 77 ³ 1000 1101 8D 141 ³ 1100 1101 CD 205
0000 1110 0E 15 ³ 0100 1110 4E 78 ³ 1000 1110 8E 142 ³ 1100 1110 CE 206
0000 1111 0F 15 ³ 0100 1111 4F 79 ³ 1000 1111 8F 143 ³ 1100 1111 CF 207
0001 0000 10 16 ³ 0101 0000 50 80 ³ 1001 0000 90 144 ³ 1101 0000 D0 208
0001 0001 11 17 ³ 0101 0001 51 81 ³ 1001 0001 91 145 ³ 1101 0001 D1 209
0001 0010 12 18 ³ 0101 0010 52 82 ³ 1001 0010 92 146 ³ 1101 0010 D2 210
0001 0011 13 19 ³ 0101 0011 53 83 ³ 1001 0011 93 147 ³ 1101 0011 D3 211
0001 0100 14 20 ³ 0101 0100 54 84 ³ 1001 0100 94 148 ³ 1101 0100 D4 212
0001 0101 15 21 ³ 0101 0101 55 85 ³ 1001 0101 95 149 ³ 1101 0101 D5 213
0001 0110 16 22 ³ 0101 0110 56 86 ³ 1001 0110 96 150 ³ 1101 0110 D6 214
0001 0111 17 23 ³ 0101 0111 57 87 ³ 1001 0111 97 151 ³ 1101 0111 D7 215
0001 1000 18 24 ³ 0101 1000 58 88 ³ 1001 1000 98 152 ³ 1101 1000 D8 216
0001 1001 19 25 ³ 0101 1001 59 89 ³ 1001 1001 99 153 ³ 1101 1001 D9 217
0001 1010 1A 26 ³ 0101 1010 5A 90 ³ 1001 1010 9A 154 ³ 1101 1010 DA 218
0001 1011 1B 27 ³ 0101 1011 5B 91 ³ 1001 1011 9B 155 ³ 1101 1011 DB 219
0001 1100 1C 28 ³ 0101 1100 5C 92 ³ 1001 1100 9C 156 ³ 1101 1100 DC 220
0001 1101 1D 29 ³ 0101 1101 5D 93 ³ 1001 1101 9D 157 ³ 1101 1101 DD 221
0001 1110 1E 30 ³ 0101 1110 5E 94 ³ 1001 1110 9E 158 ³ 1101 1110 DE 222
0001 1111 1F 31 ³ 0101 1111 5F 95 ³ 1001 1111 9F 159 ³ 1101 1111 DF 223
0010 0000 20 32 ³ 0110 0000 60 96 ³ 1010 0000 A0 160 ³ 1110 0000 E0 224
0010 0001 21 33 ³ 0110 0001 61 97 ³ 1010 0001 A1 161 ³ 1110 0001 E1 225
0010 0010 22 34 ³ 0110 0010 62 98 ³ 1010 0010 A2 162 ³ 1110 0010 E2 226
0010 0011 23 35 ³ 0110 0011 63 99 ³ 1010 0011 A3 163 ³ 1110 0011 E3 227
0010 0100 24 36 ³ 0110 0100 64 100 ³ 1010 0100 A4 164 ³ 1110 0100 E4 228
0010 0101 25 37 ³ 0110 0101 65 101 ³ 1010 0101 A5 165 ³ 1110 0101 E5 229
0010 0110 26 38 ³ 0110 0110 66 102 ³ 1010 0110 A6 166 ³ 1110 0110 E6 230
0010 0111 27 39 ³ 0110 0111 67 103 ³ 1010 0111 A7 167 ³ 1110 0111 E7 231
0010 1000 28 40 ³ 0110 1000 68 104 ³ 1010 1000 A8 168 ³ 1110 1000 E8 232
0010 1001 29 41 ³ 0110 1001 69 105 ³ 1010 1001 A9 169 ³ 1110 1001 E9 233
0010 1010 2A 42 ³ 0110 1010 6A 106 ³ 1010 1010 AA 170 ³ 1110 1010 EA 234
0010 1011 2B 43 ³ 0110 1011 6B 107 ³ 1010 1011 AB 171 ³ 1110 1011 EB 235
0010 1100 2C 44 ³ 0110 1100 6C 108 ³ 1010 1100 AC 172 ³ 1110 1100 EC 236
0010 1101 2D 45 ³ 0110 1101 6D 109 ³ 1010 1101 AD 173 ³ 1110 1101 ED 237
0010 1110 2E 46 ³ 0110 1110 6E 110 ³ 1010 1110 AE 174 ³ 1110 1110 EE 238
0010 1111 2F 47 ³ 0110 1111 6F 111 ³ 1010 1111 AF 175 ³ 1110 1111 EF 239
0011 0000 30 48 ³ 0111 0000 70 112 ³ 1011 0000 B0 176 ³ 1111 0000 F0 240
0011 0001 31 49 ³ 0111 0001 71 113 ³ 1011 0001 B1 177 ³ 1111 0001 F1 241
0011 0010 32 50 ³ 0111 0010 72 114 ³ 1011 0010 B2 178 ³ 1111 0010 F2 242
0011 0011 33 51 ³ 0111 0011 73 115 ³ 1011 0011 B3 179 ³ 1111 0011 F3 243
0011 0100 34 52 ³ 0111 0100 74 116 ³ 1011 0100 B4 180 ³ 1111 0100 F4 244
0011 0101 35 53 ³ 0111 0101 75 117 ³ 1011 0101 B5 181 ³ 1111 0101 F5 245
0011 0110 36 54 ³ 0111 0110 76 118 ³ 1011 0110 B6 182 ³ 1111 0110 F6 246
0011 0111 37 55 ³ 0111 0111 77 119 ³ 1011 0111 B7 183 ³ 1111 0111 F7 247
0011 1000 38 56 ³ 0111 1000 78 120 ³ 1011 1000 B8 184 ³ 1111 1000 F8 248
0011 1001 39 57 ³ 0111 1001 79 121 ³ 1011 1001 B9 185 ³ 1111 1001 F9 249
0011 1010 3A 58 ³ 0111 1010 7A 122 ³ 1011 1010 BA 186 ³ 1111 1010 FA 250
0011 1011 3B 59 ³ 0111 1011 7B 123 ³ 1011 1011 BB 187 ³ 1111 1011 FB 251
0011 1100 3C 60 ³ 0111 1100 7C 124 ³ 1011 1100 BC 188 ³ 1111 1100 FC 252
0011 1101 3D 61 ³ 0111 1101 7D 125 ³ 1011 1101 BD 189 ³ 1111 1101 FD 253
0011 1110 3E 62 ³ 0111 1110 7E 126 ³ 1011 1110 BE 190 ³ 1111 1110 FE 254
0011 1111 3F 63 ³ 0111 1111 7F 127 ³ 1011 1111 BF 191 ³ 1111 1111 FF 255
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄuml;ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
_
Copyright © 1996-99 Dontronics