Sei sulla pagina 1di 11

ESP32-Azure IoT Kit

Hardware Design Guide

Version 1.0
Espressif Systems
Copyright © 2018

www.espressif.com
About This Guide
The ESP32-Azure IoT Kit Hardware Design Guidelines introduces the block diagram, PCB
layout and function modules of the development board ESP32-Azure IoT Kit.

Release Notes

Date Version Release notes

2018.10 V1.0 Initial release.

Documentation Change Notification


Espressif provides email notifications to keep customers updated on changes to
technical documentation. Please subscribe at https://www.espressif.com/en/subscribe.

Certification
Download certificates for Espressif products from https://www.espressif.com/en/
certificates.

Table of Contents
1. Block Diagram ....................................................................................................................... 1
2. System Component ............................................................................................................... 2
2.1. MCU ...........................................................................................................................................2

2.2. Sensor ........................................................................................................................................2

2.3. USB-to-UART Bridge ................................................................................................................. 3

2.4. Power Supply .............................................................................................................................3

2.5. Expanded Interface ....................................................................................................................3

2.6. OLED Display .............................................................................................................................3

2.7. Tactile Button, Buzzer and LED Display .....................................................................................3

3. PCB Design ............................................................................................................................4


3.1. Product Image ............................................................................................................................4

3.2. PCB Layout ................................................................................................................................5

4. Schematic ..............................................................................................................................6
1. Block Diagram
!

1. Block Diagram
The block diagram below illustrates the main components of the ESP32-Azure IoT Kit and
their interconnections.

Screen
MicroSD Card Light Magmeter

I2C SCL

I2C SDA

Motion Barometer H&T

USB CONN
RXD DP
TXD DM
EN USB Bridge
VBUS
BOOT
ESP32 WROVER

BAT CONN
DCDC Charge
step dn IC
Pin Headers/Grove

RST SW1 BZ
Signal
Power
!

Espressif ! /8
1 2018.10
2. System Component
!

2. System Component
2.1. MCU
The ESP32-Azure IoT Kit is a development board built around the ESP32 chip, which is a
single 2.4 GHz Wi-Fi-and-Bluetooth combo chip designed with the TSMC ultra-low-power
40 nm technology. It is designed to achieve the best power and RF performance, showing
robustness, versatility and reliability in a wide variety of applications and power scenarios.

2.2. Sensor
Component Model Manufacturer Description

• Digital-output X-, Y-, and Z-Axis angular rate sensors

• Digital-output triple-axis accelerometer ( ±2 g/±4 g/


±8 g/±16 g)

Motion Sensor MPU6050 InvenSense • Integrated 16-bit ADCs enable simultaneous


sampling

• Digitally-programmable low-pass filter

• Orientation detection and signaling

• Sensitivity of 0.10 uT

Magnetometer MAG3110 NXP • Noise down to 0.25 uT rms

• Output Data Rates (ODR) up to 80 Hz

• 300 to 1100 hPa pressure range

Barometer FBM320 Formosa • 8 cm altitude resolution (RMS)

• 8 ms pressure conversion time

• 0 to 100% relative humidity range

• Humidity accuracy: ± 3.5% rH, 20 to +80% rH

Sensor (Humidity • High rH sensitivity: 0.004% rH/LSB


HTS221 ST
and Temperature) • Temperature accuracy: ± 0.5 °C,15 to +40 °C

• Selectable ODR from 1 Hz to 12.5 Hz

• Embedded 16-bit ADC

• Illuminance to Digital Converter

Sensor (Light) BH1750FVI ROHM • Wide range and High resolution (1 - 65535 lx)

• Small measurement variation (± 20%)

Espressif ! /8
2 2018.10
2. System Component
!

2.3. USB-to-UART Bridge


The USB-to-UART Bridge used in the ESP32-Azure IoT Kit is CP2102 USB from Silicon
Labs, which supports up to 1 M serial port communication and enables the auto switching
between ESP32 boot modes.

2.4. Power Supply


Both USB power and lithium battery can be used to power up the board. When the USB
power is used, the power supply circuit to the lithium battery is cut off automatically. The
step-down DC-DC converter used in the board has a ultra-low quiescent current, which
ensures the board can achieve ultra-low power consumption during deep-sleep.
Besides, there is also a charge management IC on the board, so the USB port can also be
used to charge the lithium battery.

2.5. Expanded Interface


The board has 16 through-hole testing points (2.54 mm pitch) to lead out the system
power and available module IOs, which can be used to connect pin headers and grove
connectors.
Besides, there is also a MicroSD slot on the board, which can be used to connect microSD
card by SPI bus.

2.6. OLED Display


A 0.96” blue and yellow OLED display is installed on the board, which integrates a
SSD1306 driver chip and supports communication through I2C bus.

2.7. Tactile Button, Buzzer and LED Display


• 1 x system RESET button
• 1 x user-defined button, which can be used to switch between ESP32 boot modes
• 2 x LED indicators, which can be used to indicate if the board has successfully
connected to Wi-Fi network or Azure Cloud
• 1 x passive buzzer, which can be used to provide audio feedback

Espressif ! /8
3 2018.10
3. PCB Design
!

3. PCB Design
A four-layer PCB design is used for the ESP32-Azure IoT Kit. The dimension of board is 54
x 75 cm. The draft PCB design can be seen in this section.

3.1. Product Image

Espressif ! /8
4 2018.10
!
!

Espressif
Grove
Motion Sensor
ESP32 Module

Light Sensor
Magnetometer

Pin Headers /

Key x 2
Barometer
OLED Screen

H&T Sensor
3.2. PCB Layout

U9
U8

U11
U8x18 U8x17 U8x16 U8x15 U8x14 U8x13

U12
U10
U10x6 U10x5 U10x4 U8x19 U8x12
U12x5 U12x4 U9x1 U9x2 U9x3 U9x4 U1 x10 U1 x9 U1 x8 U1 x7 U1 x6 U8x20 U8x11

1
U8x21 U8x10

Motion
U12x6 U12x3
U8x22 U8x9
U12x1 U12x2 U9x8 U9x7 U9x6 U9x5 U8x23 U8x8

U9
U1 x1 U1 x2 U1 x3 U1 x4 U1 x5 U8x24 U8x7

U12
U11
Y
U10x1 U10x2 U10x3

U8
U8x1 U8x2 U8x3 U8x4 U8x5 U8x6

U10
R29
C27
C26
C23

C24
C25
C34x2 C20x1 C21x1 C28x1 R29x1 C27x2 R32x2 C31x1 C32x1 C29x1 C30x1 C33x1 C24x1 C26x1 C25x1 C23x1
U1x1 U1x38

C34
C34x1 C20x2 C21x2 C28x2 R29x2 C27x1 R32x1 C31x2 C32x2 C29x2 C30x2 C33x2 C24x2 C26x2 C25x2 C23x2

R29
R32

C34
C20
C28 C21
R32 C28
C27
C31 C31
C32 C32
C29 C29
C30 C30
C33 C33
C24
C26
C25
C23
J5x1 3V3 C2x1 C2x2
RF Antenna

C21
U1x2 U1x37

C20
R1x1 R1x2

C4x2 C4x1
U1x3 U1x36

C2 R1 C4
J5x2 IO5
SW2x2 SW2x4 C2 U1x4 U1x35
R1 U1x5 U1x34
J5x3 IO12 C4
U1x6 U1x33

SW2
2018-9-28

U1x7 U1x32

KEY_EN
J5x4 IO13 R34x1 R34x2
J3x1
U1x8 U1x31
C36x1 C36x2 J3x2 R33x1 R33x2
63C
J3x3
U1x9 U1x30
J5x5 IO14 SW2x1
C22x1
SW2x3 73C
C37x1 C37x2 J3x4
J3x5
R9x2

R10x2
R9x1

R10x1
U1x10
U1x39 U1x29
C22 C22x2 C38x2 C38x1 J3x6 U1x11 U1x28
83C
IO15 R28x1 J3x7

SW2 C22 R28


J5x6 R28 R28x2 J3x8
R40x2 R40x1
R34 R33 R9 R10 R40 U1x12 U1x27
C39x2 C39x1 J3x9
93C
R34 U1x13 U1x26
ESP32-AZURE-KIT V0.8

J3x10
J5x7 GND J3x11 R33
J3x12
U1x14 U1x25
83R
R38x2 R38x1 R9
J3x13 U1x15 U1x24
C40x2 C40x1 J3x14
R10

C36 C37 C38 C39 R38 C40


04C
J5x8 IO18
TP1
TP2
TP3
TP4
TP5
TP6
TP7
TP8
TP9
TP10

J3x15 R40 U1x16 TP1x1 TP2x1 TP3x1 TP4x1 TP5x1 TP6x1 TP7x1 TP8x1 TP9x1 TP10x1 U1x23

30
J3x16
J3x17 U1x17 U1x22

5
J5x9 IO19 J3x18
J3x19 U1 U1x18 U1x21
J3x20

! /8
J3x21
U1x19 U1x20
U1
J5x10 IO21 J3x22
R35
R35x1 R35x2
R35

J3x23
Q3
Q4

Q2

02R
8D
12R
9D
61C
22R
01D
42R
11D

Q2x1 Q3x1 Q4x1


L1

R27x2 R27x1 J3x24


Q7x1
Q7

J5x11 R27 93R


R39x2 R39x1 J3x25 Q2x3 Q3x3 Q4x3
IO22 C19x2 C19x1

R27 C19
J3
C19 R20x2
J3x26 R21x2 C16x2 R22x2 R24x2 Q7x3
D8x2 D9x2 D10x2 D11x2 Q2x2 Q3x2 Q4x2
C41x1 C41x2
14C
J3x27
R20x1 D8x1 R21x1 D9x1 C16x1 R22x1 D10x1 R24x1 D11x1 Q7x2
R20
D8
R21
D9
C16
R22
D10
R24
D11

C42x1 C42x2 J3x28 R12x1 R12x2 R15x2 R15x1 R16x2 R16x1


Q2 R12
Q3 R15

SW1x2 SW1x4 24C

R39 C41C41C42C42
J5x12 IO23 R12 R16 R4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x2
R30

R41x1 R3x1 R2x1


R30

4J

BZ1
D3x1 D2x1
Q8 D14

BZ1x3 BZ1x1 D14x1


Azure
SDBY3RD3
CHRG2RD2

D13x2 D12x2
D13
Q5 D12

J1x8 J1x9
L1 U3 J2

R31 D13

J4 D14
R41 R41
R31
R3 D3
R2 D2

J2x3 J2x4
J1

Buzzer
SD Card Slot
USB Micro-B
Charge LED x 2

Customer LED X 2
Battery Connector

2018.10
3. PCB Design

USB-to-UART Bridge
!

4.

Espressif
!
5 4 3 2 1

ESP32-WROVER Power and Battery Charge

VBUS_A VBAT
D
VDD3V3 VBUS VBUS_A D
U1 J1 USB-MICRO-B U2 C1 22uF/10V
2 25 KEY_IO0 1 D1 BAT60A 4 5 VBUS_A
3V3 IO0 SD_DO KEY_IO0 USB_DM VCC BAT
24 6 VBUS 2 8
IO2 ESP_TXD SD_DO SD_CS GND USB_DP CE
35 PIN16 7 D- 3 7 D2 R2 2K/1%
C2 R1 TXD0 34 ESP_RXD SD_DI PIN23 8 GND D+ 4 1 CHRG RED LED
10K/1% RXD0 26 PERI_PWR SD_DO PIN24 9 GND ID 5 C3 2 TEMP 6 D3 R3 2K/1%
10uF/10V IO4 29 IO5 GND GND D4 D5 D6 LESD5D5.0CT1G 3 PROG STDBY 9 YLW-GRN LED

MT
MT
IO5 14 IO12 LESD5D5.0CT1G 10uF/10V GND PGND
ESP_EN 3 IO12 16 SD_CS LESD5D5.0CT1G R4 AP5056
EN IO13 SD_CS

10
11
13 SD_CLK 2K/1%
IO14 SD_DI SD_CLK
PIN19 19 23 PIN15 1 TP1 Iset = 500mA (R4 = 2K)
CMD IO15 SD_DI
C4 PIN20 20 30 IO18 PIN16 1 TP2
PIN21 21 CLK IO18 31 IO19 PIN17 1 TP3
0.1uF/10V PIN22 22 SD0 IO19 33 IO21 PIN18 1 TP4
PIN17 17 SD1 IO21 36 IO22 PIN19 1 TP5
PIN18 18 SD2 IO22 37 IO23 PIN20 1 TP6
32 SD3 IO23 10 I2C0_SDA PIN21 1 TP7
NC IO25 I2C0_SCL I2C0_SDA
27 11 PIN22 1 TP8
NC1 IO26 BUZ_IO27 I2C0_SCL
28 12 PIN23 1 TP9
NC2 IO27 LED_WIFI BUZ_IO27
8 PIN24 1 TP10
IO32 LED_AZURE LED_WIFI
1 9
GND IO33 BAT_ADC LED_AZURE
PIN15 15 6 VBUS_A D7 BAT60A
38 GND IO34 7 IO35 VSYS VDD3V3
GND IO35 VSYS
39 4 IO36 VBAT AO3401 U3 ETA3425 L1
PGND IO36 5 IO39 Q1 4 3
IO39 IN LX 2.2uH/2.6A
ESP32-WROVER
VBUS_A R7 R8
C 10K/1% 100K/1% 1 5 R6 C
GND

R5 EN FB 2M/1%
VDD3V3_A VBAT 10K/1%
2

6
VBAT C5 C6 C7 C8
I2C0_SDA R9 10K/1% J2 R36 BAT_ADC
BAT+ 1 2M/1% 10uF/10V 10uF/10V 0.1uF/10V

! /8
I2C0_SCL R10 10K/1% BAT- 2 0.1uF/10V
R37 C9 R11
ESP_EN CON2-PH-SM4S 1M/1% 1M/1%
ESP_EN
0.1uF/10V
SD_DO IO2
VDD3V3 AO3401 VDD3V3_A
Q7

Vout=1.13*(1+R6/R11)=3.39V
PERI_PWR R35
100K/1%
USB2UART

ESP_EN

CP_TXD ESP_RXD CP_DTR


CP_RXD ESP_TXD CP_TXD CP_DTR R12 Q2
CP_RXD 10K/1% S8050
CP_RTS IO Connectors
CP_RTS

B KEY_IO0 B

29
28
27
26
25
24
23
22
U6 VDD3V3
CP_RTS R15 Q3 J5
10K/1% S8050 1 1 H1 1 H2

TXD
RTS
CTS

DTR
DSR
RXD
1

NC11
IO5 2 Hole_M3 Hole_M3

PGND
1 21 CP_DTR IO12 3 2
2 DCD NC10 20 IO13 4 3 1 H3 1 H4
3 RI NC9 19 IO2 IO14 5 4 Hole_M3 Hole_M3
VDD3V3_A USB_DP 4 GND CP2102 NC8 18 IO15 6 5
USB_DM 5 D+ NC7 17 7 6
6 D- NC6 16 CP_RTS R16 Q4 IO18 8 7
7 VDD NC5 15 10K/1% S8050 IO19 9 8
VBUS_A REGIN NC4 IO21 10 9
CP_DTR IO22 11 10
IO23 12 11

VBUS
RST
NC1
SUSPEND
SUSPEND
NC2
NC3
C14 R17 IO35 13 12
0.1uF/10V 0R/1% IO36 14 13

8
9
14

10
11
12
13
14
IO39 15
DTR RTS EN IO0 IO2 Boot Mode 16 15
16
R18 VDD3V3_A 1 1 1 1 1 Flash Boot CON16-XH-2P54
2K/1% IO13 SD_CS
R19 1 0 0 1 1 System Down IO14 SD_CLK
47.5K/1%(NC) IO15 SD_DI
0 1 1 0 0 UART0 Boot
0 0 1 1 1 Flash Boot
A A

5 4 3 2 1

2018.10
Schematic
4. Schematic
!

Espressif
5 4 3 2 1

MicroSD Card OLED Screen Keys and LEDs


J3
1 VDD3V3 VDD3V3
C36 1uF/16V 2 NC
D D
VDD3V3_A 3 C2P
VDD3V3_A C37 1uF/16V 4 C2N
VDD3V3_A VDD3V3_A 5 C1P
6 C2N SW1 R27 SW2 R28
VDD3V3_A 7 VBAT 1 4 10K/1% 1 4 10K/1%
10K/1% C38 C39 8 NC 2 3 KEY_IO0 2 3 ESP_EN
10K/1% 9 VSS
R20 R21 R22 R24 10K/1% 1uF/10V 1uF/10V 10 VDD SW-TACT-SPST SW-TACT-SPST
10K/1%(NC) VDD3V3_A 11 BS0
J4 TF-CARD 12 BS1 C19 C22
1 4 13 BS2
SD_CS 2 DATA2 VDD 9 OLED_RST 14 CS 0.1uF/10V 0.1uF/10V
SD_DI 3 DATA3 DET 10 VDD3V3_A 15 RES
SD_CLK 5 CMD G1 11 16 D/C
SD_DO 7 CLK G2 12 17 R/W
8 DATA0 G3 13 0.1uF/10V I2C0_SCL 18 E/RD
DATA1 G4 6 C16 19 D0
D8 D9 D10 D11 VSS R38 I2C0_SDA 20 D1
10K/1% 21 D2 VDD3V3_A VDD3V3_A
LESD8D3.3CAT5G OLED_RST 22 D3
LESD8D3.3CAT5G 23 D4
LESD8D3.3CAT5G C40 24 D5
LESD8D3.3CAT5G 25 D6 R30 R31
0.1uF/10V R39 910K/1% 26 D7 2K/1%
IREF 2K/1%
C41 4.7uF/16V 27
C42 2.2uF/16V 28 VCOMH
29 VCC LED_AZURE LED_WIFI
30 VLSS
C I2C ADDR: 0x3C NC YLW-GRN LED YLW-GRN LED C
OLED Screen OLED-SMD-0P7-30P 10K/1% R33 D12 10K/1% R34 D13

7
Q5 Q6

! /8
SI2302DS SI2302DS

Sensors
VDD3V3_A VDD3V3_A
VDD3V3_A U9
8 4 I2C0_SCL
U8 VDD SCL
13 23 I2C0_SCL 6 3 I2C0_SDA
VDD SCL VDDIO SDA
8 24 I2C0_SDA 7 2 D14 BZ1
VLOGIC SDA GND CSB BAS321 BUZZER-5020
11 6 1 5
FSYNC AUX_DA I2C ADDR: 0x68 GND ADDR
1 7 Motion sensor FBM320
3

CLKIN AUX_CL 0.1uF/10V 0.1uF/10V


9 12 C20 C21 I2C Mode, I2C Address: 0x6D BUZ_IO27 R40 1 Q8
AD0 INT Barometer 1K/1% S8050
2

10 17
20 REGOUT NC 16 R41
CPOUT NC 15 4.7K/1%
B 22 NC 14 VDD3V3_A B
21 RESV NC 5
19 RESV NC 4
RESV NC 3 VDD3V3_A
0.1uF/10V2.2nF/50V 18 NC 2
C23 C24 GND NC C25 C26
MPU-6050 0.1uF/10V 10nF/10V
ESP_EN
KEY_IO0 ESP_EN
R29
LED_WIFI KEY_IO0
1K/1% U10
I2C0_SCL LED_AZURE LED_WIFI
1 6
VCC SCL BUZ_IO27 LED_AZURE
C27
I2C0_SDA BUZ_IO27
0.1uF/10V 5 4
DVI SDA
C28 3 2 R32 10K/1% SD_DO
GND ADDR SD_CS SD_DO
1uF/10V
SD_CLK SD_CS
BH1750FVI
VDD3V3_A SD_DI SD_CLK
SD_DI
U11 I2C Mode, I2C Address: 0x23
2 7 I2C0_SCL Ambient light sensor
VDD SCL I2C0_SDA
I2C0_SDA I2C0_SCL I2C0_SDA
8 6
VDDIO SDA I2C0_SCL
1 9
CAPA INT1 I2C ADDR: 0x0E VDD3V3_A
4 3 Magnetometer U12
CAPR NC 1 2 I2C0_SCL
1uF/10V 0.1uF/10V 0.1uF/10V 5 10 VDD SCL
C29 C30 C31 C32 C33 GND GND 3 4 I2C0_SDA
A DRDY SDA A
0.1uF/10V 0.1uF/10V MAG3110 C34
0.1uF/10V 5 6
GND CS
HTS221

I2C Mode, I2C Address: 0x5F


Humidity and temperature sensor

5 4 3 2 1

2018.10
4. Schematic
Disclaimer and Copyright Notice
Information in this document, including URL references, is subject to change without
notice.
THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER,
INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS
FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT
OF ANY PROPOSAL, SPECIFICATION OR SAMPLE.
All liability, including liability for infringement of any proprietary rights, relating to use of
information in this document is disclaimed. No licenses express or implied, by estoppel or
otherwise, to any intellectual property rights are granted herein.
The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is
a registered trademark of Bluetooth SIG.
All trade names, trademarks and registered trademarks mentioned in this document are
Espressif IoT Team
property of their respective owners, and are hereby acknowledged.
www.espressif.com Copyright © 2018 Espressif Inc. All rights reserved.

Potrebbero piacerti anche