+ All Categories
Home > Documents > INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and...

INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and...

Date post: 26-Feb-2019
Category:
Upload: trinhanh
View: 219 times
Download: 0 times
Share this document with a friend
16
Total solder points: 290 Difficulty level: beginner 1o 2o 3o 4o 5 advanced PARTLIST H8005P-ED2 K8005 INTERFACE CARD FOR STEPPER MOTOR For unipolar and bipolar motors (maximum 1A). Uses K8000 interface for connection with PC. High precision stepping possible (Up to 0.9°, or even more when us- ing a motor with reduction). A high precision stepping motor is included. While the motor turns you can simultaneously check the status of switches using K8000, or drive another motor. You can give an emergency stop signal by software at any time. Test program included. Manual test buttons to test the card without interface. Can be used in every application where positioning is needed (For example a plotter, printer, a valve, robot projects, lightshow..). Specifications I²C controlled via K8000 Communication address of the card selectable via DIP-switches on the PCB Adjustable drive speed Programmable in Turbo Pascal for Dos, Quick Basic and Visual Basic Emergency stop can be send to one or all cards Supply:7..25 Volt DC or AC - 1,5 A (Maximum current depends on motor type) Dimensions: 100mm x 90mm modifications reserved
Transcript
Page 1: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

Total solder points: 290 Difficulty level: beginner 1o 2o 3o 4o 5þ advanced

PARTLIST H8005P-ED2

K8005 INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). þ Uses K8000 interface for connection with PC. þ High precision stepping possible (Up to 0.9°, or even more when us-

ing a motor with reduction). þ A high precision stepping motor is included. þ While the motor turns you can simultaneously check the status of

switches using K8000, or drive another motor. þ You can give an emergency stop signal by software at any time. þ Test program included. þ Manual test buttons to test the card without interface. þ Can be used in every application where positioning is needed (For example a plotter, printer, a valve, robot projects, lightshow..). Specifications

• I²C controlled via K8000 • Communication address of the card selectable via DIP-switches on

the PCB • Adjustable drive speed • Programmable in Turbo Pascal for Dos, Quick Basic and Visual Basic • Emergency stop can be send to one or all cards • Supply:7..25 Volt DC or AC - 1,5 A (Maximum current depends on

motor type) • Dimensions: 100mm x 90mm modifications reserved

Page 2: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

5%

4K7= ( 4 - 7 - 2 - B )

1%

4K7= ( 4 - 7 - 0 - 1 - 1 )

COLOR= 2… 5

I P E SF S DK N D GB F NL CODE

CODICE COLORE

CODIGO DE

CORES

CODIGO DE

COLORES

VÄRI KOODI

FÄRG SCHEMA

FARVEKODE

FARGEKODE

FARB KODE

COLOUR CODE

CODIFI-CATION DES COU-LEURS

KLEURKODE

CODE

0 Nero Preto Negro Musta Svart Sort Sort Schwarz Black Noir Zwart 0 1 Marrone Castanho Marrón Ruskea Brun Brun Brun Braun Brown Brun Bruin 1 2 Rosso Encarnado Rojo Punainen Röd Rød Rød Rot Red Rouge Rood 2 3 Aranciato Laranja Naranjado Oranssi Orange Orange Orange Orange Orange Orange Oranje 3 4 Giallo Amarelo Amarillo Keltainen Gul Gul Gul Gelb Yellow Jaune Geel 4 5 Verde Verde Verde Vihreä Grön Grøn Grønn Grün Green Vert Groen 5 6 Blu Azul Azul Sininen Blå Blå Blå Blau Blue Blue Blauw 6 7 Viola Violeta Morado Purppura Lila Violet Violet Violet Purple Violet Paars 7 8 Grigio Cinzento Gris Harmaa Grå Grå Grå Grau Grey Gris Grijs 8 9 Bianco Branco Blanco Valkoinen Vit Hvid Hvidt Weiss White Blanc Wit 9 A Argento Prateado Plata Hopea Silver Sølv Sølv Silber Silver Argent Zilver A B Oro Dourado Oro Kulta Guld Guld Guldl Gold Gold Or Goud B

Page 3: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

__________________________________________________________________________________________________________________________________________________________

3

ASSEMBLY STEPS Required tools to assemble the kit: • Use a small soldering iron of max. 40W. • Use thin (1mm) solder, do not use any flux. • Use a small cutter to trim the excess wires.

1.

2.

3.

4. Mount the compo-nents against the PCB surface and carefully solder the leads in place.

Obtain cone- shaped, shiny soldered joints by heating up the component leads suf-ficiently.

This solder joint results in a bad connection.

Trim the excess wires up to the level of the sol-der

• Careless assembly will certainly lead to problems. • Insert the part, oriented correctly, into its correct holes in the PCB. • Mount the components in the correct order as stated in this manual. • Do NOT remove the components from the tape, as they are in the correct

mounting order. • The component values in the circuit diagram are for reference only. The

values in this parts list are correct and must be followed. • Use the boxes q to check off your progress. FBefore starting to build, read also the general guidelines How the stepper motor card is built: 1. Mount the components (sections 1 to 17). 2. Select the MotorCard number (Select 0 if you have only one card con-

nected to the K8000, see section 18). 3. Connect the card (section 19) 4. Test the card (see section 20). 5. Install the diskette by running the INSTALL.EXE program on the disk. 6. Read the manual on-screen, or make a hard copy of the files.

Page 4: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

_______________________________________________________________________________________________________________________________________________________

4

1. JUMPERS

q J1 q J2 q J3 q J4 q J5 q J6 q J7 q J8 q J9 q J10 q J11

2. DIODES (Check the polarity!)

D...CATHODE

q D1: 1N4148 q D2: 1N4148 q D3: 1N4148 q D4: 1N4148 q D5: 1N4148 q D6: 1N4148 q D7: 1N4148 q D8: 1N4148 q D9: 1N4007 q D10: 1N4007 q D11: 1N4007 q D12: 1N4007 q D13: 1N4007 q D14: 1N4007 q D15: 1N4007 q D16: 1N4007 q D17: 1N4007 q D18 1N4007 q D19: 1N4007 q D20: 1N4007 q D21: 1N4148

Page 5: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

__________________________________________________________________________________________________________________________________________________________

5

3. ¼W RESISTORS

R...

q R1: 680 (6-8-1) q R2: 270 (2-7-1) q R3: 1K8 (1-8-2) q R4: 5K6 (5-6-2) q R5: 5K6 (5-6-2) q R6: 270 (2-7-1) q R7: 1K8 (1-8-2) q R8: 680 (6-8-1) q R9: 680 (6-8-1) q R10: 5K6 (5-6-2) q R11: 270 (2-7-1) q R12: 1K8 (1-8-2) q R13: 5K6 (5-6-2) q R14: 270 (2-7-1) q R15: 1K8 (1-8-2) q R16: 5K6 (5-6-2) q R17: 680 (6-8-1) q R18: 5K6 (5-6-2) q R19: 5K6 (5-6-2) q R20: 5K6 (5-6-2) q R21: 5K6 (5-6-2) q R22: 10K (1-0-3) q R23: 100K (1-0-4) q R24: 100K (1-0-4) q R25: 5K6 (5-6-2) q R26: 5K6 (5-6-2) q R27: 330 (3-3-1) q R28: 1K (1-0-2) q R29: 1K (1-0-2)

4. PUSH BUTTONS

SW...

q SW2 :KRS-0611 q SW3 :KRS-0611

5. LED’s (Check the polarity!)

LD...

COLOR = 2...5

CATHODE

q LD1: 5MM(2)

Page 6: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

_______________________________________________________________________________________________________________________________________________________

6

6. IC SOCKETS (Check the position of the notch!)

IC...

1

q IC1: 14P q IC2: 14P q IC3: 14P q IC4: 18P

7. DIP SWITCHES (Check the position of the numbering!)

1

SW...

q SW1: DS-4

8. 1W RESISTORS

R...

2mm

q R31: 3.3 (3-3-A) q R30: 3.3 (3-3-A)

9. CAPACITORS

C...

q C1: 100nF (0.1µF - 104) q C2: 100nF(0.1µF - 104) q C3: 18 pF q C4: 18 pF

10. PIN HEADER Cut to the desired number of pins

q SK1: Do not mount for now.

Use only for optional driver card.

q SK2: 5 Pins

Page 7: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

__________________________________________________________________________________________________________________________________________________________

7

11. TRANSISTORS

T...

q T1: BC640 q T2: BC639 q T3: BC549 q T4: BC549 q T5: BC640 q T6: BC639 q T7: BC640 q T8: BC639 q T9: BC549 q T10: BC549 q T11: BC640 q T12: BC639

12. CRYSTALS

X...

q X1: 20 Mhz

13. PCB TERMINAL BLOCK (First slide them into each- other)

q SK3 + SK4: 2P + 3P q SK5 + SK6: 2P + 3P

14. VOLTAGE REGULATORS

VR...

q VR1: 7805

Page 8: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

_______________________________________________________________________________________________________________________________________________________

8

15. ELECTROLYTIC CAPACITOR (Check the polarity!)

C...

q C5: 10 µF q C6: 10 µF q C7: 2200 µF

16. IC’s (Check the position of the notch!)

IC...PIN 1

1

q IC1:7408 q IC2:7408 q IC3:7404 q IC4:VK8005

17. MOTOR TYPE SELECTION.

q JU (Mount only if motor is an unipolar motor)

⇒ Mount JU if you are going to use the supplied motor.

Page 9: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

__________________________________________________________________________________________________________________________________________________________

9

18.DIP SWITCH SETTINGS

You must set the communication address of each card connected to the K8000. The DIP switch settings are:

Number Card

J1

J2

J3

J4

0

0

0

0

0

1

0

0

0

1

2

0

0

1

0

3

0

0

1

1

4

0

1

0

0

5

0

1

0

1

6

0

1

1

0

7

0

1

1

1

8

1

0

0

0

9

1

0

0

1

10

1

0

1

0

11

1

0

1

1

12

1

1

0

0

13

1

1

0

1

14

1

1

1

0

15

1

1

1

1

REMARK: Motor card 0 must always be connected to the K8000. If you have only one card it must be configured as card 0.

Page 10: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

_______________________________________________________________________________________________________________________________________________________

10

19.CONNECTION AND USE

Power supply: Hook-up when using the supplied motor: Connect the motor to the pin-header. Make sure the the red wire is hooked-up to the pin marked ‘RED’. Use a 12V/500mA AC or DC power supply (polarity of the DC power supply doesn’t matter).

SDASCLGND

K8000

AC

SCLGND

SDA

AC

RED

FROM

MOTOR

RED WIRE

12VN

LMAINS

K8005

JU

MOUNTED

Page 11: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

__________________________________________________________________________________________________________________________________________________________

11

Hook-up when using an unipolar motor with 5 wires: Connect the stepper motor card according to the diagram. Connect a DC or AC voltage to the card, equal to the motor rating. (Mini-mum voltage: 7 Volts). The maximum current the power supply will have to deliver is the sum of the motor current + 200 mA (consumed by the card).

GND

M1M2

M3

M4

K8000

AC

SDA

GND

SCL

AC

FROM

SCL

SDA

GND

UNIPOLAR MOTOR (5-WIRES)

DEPENDING ON MOTOR

7...28V/1.5A max

N

MAINSL

0,5 A / Coil Max.

K8005

MOUNTED

JU

Page 12: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

_______________________________________________________________________________________________________________________________________________________

12

Hook-up when using an unipolar motor with 6 wires: Connect the stepper motor card according to the diagram. Connect a DC or AC voltage to the card, equal to the motor rating. (Mini-mum voltage: 7 Volts). The maximum current the power supply will have to deliver is the sum of the motor current + 200 mA (consumed by the card).

K8000

AC

SCL

GND

SDA

AC

M4

M3

M2

M1

GND

FROM

SCL

SDA

GND

UNIPOLAR MOTOR (6-WIRES)

7...28V/1.5A max

DEPENDING ON MOTOR

N

LMAINS

0,5 A / Coil Max.

K8005

JU

MOUNTED

Page 13: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

__________________________________________________________________________________________________________________________________________________________

13

Hook-up when using a bipolar motor (= 4 wire motor): Connect the stepper motor card according to the diagram. Connect a DC or AC voltage to the card, equal to the motor rating. (Mini-mum voltage: 7 Volts). The maximum current the power supply will have to deliver is the sum of the motor current + 200 mA (consumed by the card).

K8000

GND

M1M2

M3

M4

AC

SDA

GND

SCL

AC

FROM

BIPOLAR MOTOR (4-WIRES)

SCL

SDA

GND

DEPENDING ON MOTOR

7...28V/1.5A maxN

MAINSL

0,5 A / Coil Max.

K8005

NOT MOUNTED

JU

Page 14: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

_______________________________________________________________________________________________________________________________________________________

14

20.TEST

With Push Buttons: Connect the Card (see section 19). Switch on the power supply. LD1 must light up. Press the STEP button and the motor will turn in Counter Clock Wise direc-tion and in half step mode. Changing the step mode: Press the HALF/FULL button without pushing the STEP button, the step mode will now change, if you press the STEP button again, the motor will step into the other step mode. Changing the Step direction: Press the HALF/FULL button while pushing the STEP button, the step direc-tion will now change and if you keep the STEP button pressed, the motor will run in the opposite direction. With the diagnostic software: Install the software by running INSTALL.EXE on the diskette. A program group K8005 will be created and will contain the Windows Test program. The test program for DOS (tst8005d.exe) can be found in the K8005 direc-tory. Both programs are very easy to use by following the on-screen instructions. The latest software version is available on our WebSite: http://www.velleman.be

Page 15: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

__________________________________________________________________________________________________________________________________________________________

15

20. SCHEMATIC DIAGRAM

SK

1-10

R10

5K6

+V GN

D

GN

D

2

N1

11/

6 74

HC

T04

+V+V

+V+V

R18

5K6

4

+V

R24

100K C

418

p

GN

D

20M

c

X1

C3 18

p

1S

W3

23

SC

L

SD

AR

29

1K

R23

100K

R28

1K

+V

R20

5K6

R21

5K6

R19

5K6

6

N3

51/

6 74

HC

T04

OS

C2

15

5

VS

S

RB

511

N11

..N14

=IC

1N

7..N

10=I

C2

N1.

.N4=

IC3

1098

N9

1/4

74H

CT

08

10

N4

111/6

74H

CT

044

N2

31/

6 74

HC

T04

RA

1

OS

C1

1618

RA

017

PIC

16C

54'H

S

IC4

RB

410

RB

2

6

RB

1

RB

078

RB

39

RB

713

R6

270

1098

N131/

4 74

HC

T08

R8

680

BC

549

T4

R5

5K6

R7

1K8

131211

N10

1/4

74H

CT

08S

K1-

6S

K1-

9

BC

639

T6D

121N

4007M1

D3

1N41

48

D4

1N41

48

123

N7

1/4

74H

CT

08

BC

640

T5D

111N

4007

R26

5K6

+V

D191N

4007

D20 1N

4007

KR

S06

11

SW

2

KR

S06

11

SW

1

R25

5K6

+V

D17

1N40

07 D18

1N40

07

AC

AC

D21

1N41

48

LD1

RE

D

R27

330

1R

A3

2

RA

214

VD

D

+V

C6

10uF

4

RB

612

MC

LR

R22

10K

+V

IO

VR

1U

A78

05

C1

100n

C7

2200

uC

210

0nC

510

u

R14 27

0M

3

546

N11

1/4

74H

CT

08

R17 68

0

BC

549

T10

456

N8

1/4

74H

CT

08

SK

1-2

R15

1K8

R16

5K6

SK

1-1

BC

639

T12

D16

1N40

07

D7

1N41

48

D8

1N41

48+V

BC

640

T11

D15

1N40

07

R2

270

1213

11 N14

1/4

74H

CT

08R1

680

SK

1-7

BC

639

T2

D9

1N40

07

M2

R4

5K6

R3

1K8

SK

1-8

BC

549

T3

(5 O

R 6

WIR

ES

)M

OU

NT

ED

=UN

IPO

LAR

MO

TO

RO

PE

N=B

IPO

LAR

MO

TO

R(4

W) D2

1N41

48

D1

1N41

48

BC

640

T1D

101N

4007

R11 27

0M

4

21

3 N12

1/4

74H

CT

08R9

680

SK

1-5

BC

639

T8

D13

1N40

07

SK

1-3

R13

5K6

BC

549

T9

R12

1K8

D6

1N41

48

D5

1N41

48

BC

640

T7

D14

1N40

07

3

T0C

KI

R30

3.3/

1W

R31

3.3/

1W

HA

LF/F

ULL

ST

EP

DIR

EC

TIO

N

JU

A0

A1

A2

A3

SK

1-4

!!! Values are for reference only !!!

Page 16: INTERFACE CARD FOR STEPPER MOTOR - Velleman · INTERFACE CARD FOR STEPPER MOTOR þ For unipolar and bipolar motors (maximum 1A). ... SCHEMA KODE FARVE KODE FARGE KODE FARB KODE COLOUR

_______________________________________________________________________________________________________________________________________________________

16

21.PCB LAYOUT

SK1

J5

J9

R19R18

R20

J10

R10

VE

LLEM

AN

SK2 D15

D7

R14

R15

T10

SK

5

STEP

SK

6

GN

DS

DA

SC

L

P8005'1

AC

AC J4

R17

HALF/FULL

R25

D20

D19

D18

D17

SW2

R29R28

SW1

R26

R27

DIR.

T11

D16J3

D8

T12

C7 X1

VR

1

IC4

LD1

D21

R23

R24

R22

ON

1 A3

C6

C5

R16

C1

C2

1C4

C3

IC3

SK

3S

K4

T1

M1

J1

GN

D

RED

M2

M3

M4

R30

1D

1T2

R3

R1

T3

R2

R6

R11

T8

D4

T5 T6

T7

D13D14

R31

D6

D5

M2M4

M3M1GND

J2

1

D9D10

D12D11

D3

D2

IC1R8

R7

R13

T9R

12R9

IC21

J8

R4

T4 J61

FO

R B

IPO

LAR

MO

TO

RJU

NO

T M

OU

NT

ED

R21

A0

10

UN

IPO

LAR

MO

TO

R

J7

J11

JU

R5

SW

3

1


Recommended