system guide1: simple eight-way Marquee case 8: 74LS14 reverser experiment  15: infrared remote control experiment 23: hardware counter  with NE555 oscillator 
Each interface module definition2: 8-way controller lantern  9: 74LS138 3-8 decoder experiment  16: Chinese characters display case 24: real-time clock experiment with DS1302
Quick Start3: 8-way DIP switch state display with 8 indicators 10: 74LS164 serial in parallel out control  17: 8155 experiment . 25: PS2 keyboard experiment
USB interface installation4: Digital Tube display with static scanning 11: 74LS165 parallel in serial out control  18: 24C02 store the number of booting  26: SD card SPI mode experiment
ISP downloading part5: LED number display with dynamic scanning. 12: D/A conversion  with DAC0832 19: step motor experiment 27: 485 communication experiment
simulating operation guide6: key button detecting (number show) 13: A/D conversion  with ADC0804 20: 93c46 demonstration program  28: 12864 LCD display “A”
single chip system Experiments 7: Matrix keypad recognition technology 14: alarm with small speaker case  22: digital temperature display  with 18B20 Chapter VII frequently asked questions and answers

Introduction of XL2000 experimental system    

user manual download:quickstart download:XL2000 Experimental part of the schematic XLISP Applications software download:

ebay store     Shipped by UPS/ to USA/worldwide, (about 3-5 days)

Experiment 19:   Stepper motor experiment

Stepper motor is a kind of controlling component to convert pulse signal to angular displacement or line displacement. In the non-overloading situation, the motor speed and stopping location only depend on the frequency and the number of the pulse signals. It is not impacted by the load change. 

The main characteristics of stepper motor:

1.       Stepper motor must be driven with pulse signals. No pulse, no move. If asserted with proper pulse signal, it will rotate with a fixed angle. The speed is proportional with the frequency.

2.       This step motor is configured with 7.5 degree/pulse. Rotating one lap needs 48 pulses.

3.       Step motor has the advantage of rapid starting and stopping characters.

change pulse direction, you can change the direction of rotation.

XL2000 package adopts 12v stepping motor, in order to the convenience of demonstration, we provide it with a 5v power supply. The reader can provide it with 12v. The step motor is driven by uln2003, the port is P1.0~P1.3.

clockwise                   

 

Steps

p1.0

p1.1

p1.2

p1.3

03h

1

1

1

0

0

09h

2

1

0

0

1

0ch

3

0

0

1

1

06h

4

0

1

1

0

Anti-clockwise

 

Steps

p1.0

p1.1

p1.2

p1.3

03h

1

1

1

0

0

06h

2

0

1

1

0

0ch

3

0

0

1

1

09h

4

1

0

0

1

Connection methods:

Connect step motor port (JP31) to P1.0~P1.3 port with a 4pin line.

Reference program:

org 0080h

loop:mov R3,#0FFh     ; send -1 to 30h

main:INC R3

       mov a,R3

tt:     MOV       DPTR,#TAB

       MOVC   A,@A+DPTR

            MOV    P1,A  ;send content to display

       mov r7,#5

dec r7

        lcall delay         ;Delay

        cjne a,#06H,main    ;

ljmp loop    ;    Otherwise, clear R3

        ret

TAB: DB 03H,09H,0CH,06H ; stepper motor

 DELAY: ; Delay procedures

MOV  R5,#255

D3:MOV R2,#25

D4: DJNZ R2,D4

DJNZ R5,D3

RET

    end

       

SHEN ZHEN XUELIN ELECTRONIC TECHNOLOGY CO.,LTD.

ADD:A302,XingJingYuan ,NanKeng,BanTian,SHENZHEN,GUANGDONG P.R.CHINA
Postalcode: 518129  TEL:86-755-89603537    FAX:86-755-89956892
E-Mail:51C51@163.COM