background image

Akit-BASIC Stamp2SX : BASIC Stamp2SX Activity kit

 

l

 

5

+5V

C5

47/16V

IC2

7805

C3

220/25V

J1

DC INPUT

9-12V

C6

0.1/50V

C4

0.1/50V

D1-D4

1N4001 x4

K5

DC

INPUT

+

-

S6

ON / OFF

24
23
22
21
20
19
18
17

NC

GND

1
2
3
4
5
6
7
8

RxD
ATN

GND

TxD

9

10
11
12

16
15
14
13

K1

DB-9

FEMALE/PCB

DOWNLOAD

2
3
4
5

6
7

RST

+5V.

P15
P14
P13
P12
P11
P10

P9
P8

P0
P1
P2
P3
P4
P5
P6
P7

R1-R8

470

LED8-LED1

PHASE A to D COIL

D

A

B

C

+V

NC

COM

NO

S5

RESET

+5V

S1-S4

R9-R12

220

SP1

SPEAKER

+5V

RP1

4k7 * 4

LDR1

C2

0.1

m

F

50V

+5V

P15

+5V.

GND

4 3 2 1

9

16 15 14 13

10

7

8

K2

STEPPER

MOTER

IC1

ULN2003

+V

SK1

i-Stamp

R13

1k5

LED9

RY

STEPPER MOTER

RY1

RELAY 12V

K3

RELAY

OUTPUT

K4

SERIAL

DATA

R14-R15

220

R15

C1

10

m

F 50V

R14

CONTACT RATING

 250V 5A

+V

Figure 4  AX-2SX board schematic

4.1 8-LED outputs

All 8-LEDs will be connected with  P0 to P7 of i-Stamp via current limit resistor. All LED

wil operate at Logic “1” or active high.

4.2 Stepper motor driver

At P0 to P3 of i-Stamp share with drive LED and connect with ULN2003 driver IC.

ULN2003 will be use for driving a uni-polar stepper motor. ULN2003 contains 7 open-collector
inverter. Its inpur can accept TTL logic and output can drive high current load over +5V.
Maximum is +30V 500mA per output. In AX-2SX will connect with a uni-polar stepper motor.
The motor supply voltage gets from DC adaptor.

Driving the stepper motor is not difficult. Sendd logic “1” from i-Stamp port (P0-P3) to

input of ULN2003. After that ULN2003 will invert logic to “0”. It cause the current draw into
the  motor’s  phase  that  connect  with  ULN2003 output.  The  shaft  of  motor  will  spin  one
step. If all  phase are received the continuous signal, stepper motor spins continuous.

Summary of Contents for Akit-BASIC Stamp2SX

Page 1: ...clock frequency Operate up to 10 000 P BASIC command second l 16KByte memory separate 8 sections 2KByte each erasable 100 000 times l 32 byte RAM with 64 byte Scratchpad RAM l Consumption 65mA in full...

Page 2: ...8 bit data no parity 1 stop bit l 1 8 or 1 16 Duty can be selected by jumper l Scott Edwards s LCD Serial Backpack command compatible addition with Extended Command that make LCD control easier l Eas...

Page 3: ...ich SX 28AC microcontroller Inside this micro controller containsP BASIC2SX interpreter firmwarer The users have already written P BASIC The program is downloaded into i Stamp via serial port Signel i...

Page 4: ...to pin 21 of i Stamp At pin 22 connect with RESET switch to reset the operation of i Stamp For interfacing with serial port use pin 1 to 4 connect with pin 2 3 4 and 5 of DB 9 serial connector These i...

Page 5: ...oard schematic 4 1 8 LED outputs All 8 LEDs will be connected with P0 to P7 of i Stamp via current limit resistor All LED wil operate at Logic 1 or active high 4 2 Stepper motor driver At P0 to P3 of...

Page 6: ...s connected with 12V relay i Stamp can active the relay operation with send logic 1 to pin 7 of ULN2003 ULN2003 will invert logic to activate relay Relay s coil have current draw LED9 lights up to ind...

Page 7: ...support all DC adpator s polarity C3 capacitor is used for filtering the input supply voltage more smooth and C4 capacitor reduce the high frequency noise Voltage at this point is called V It is used...

Page 8: ...USB to RS 232 serial port converter The UCON 232S is recommended Procedure 1 1 Put i Stamp into 24 pin female header on AX 2SX Activity board Must put the right direction following in figure A1 1 1 2...

Page 9: ...etween i Stamp and BASIC Stamp Editor software by press Ctrl I key or click at Identify button or enter RUN menu then select Identify If all correct Identification box will appear and inform the versi...

Page 10: ...end massage welcome to display on Debug Terminal of BASIC Stamp Editor software Press Enter 1 5 5 Click Run button Debug Terminal will appears and show message welcome on the screen following figure A...

Page 11: ...ssage welcome It means i Stamp can work ready This terminal will appear everytime that use DEBUG command 1 6 All experiment PBASIC code can store in bsx filename Figure A1 9 shows Error box on screen...

Page 12: ...12 l Akit BASIC Stamp2SX BASIC Stamp2SX Activity kit...

Reviews: