Parallax 29157 Скачать руководство пользователя страница 4

Parallax, Inc.  •  BASIC Stamp HomeWork Board ver 1.1 

Page 4 

Figure 2 

 

BASIC Stamp 

HomeWork Board 

Schematic 

VI

N

1

VSS

VO

U

T

VR

1

LM

29

36

PB1

Re

se

t

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

X4

1

2

3

4

5

6

7

8

9

10

11

12

13

X3

 Bread

board

Vin

+

C1 10

µF

20

 M

H

z

10

k

10

k

1/

2

 U

M

11

T

N

DT

A

11

4E

E

T

L

24LC16B

U2

Da

t

Cl

k

N/C

Vd

d

Vs

s

P0

P1

P2

P3

P4

P5

P6

P7

P8

P9

P1

0

P1

1

P1

2

P1

3

P1

4

P1

5

Vd

d

Vd

d

Vd

d

Vd

d

Vd

d

Vi

n

RN

1-

3

4.

7k

RN

1-

4

4.

7

k

RN

1-

2

4.

7k

R1

10

k

9

V

 T

ra

n

si

sto

r

Ba

tte

ry

Vs

s

Vs

s

Vs

s

Vs

s

Vs

s

P8

P9

P1

0

P1

1

P1

2

P1

3

P1

4

P1

5

P5

P6

P7

15

16

17

18

19

20

21

22

23

24

25

28 27 26

J2

DB

9 F

e

m

a

le

C4 0.

1

µF

C3 0.

1

µF

 Po

w

e

r

LE

D

 

D2

10

k

10

k

1/

2

 U

M

11

T

N

10

k

10

k

A0 A1 A2

Vd

d

P0 P1 P2 P3

P4

Vd

d

RN

1-

1

4.

7

k

R2

100

RA

0

5

RA

1

6

RA

2

7

RA

3

8

RB

0

9

RB

1

10

RB

2

11

RB

3

12

RB

4

13

VSS

1

VSS

14

RT

CCI

2

VD

D

3

VD

D

4

RB

5

RB

6

RB

7

RC0

RC1

RC2

RC3

RC4

RC5

RC6

RC7

U1

P

IC1

6C

57

-2

0/

S

S

(P

BA

SI

C

2

/S

S

)

1 6

2

7 3

8 4

9

5

Vs

s

Vs

s

Vs

s

Vs

s

OS

C

1

OS

C

2

2

3

RN

2

22

0Ω

RN

5

22

0Ω

RN

4

22

0Ω

RN

3

22

0Ω

 

 

 
Power Consumption and Battery Life 

 
Parallax normally designs BASIC Stamp boards with power jacks for wall transformers. Wall transformers provide 
plenty of power but they are not as portable for science fairs, robots and environmental datalogging. Considering 
that the BASIC Stamp draws only small amounts of current it could be deployed in a remote location and run 
from a battery for a long time.  
 
The BASIC Stamp has commands for reduced power consumption, but what about the power indicator LED? It 
could drain the battery in a day or two by itself if being used to indicate a power supply! LEDs consume current, 
typically 10-12 mA. Removing the LED wasn’t an option since it discloses the common technical support problem 
of a missing power supply. 
 
The solution was to connect BASIC Stamp HomeWork Board’s power LED to the “clock” line of the BASIC 
Stamp’s EEPROM. The EEPROM’s clock line is active only when the BASIC Stamp is actually running a 
program. Moreover, the BASIC Stamp HomeWork Board’s power LED is a low current LED consuming only 
about 2 mA.    
 

Содержание 29157

Страница 1: ...an t have their own Board of Education BS2 due to it s higher cost Since it s less expensive than the Board of Education BS2 module can the board be used for Stamps in Class experiments Possibly with...

Страница 2: ...cations are shown below Table 1 Also review the hardware Figure 1 and schematic Figure 2 Table 1 BASIC Stamp HomeWork Board Specifications Microcontroller PIC16C57 surface mount Speed 20 MHz 4 000 ins...

Страница 3: ...BASIC Stamp 220 Ohm resistors across the I O pins to provide current protection for mistake wiring an LM2936 voltage regulator which provides 50 mA for the BASIC Stamp and your circuits powered from...

Страница 4: ...N2 22 0 RN5 22 0 RN4 22 0 RN3 22 0 Power Consumption and Battery Life Parallax normally designs BASIC Stamp boards with power jacks for wall transformers Wall transformers provide plenty of power but...

Страница 5: ...almost two years if you wake the BASIC Stamp once in a while In reality projects need to wake up and provide current to loads like LEDs and other chips used in your project If you know the current dra...

Страница 6: ...ecautions Be alert to static sensitive devices and static prone situations The BASIC Stamp like other integrated circuits can be damaged by static discharge that commonly occurs touching grounded surf...

Страница 7: ...9V battery and the serial cable to your StampLab Alkaline Battery Powercell Reset 916 624 8333 www parallaxinc com www stampsinclass com Rev A STAMPS CLASS in 2002 Power X3 Vdd Vss Vin P15 P14 P13 P1...

Страница 8: ...Parallax Inc BASIC Stamp HomeWork Board ver 1 1 Page 8 Figure 4 Software install Step 1 just click Next Figure 5 Software install Step 2 Choose Typical for a standard installation...

Страница 9: ...and modify up to 16 different source code files at once Each source code file that is loaded into the editor will have its own tab at the top of the page labeled with the name of the file Source code...

Страница 10: ...e BASIC Stamp Windows Editor any time a source code file is loaded tokenized downloaded run In order to test communication between the BASIC Stamp and your PC download a simple program as shown below...

Страница 11: ...Editor supports several shortcut keys that will speed your use of file management editing and coding Tables 3 to 5 Table 3 File Functions shortcut keys Shortcut Key Function Ctrl O Open a souce code...

Страница 12: ...eft side and RAM usage right side BASIC and Parallax BASIC BASIC standing for Beginner s All Purpose Symbolic Instruction Code was written invented in 1963 at Dartmouth College by mathematicians John...

Страница 13: ...ontrol For our first experiment we ll need just an LED and a 220 ohm Red Red Brown resistor Connect the 220 ohm resistor between pin P15 and the breadboard Connect the LED between the same section of...

Страница 14: ...am LED Blink BS2 Purpose Blinks an LED connected to BASIC Stamp pin P15 Start HIGH 15 turn LED on PAUSE 500 wait one half second LOW 15 turn LED off PAUSE 500 wait one half second GOTO Start do it aga...

Страница 15: ...constant we now have more of an idea of what is being controlled HIGH 15 could be controlling anything a light a bell a heater We re forced to explain the process of our program in comments By using t...

Страница 16: ...Dir15 corresponds to bit 15 of the Dirs register The advantage of going to this depth is that we can gain more flexibility and control over our programs especially in terms of readability this aspect...

Страница 17: ...CR DEBUG CR DEBUG Blink Value BIN8 blinkVal CR DEBUG Blink Bit REP 7 blinkBit control the LED LedPin blinkVal LowBit blinkBit PAUSE 5 NEXT NEXT GOTO Start In this program we ll need a couple variable...

Страница 18: ...o this line will print seven spaces then the pointer When blinkBit is one it will print six spaces then the pointer You get the idea Now that we know what s going on let s make it happen The line of c...

Отзывы: