STM32驱动PCA9685控制多路舵机电路原理图

更新时间:2023-05-30 23:22:01 阅读量: 实用文档 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

PCA9685舵机控制器,有STM32驱动,实现多路舵机控制

1

2

3

4

NLSTM32µç· STM32电路12

COU1 U1PIU1012 VSSA

NL¾§Õñµç·晶振电路13 VDDA PIU1013 VDD_4 VDD_3 VDD_2 VDD_1 VBAT 19 64 PIU1064 48 PIU1048 32 PIU1032PIU1019 PIU101

NLJTAG½Ó¿Ú JTAG接口

NL¶æ»ú¿ØÖÆÆ÷舵机控制器

COU3 U3 NLP0 6 P0 LED0 PIU306 7 NLP1 P1 LED1 PIU307 8 NLP2 P2 LED2 PIU308 9 NLP3 P3 PIU309 LED3 10 P4 NLP4 LED4 PIU3010 11 NLP5 LED5 PIU3011 P5 12 LED6 PIU3012 13 LED7 PIU3013 15 LED8 PIU3015 16 LED9 PIU3016 17 LED10 PIU3017 18 LED11 PIU3018 19 LED12 PIU3019 20 LED13 PIU3020 21 LED14 PIU3021 22 LED15 PIU3022

C2 COC2PIC202 PIC201

A

22PF

PIY201Y2 COY2 32.768K

18 VSS_4 63 PIU1063 VSS_3 47 PIU1047 VSS_2 31 PIU1031 VSS_1PIU1018

C1 COC1

PIR102PIR10GND

NLX2 X2

COC4 C4PIC401 PIC402

PIY202

22PF GND

4 PIU104 PC15-OSC32_OUT X1 3 PIU103 PC14-OSC32_IN NLPC13 PC13 PIU102 2 PC13-TAMPER-RTC NLPC12 PC12 PIU1053 53 PC12 NLPC11 PC11 PIU1052 52 PC11 PC10 51 NLPC10 PIU1051 PC10 NLPC9 PC9 PIU1040 40 PC9 PC8 PIU1039 39 NLPC8 PC8 PC7 NLPC7 NLPC6 PC6 NLPC5 PC5 PC4 NLPC4 PC3 NLPC3 PC2 NLPC2 NLPC1 PC1 38 37 PIU1037 25 PIU1025 24 PIU1024 11 PIU1011 10 PIU1010 9 PIU109 8 PIU108PIU1038

1

NLVBAT VBAT

NLX1 X1X2

PIY102 COY1

PIC102

PIC101

COR1 R1 20K

Y1 8M

22PF

PIY101

COC3 C3PIC301 PIC302

NLTRST TRST NLTDI TDI TMS NLTMS NLTCK TCKTDO NLTDO RST

22PF

VCC

PIR401R4 COR4 10K B

NLPC0 PC0NLPB15 PB15 NLPB14 PB14 NLPB13 PB13

PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0

NRST BOOT0 PD2 OSC_OUT/PD1 OSC_IN/PD0

PIU107

7

RST GND

U2 COU2 1 VDD 3 TRST 5 PIU205 TDI 7 PIU207 TMS/SWDIO 9 PIU209 TCK/SWCLK 11 PIU2011 NC 13 PIU2013 TDO/SWO 15 PIU2015 RESET# 17 PIU2017 NC 19 PIU2019 NC JTAGPIU201 PIU203

2 VDD PIU202 4 GND PIU204 6 GND PIU206 8 GND PIU208 10 GND PIU2010 12 GND PIU2012 14 GND PIU2014 16 GND PIU2016 18 GND PIU2018 20 GND PIU2020 GND

A0 1 PIU301 A0 A1 2 PIU302 A1 A2 3 PIU303 A2 A3 4 PIU304 A3 A4 5 PIU305 A4 24 A5 PIU3024 A5 23 PIU3023 OE GNDPIU3025 EXTCLK

A

25

26 NLSCL SCL PIU3026 SCL NLSDA SDA 27 PIU3027 SDA 5VPIU3028 VDD PIU3014 VSS

28 14

PCA9685PW GND

PIU1060

60

舵机控制接口 NL¶æ»ú¿ØÖƽӿÚCOJ1 J1PIJ101 PIJ102 PIJ103

舵机控制器地址选择 NL¶æ»ú¿ØÖÆÆ÷µØÖ·Ñ¡Ôñ

54 PD2 NLPD2 6 X1 5 X2 PIU105PIU1054 PIU106

P0

COR2 221 R2PIR202 PIR201

PIR402 NLRSTPIC501

RST

PI1011 CO1 C5 COC5 RST 0.1uF

NLPB12 PB12PB11 NLPB11 NLPB0 PB0 PB9 NLPB9 PB8 NLPB8 PB7 NLPB7 PB6 NLPB6 PB5 NLPB5

PIC502

PI102GND

36 35 PIU1035 34 PIU1034 33 PIU1033 30 PIU1030 29 PIU1029 62 PIU1062 61PIU1036 PIU1059 PIU1058

PB15 PB14 PB13 PB12 PB11 PB10 PB9 PIU1061 PB8 PB7 PB6 PB5 PB4/JNTRST PB3/JTDO PB2/BOOT1 PB1 PIU1026 PB0 STM32F103RBT6

50 TDI PA15/JTDI PIU1050 49 TCK PA14/JTCK/SWCLK PIU1049 46 TMS PA13/JTMS/SWDIO PIU1046 45 SCL PA12 PIU1045 44 SDA PA11 PIU1044 NLPA10 43 PA10 PA10 PIU1043 42 TXD PA9 PIU1042 41 RXD PA8 PIU1041 23 PA7 PA7 PIU1023 NLPA7 22 PA6 PA6 PIU1022 NLPA6 21 PA5 NLPA5 PA5 PIU1021 20 PA4 NLPA4 PA4 PIU1020 17 PA3 NLPA3 PA3 PIU1017 NLPA2 16 PA2 PA2 PIU1016

15 PA1 NLPA1 PA1 PIU1015 14 PA0 NLPA0 PA0-WKUP PIU1014

6V

1 2 3

PWM VIN GND

P1

R3 COR3 221PIR302 PIR301

COJ2 J2PIJ201 PIJ202 PIJ203

6V

1 2 3

PWM VIN GNDPIR502

B R5 COR5 221 A0 NLA0PIR501

PWM_OUT GND P2 GND J3 COJ3 1 PWM 2 PIJ302 VIN 3 PIJ303 GNDPIJ301

PWM_OUT J4 COJ4 1 PWM 2 PIJ402 VIN 3 PIJ403 GNDPIJ401

COR8 221 R8PIR802

PIR801 A1

NLA1

COR6 221 R6PIR602 PIR601

P3

R7 COR7 221PIR702 PIR701

R9 COR9 221PIR902

6V

59 58 57 PIU1057 TRST 56 PIU1056 TDO 55 PIU1055 28 PIU1028 PB11 PIU1027 27 PB0 26

6V

NLA2 PIR901A2 NLA3 PIR1001 A3PIR1301 A4 PIR1401 A5

GND

R10 COR10221PIR1002PIR1302

PWM_OUT GND P4 R11 COR11 221PIR1102 PIR1101

PWM_OUT GND P5 R12 COR12 221PIR1202 PIR1201

R13 COR13221 R14 COR14221PIR1402

6V

J5 COJ5 1 2 PIJ502 VIN 3 PIJ503 GND

PIJ501 PWM

6V

COJ6 J6 1 2 PIJ602 VIN 3 PIJ603 GND

NLA4 NLA5

S1 COS1 1 2 3 PIS103 4 PIS104 5 PIS105 6 PIS106PIS101 PIS102

12 11 10 9 PIS109 8 PIS108 7 PIS107

PIS1012 PIS1011 PIS1010

5V

SW DIP-6

PIJ601 PWM

PWM_OUT GND GND

PWM_OUT C U6 COU6 6V转5V电路 NL6Vת5Vµç·

C

电源开关 NLµçÔ´¿ª¹ØJ7 COJ7 VCCPIJ701 PIJ702

12V转6V电路 NL12Vת6Vµç· VCC GND R17 COR17 6VPIS202

5V转3.3V电路 NL5Vת303Vµç· R15 COR15 3.3V GND 5VPIR1501 PIR1502 PILED101 PILED102

1 2

GND 3.3V

DC GND VCC S2 COS2 12V U5 COU5 12VPIU504

1K LED1 COLED1PIR1702 PILED201 PILED202 PIR1701

5.1K

PIS201

单刀开关

LED2 COLED2 6V

PIC701 COC7 C7PIC702WiFi模块接口 NLWiFiÄ£¿é½Ó¿Ú 10uF

U4 COU4 4 IN OUT PIU404 2 PIU401 GND OUT PIU402 AMS1117-3.3PIU403

6V C9 COC9 0.1uF

1 2 3

PIU601 PIU602 PIU603LM2940

3 1

PIR1601 PICc302 PIC601 C6 COC6 Cc3 COCc3PIC602 22uF PICc3010.1uF

5V

PIC901 PIC801 C8 COC8PIC80210uF

R16 COR16 5.1K

PIC902

PICc102PICc101

4 2

IN ON/OFF TAB

OUT ADJ GND

PIU505

5 1

PIR1801 PIR1802 PIR1901

Cc1 COCc1 0.47uF

PICc202PICc201

PIR1602PILED301 PILED302

Cc2 COCc2 0.1uF

PI202 PI201D

PIU502

PIU501

CO2 2470nF

R18 COR18 4K

GND

LED3 COLED3

6 PIU506

3 PIU503

PIC10 1 C10 COC10R19 COR19 1K

J8 COJ8 V? TXD NLTXD RXD NLRXDPIJ801

3.3V

LM2941

PIC10 2

22uF

PIJ802 TXDPIJ803 PIJ804

PIR1902GND 1

1 2 3 4

VCC RXD GND

PIC1 01COC11 C11 PIC1 020.1uF

PIC1201 PIC1202

C12 COC12 0.1uF

PIC1301 PIC1302

C13 COC13 0.1uF

PIC1401 PIC1402

Title C14 COC14 0.1uF Size A4 Date: File: 3 Number 2016/5/6 C:\Users\..\毕设电路图 .SchDoc Sheet of Drawn By: 4 Revision

D

WIFI GND 2

GND

本文来源:https://www.bwwdw.com/article/sl34.html

Top