hong ke technology

53
Hong Ke Technology kai Mar 24, 2021

Upload: others

Post on 20-Jun-2022

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Hong Ke Technology

Hong Ke Technology

kai

Mar 24, 2021

Page 2: Hong Ke Technology
Page 3: Hong Ke Technology

LANGUAGES/

1 Switch Between Languages/ 1

2 Arduino Construction of development environment 3

3 ESP-IDF Construction of development environment 15

4 WiFi 17

5 Bluetooth 19

6 Zigbee 21

7 LoRa 23

8 Sub1G 25

9 2.4G 27

10 Multi-Protocol 29

11 HK-D1-MiniPro4M 31

12 HK-D1-MiniPro16M 33

13 HK-ESP32-CAM 35

14 HK-ESP32-CAM-MB 41

15 HK-ESP32-MiniKit(BLACK) 43

16 HK-ESP32-MiniKit(BLUE) 45

17 HK-ESPTB 47

18 HK-RFTB 49

i

Page 4: Hong Ke Technology

ii

Page 5: Hong Ke Technology

CHAPTER

ONE

SWITCH BETWEEN LANGUAGES/

There are now versions in two languages.

• English/

• Chinese/

You can easily change from one language to another by the panel on the sidebar like below. Just click on the Read theDocs title button on the left-bottom corner if it is folded.En is an English docs and zh_CN is a Chinese docs

Read the Docs enzh_CN

1

Page 6: Hong Ke Technology

Hong Ke Technology

Fig. 1: Switch Between Languages/

2 Chapter 1. Switch Between Languages/

Page 7: Hong Ke Technology

CHAPTER

TWO

ARDUINO CONSTRUCTION OF DEVELOPMENT ENVIRONMENT

2.1 Arduino Construction of development environment(ESP32)

You need to install Arduino, GIT, Python and other tools on your computer. The installation software sectionwill not cover too much.

1Download and install arduinoide from the Arduino official website. Open the download package and click I agree

2Click Next

3The default is to install on the C drive. You can change the installation location by clicking Browse.

4I installed it under the Arduino folder on disk D (remember this installation path)

5Wait for the installation to complete. Turn on the Hardware under the installation path

3

Page 8: Hong Ke Technology

Hong Ke Technology

6Create a new folder espressif

7Go to espressif. Create another folder for esp32

8Open Git Bash and go to this directory (if you already have Git installed)

Note: Note that the paths are “/” delimited

9Command line inputgit clone https://github.com/espressif/arduino-esp32.git

10Waiting for download to succeedOpen the arduino-esp32 in the espressif folder .open tools folder

11Double-click get.exeYou need Python installed on your computer.

12Open ArduinoIDESelect development board

13Development board configuration

14Arduino development environment is built.You can select the appropriate example to burn to the appropriate devel-opment board

4 Chapter 2. Arduino Construction of development environment

Page 9: Hong Ke Technology

Hong Ke Technology

2.2 Arduino Construction of development environment(ESP8266)

2.2. Arduino Construction of development environment(ESP8266) 5

Page 10: Hong Ke Technology

Hong Ke Technology

6 Chapter 2. Arduino Construction of development environment

Page 11: Hong Ke Technology

Hong Ke Technology

2.2. Arduino Construction of development environment(ESP8266) 7

Page 12: Hong Ke Technology

Hong Ke Technology

8 Chapter 2. Arduino Construction of development environment

Page 13: Hong Ke Technology

Hong Ke Technology

2.2. Arduino Construction of development environment(ESP8266) 9

Page 14: Hong Ke Technology

Hong Ke Technology

10 Chapter 2. Arduino Construction of development environment

Page 15: Hong Ke Technology

Hong Ke Technology

2.2. Arduino Construction of development environment(ESP8266) 11

Page 16: Hong Ke Technology

Hong Ke Technology

12 Chapter 2. Arduino Construction of development environment

Page 17: Hong Ke Technology

Hong Ke Technology

2.2. Arduino Construction of development environment(ESP8266) 13

Page 18: Hong Ke Technology

Hong Ke Technology

14 Chapter 2. Arduino Construction of development environment

Page 19: Hong Ke Technology

CHAPTER

THREE

ESP-IDF CONSTRUCTION OF DEVELOPMENT ENVIRONMENT

3.1 ESP-IDF Construction of development environment(ESP32)

15

Page 20: Hong Ke Technology

Hong Ke Technology

16 Chapter 3. ESP-IDF Construction of development environment

Page 21: Hong Ke Technology

17

Page 22: Hong Ke Technology

Hong Ke Technology

CHAPTER

FOUR

WIFI

4.1 HK-01

4.1.1

4.2 HK-01B

4.2.1

4.3 HK-01S

4.3.1

4.4 HK-03

4.4.1

4.5 HK-05

4.5.1

4.6 HK-07

4.6.1

4.7 HK-07S

4.7.1

4.8 HK-12E

4.8.1

4.9 HK-12F-L2

4.9.1

4.10 HW12F2G4E

4.10.1

4.11 HK-12S

4.11.1

4.12 HK-13

4.12.1

18 Chapter 4. WiFi

Page 23: Hong Ke Technology

CHAPTER

FIVE

BLUETOOTH

5.1 HK-BT01

5.1.1

5.2 HK-BT12

5.2.1

19

Page 24: Hong Ke Technology

Hong Ke Technology

20 Chapter 5. Bluetooth

Page 25: Hong Ke Technology

CHAPTER

SIX

ZIGBEE

6.1 HK-ZB12

6.1.1

6.2 HK-ZB01

6.2.1

21

Page 26: Hong Ke Technology

Hong Ke Technology

22 Chapter 6. Zigbee

Page 27: Hong Ke Technology

CHAPTER

SEVEN

LORA

7.1 HK-Ra07

7.1.1

7.2 HK-Ra07-I

7.2.1

23

Page 28: Hong Ke Technology

Hong Ke Technology

24 Chapter 7. LoRa

Page 29: Hong Ke Technology

CHAPTER

EIGHT

SUB1G

8.1 HK-Si01

8.1.1

8.2 HK-Si12

8.2.1

25

Page 30: Hong Ke Technology

Hong Ke Technology

26 Chapter 8. Sub1G

Page 31: Hong Ke Technology

CHAPTER

NINE

2.4G

9.1 HK-24DP

9.2 HK-24MiNi

27

Page 32: Hong Ke Technology

Hong Ke Technology

28 Chapter 9. 2.4G

Page 33: Hong Ke Technology

CHAPTER

TEN

MULTI-PROTOCOL

10.1 HK-32D

10.1.1

10.2 HK-32U

10.2.1

10.3 HK-32S

10.3.1

10.4 HK-32S-I

10.4.1

10.5 HK-32B

10.5.1

10.6 HK-WROVER

10.6.1

10.7 HK-WROVER-I

10.7.1

29

Page 34: Hong Ke Technology

Hong Ke Technology

30 Chapter 10. Multi-Protocol

Page 35: Hong Ke Technology

CHAPTER

ELEVEN

HK-D1-MINIPRO4M

11.1

31

Page 36: Hong Ke Technology

Hong Ke Technology

32 Chapter 11. HK-D1-MiniPro4M

Page 37: Hong Ke Technology

CHAPTER

TWELVE

HK-D1-MINIPRO16M

12.1

33

Page 38: Hong Ke Technology

Hong Ke Technology

34 Chapter 12. HK-D1-MiniPro16M

Page 39: Hong Ke Technology

CHAPTER

THIRTEEN

HK-ESP32-CAM

13.1 Product Overview

The HK-ESP32-CAM module is a 39.8*27* small camera module designed by Hongke. This module can workindependently as the minimum system. New WiFi+ Bluetooth dual mode development board based on ESP32, withPCB onboard antenna, with two high-performance 32-bit LX6Cpus, at level 7 Pipeline architecture, main frequencyadjustment range from 80MHz to 240Mhz. Ultra-low power consumption, deep sleep current as low as 6mA.Ultra-small 802.11b/g/ N Wi-Fi + BT/BLE SoC module.

HK-ESP32-CAM can be widely used in a variety of Internet of Things occasions, suitable for home smart devices,industrial wireless control, wireless monitoring, QR wireless identification, Wireless positioning system signal andother iot applications are ideal solutions for iot applications.

The HK-ESP32-CAM is DIP encapsulated and can be used by directly plugging into the bottom plate. The reliableconnection mode is convenient for all kinds of Internet of Things hardware terminals.

Ultra-small 802.11b/g/ N Wi-Fi + BT/BLE SoC module.

13.2 Product Characteristics

Using low power dual core 32-bit CPU, it can be used as application processor

The main frequency is up to 240mhz, and the computing power is up to 600 DMIPS

Built in 520kb SRAM and external 8MB PSRAM

Support UART/SPI/I2C/PWM/ADC/DAC interfaces

Support ov2640 and ov7670 cameras with built-in flash

Support image WiFi upload

Support TF Card

Support multiple sleep modes

Embedded LwIP and FreeRTOS

Support STA/AP/sta+AP working mode

Support smart config / airkiss one click distribution network

Support secondary development

35

Page 40: Hong Ke Technology

Hong Ke Technology

13.3 Application Scenarios

Picture transmission of home intelligent equipment

Wireless monitoring

Smart agriculture

QR wireless identification

Wireless positioning system signal

And other Internet of things applications

36 Chapter 13. HK-ESP32-CAM

Page 41: Hong Ke Technology

Hong Ke Technology

13.3. Application Scenarios 37

Page 42: Hong Ke Technology

Hong Ke Technology

13.4 Technical Specifications

Pa-rame-ter

description

Work-ingvolt-age

4.75-5.25v

Spi-flash

The default of 32 mbit

RAM Internal 520kb + External 8MB PSRAMWi-Fi 802.11b/g/n/e/iBlue-tooth

Bluetooth 4.2br/edr and ble

Sup-portinter-face(2Mbps)

UART, SPI, I2C, PWM

Sup-portTFcard

Maximum 4G support

IO 9Serialportrate

115200bps by default

Spec-tralRange

2400 ~ 2483.5mhz

An-tennaform

PCB antenna on board, gain 2dBI

Imageoutputformat

JPEG (ov2640 only), BMP, grayscale

Pack-age

DIP-16

Trans-mit-tingpower

802.11b:17±2dBm (@11Mbps)802.11g:14±2dBm (@54Mbps)802.11n:13±2dBm (@MCS7)

Re-ceiv-ingSensi-tivity

CCK,1 Mbps:-90dBmCCK,11 Mbps:-85dBm6Mbps(1/2BPSK):-88dBm54Mbps(3/464-QAM):-70dBmMCS7(65Mbps,72.2Mbps):-67dBmPower consumption turn off flash :180mA@5VTurn on the flash and turn on the maximum brightness :310mA@5VDeep sleep: the minimum power consumption can reach 6mA@5VModem sleep: lowest attainable 20mA@5VLight sleep: up to 6 7mA@5V

Secu-rity

WPA/WPA2/WPA2 enterprise/WPS

Work-ingtem-pera-ture

-20 °C ~ 70 °C

Stor-ageenvi-ron-ment

-40 °C ~ 125 °C, < 90% RH

Weight 10g

38 Chapter 13. HK-ESP32-CAM

Page 43: Hong Ke Technology

Hong Ke Technology

13.5 Pin definition

CAM PIN ESP32 PIND0 PIN5D1 PIN18D2 PIN19D3 PIN21D4 PIN36D5 PIN39D6 PIN34D7 PIN0XCLK PIN22PCLK PIN25VSYNC PIN23SDA PIN26SCL PIN27POWER PIN PIN32

SD PIN ESP32 PINCLK PIN14CMD PIN15DATA0 PIN2DATA1/flash lamp PIN4DATA2 PIN12DATA3 PIN13

13.5. Pin definition 39

Page 44: Hong Ke Technology

Hong Ke Technology

Fig. 1: HK-ESP32-CAM

40 Chapter 13. HK-ESP32-CAM

Page 45: Hong Ke Technology

CHAPTER

FOURTEEN

HK-ESP32-CAM-MB

HK-ESP32-CAM-MB is a base designed by Hongke for hk-esp32-cam small camera module.

ESP32-CAM-MB is equipped with USB to serial interface, which is convenient for users to burn programs. This baseand HK-ESP32-CAM can form a module which can work independently as the minimum system.

Fig. 1: HK-ESP32-CAM-MB

41

Page 46: Hong Ke Technology

Hong Ke Technology

Fig. 2: HK-ESP32-CAM module

42 Chapter 14. HK-ESP32-CAM-MB

Page 47: Hong Ke Technology

CHAPTER

FIFTEEN

HK-ESP32-MINIKIT(BLACK)

15.1

43

Page 48: Hong Ke Technology

Hong Ke Technology

44 Chapter 15. HK-ESP32-MiniKit(BLACK)

Page 49: Hong Ke Technology

CHAPTER

SIXTEEN

HK-ESP32-MINIKIT(BLUE)

16.1

45

Page 50: Hong Ke Technology

Hong Ke Technology

46 Chapter 16. HK-ESP32-MiniKit(BLUE)

Page 51: Hong Ke Technology

CHAPTER

SEVENTEEN

HK-ESPTB

17.1

47

Page 52: Hong Ke Technology

Hong Ke Technology

48 Chapter 17. HK-ESPTB

Page 53: Hong Ke Technology

CHAPTER

EIGHTEEN

HK-RFTB

18.1

49