background image

 

 

 

 

 

 

 

 

 

 

 

       

 

BluetoothSerial SerialBT

;

 

 

void

 

setup

()

 

{

 

  Serial

.

begin

(

115200

);

 

  SerialBT

.

begin

("

ESP32test

");

 //Bluetooth device name

 

  Serial

.

println

("

The device started, now you can pair it with bluetoot

h!

");

 

}

 

 

void

 

loop

()

 

{

 

  

if

 

(

Serial

.

available

())

 

{

 

    

SerialBT

.

write

(

Serial

.

read

());

 

  

}

 

  

if

 

(

SerialBT

.

available

())

 

{

 

    

Serial

.

write

(

SerialBT

.

read

());

 

  

}

 

  

delay

(

20

);

 

}

 

 

1.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. 

 

Summary of Contents for POECAM

Page 1: ...M5STACK POECAM 2022 V0 01...

Page 2: ...CPU AND MEMORY 5 1 2 STORAGE DESCRIPTION 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 R...

Page 3: ...n 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 vario...

Page 4: ...4 2 SPECIFICATIONS...

Page 5: ...tiple 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 1...

Page 6: ...ity 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 t...

Page 7: ...ICS 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...

Page 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...

Page 9: ...M5STACK POECAM 2022 V0 01...

Page 10: ...2 TABLE OF CONTENTS 1 QUICK START 3 1 1 ARDUINO IDE 3 1 2 BLUETOOTH SERIAL 3 1 3 WIFI SCANNING 5...

Page 11: ...tack Boards Manager url to Additional Boards Manager URLs https raw githubusercontent com espressif arduino esp32 gh pages package_esp32_dev_index json 3 Navigate to Tools Board Boards Manager 4 Searc...

Page 12: ...pletion the device will automatically run Bluetooth and the device name is ESP32test At this time use the Bluetooth serial port sending tool on the PC to realize the transparent transmission of Blueto...

Page 13: ...e Serial read if SerialBT available Serial write SerialBT read delay 20 1 3 WIFI SCANNING Open the Arduino IDE and open the example program File Examples WiFi WiFiScan Connect the device to the comput...

Page 14: ...return the number 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 S...

Page 15: ...comply with the limits for a Class B digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential insta...

Reviews: