background image

10 

#include

 

"

BluetoothSerial.h

"

 

#if

 

!

defined

(

CONFIG_BT_ENABLED

)

 

||

 

!

defined

(

CONFIG_BLUEDROID_ENABLED

)

 

#error

 

Bluetooth is not enabled! Please run `make menuconfig` to and en

able it

 

#endif

 

BluetoothSerial SerialBT

;

 

void

 

setup

()

 

{

 

 Serial

.

begin

(

115200

);

 

 SerialBT

.

begin

("

ESP32test

");

 //Bluetooth device name

 

Содержание M5Station-485

Страница 1: ...M5Station 485 2020 V0 01 ...

Страница 2: ...ON 5 1 2 1 External Flash and SRAM 5 1 3 CRYSTAL 5 1 4 RTC MANAGEMENT AND LOW POWER CONSUMPTION 6 4 ELECTRICAL CHARACTERISTICS 7 4 1 LIMIT PARAMETERS 7 4 2 WIFI RADIO FREQUENCY 7 4 3 LOW POWER BLUETOOTH RADIO 8 4 3 1 receiver 8 4 3 2 launcher 8 5 QUICK START 9 5 1 ARDUINO IDE 9 5 2 BLUETOOTH SERIAL 9 5 3 WIFI SCANNING 11 ...

Страница 3: ...n in the M5Stack development kit series It integrates rich interfaces and peripherals and is highly expandable Large space reserved inside flexible customization and more likely to be applicable to various industrial acquisition and control application scenarios ...

Страница 4: ...core 600 DMIPS 520KB SRAM Wi Fi dual mode Bluetooth Flash 16MB LCD screen 1 14 LCD 135x240 ST7789V2 SPI interface RTC BM8563 PMU AXP192 Input power 5V 500mA IO G33 G32 G35 G25 G36 G26 G13 G14 G16 G17 Antenna Metal Antenna Battery 18650 x2 3 7V Shell material PC Plastic ...

Страница 5: ...ltiple external QSPI flash and static random access memory SRAM having a hardware based AES encryption to protect the user programs and data ESP32 access external QSPI Flash and SRAM by caching Up to 16 MB external Flash code space is mapped into the CPU supports 8 bit 16 bit and 32 bit access and can execute code Up to 8 MB external Flash and SRAM mapped to the CPU data space support for 8 bit 16...

Страница 6: ...vity data stored in the RTC ULP coprocessor can work Hibernation Mode 8 MHz oscillator and a built in coprocessor ULP are disabled RTC memory to restore the power supply is cut off Only one RTC clock timer located on the slow clock and some RTC GPIO at work RTC RTC clock or timer can wake up from the GPIO Hibernation mode Deep sleep mode related sleep mode power save mode switching between Active ...

Страница 7: ...TICS 4 1 LIMIT PARAMETERS Table 8 Limiting values 1 VIO to the power supply pad Refer ESP32 Technical Specification Appendix IO_MUX as SD_CLK of Power supply for VDD_SDIO 4 2 WIFI RADIO FREQUENCY Table 9 Wi Fi RF characteristics ...

Страница 8: ...8 4 3 LOW POWER BLUETOOTH RADIO 4 3 1 receiver Table 10 Low power Bluetooth receiver characteristics 4 3 2 launcher Table 11 Characteristics of Low Power Bluetooth transmitter ...

Страница 9: ...ls Board Boards Manager 4 Search ESP32 in the pop up window find it and click Install 5 select Tools Board ESP32 Arduino ESP32 DEV Module 6Please install FTDI driver before use https docs m5stack com en download 5 2 BLUETOOTH SERIAL Open the Arduino IDE and open the example program File Examples BluetoothSerial SerialToSerialBT Connect the device to the computer and select the corresponding port t...

Страница 10: ...ed CONFIG_BT_ENABLED defined CONFIG_BLUEDROID_ENABLED error Bluetooth is not enabled Please run make menuconfig to and en able it endif BluetoothSerial SerialBT void setup Serial begin 115200 SerialBT begin ESP32test Bluetooth device name ...

Страница 11: ...delay 20 5 3 WIFI SCANNING Open the Arduino IDE and open the example program File Examples WiFi WiFiScan Connect the device to the computer and select the corresponding port to burn After completion the device will automatically run the WiFi scan and the current WiFi scan result can be obtained through the serial port monitor that comes with the Arduino include WiFi h void setup ...

Страница 12: ...umber of networks found int n WiFi scanNetworks Serial println scan done if n 0 Serial println no networks found else Serial print n Serial println networks found for int i 0 i n i Print SSID and RSSI for each network found Serial print i 1 Serial print Serial print WiFi SSID i Serial print Serial print WiFi RSSI i Serial print Serial println WiFi encryptionType i WIFI_AUTH_OPEN delay 10 Serial pr...

Страница 13: ...tal device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interfere...

Отзывы: