Features:WIFIBluetooth4MB FlashLithium battery interface, 500mA Max charging currentDual-core Tensilica LX6 microprocessorUp to 240MHz clock frequency520kB internal SRAMIntegrated 802.11 BGN WiFi transceiverIntegrated dual-mode Bluetooth (classic and BLE)2
Features:
WIFI
Bluetooth
4MB Flash
Lithium battery interface, 500mA Max charging current
Dual-core Tensilica LX6 microprocessor
Up to 240MHz clock frequency
520kB internal SRAM
Integrated 802.11 BGN WiFi transceiver
Integrated dual-mode Bluetooth (classic and BLE)
2.2 to 3.6V operating range
2.5 A deep sleep current
28 GPIO
10-electrode capacitive touch support
Hardware accelerated encryption (AES, SHA2, ECC, RSA-4096)
Integrated LiPo Battery
ChargerYou need to hold “boot” button then click “EN” will go to download mode.
Product testprogram:
Thefourthprogram:changetheBluetoothdevicename
ItisnecessarytopointoutthattheArduinosupportpackageofthedevelopmentboardisnotcompletesofarinthisarticle(atleasthasbeenachievedbutdidnotgivetheinterface),suchasBluetooth,analogoutputfunctionandsoon.So,tousenoArduinolibraryfunction,thatitneedtousetheNativewaytodevelop.
AccordingtoEspressif’sofficialstatement,thelibraryfunctionofBluetoothisinfullswing,developmentandimprovement.ThisBluetoothprogramisalsoanexampleoftheEspressif’sofficial.TurnonBluetoothafterstartup,itcanbefoundontheBluetoothinterfaceofyourmobilephone.YourcellphonemustsupportBLEtofindthedevice,becauseitopenswithBLEBluetooth,soyouhavetofindthemobilephonesupportBLEequipment.TheclassicBluetoothfunctionthereisnoopenArduinointerface.Inaddition,thedevicenamewillchangeiftheuserbuttonispressedeverytime(youneedtousethemobileterminaltorefreshthedisplaytoseeit)
Codeisasfollows:
#include”SimpleBLE.h”
SimpleBLEble;
voidonButton(){
Stringout=”BLE32at:”;
out+=String(rand()%100);
Serial.println(out);
ble.begin(out);
}
voidsetup(){
Serial.begin(115200);
Serial.setDebugOutput(true);
ble.begin(“ESP32SimpleBLE”);
Serial.println(“Presstheuserbuttontochangethedevicename”);
}
voidloop(){
staticuint8_tlastPinState=1;
uint8_tpinState=digitalRead(0);
if(!pinState&&lastPinState){
onButton();
}
lastPinState=pinState;
while(Serial.available())Serial.write(Serial.read());
}
Package included:
1 x Pro ESP32
1 x Battery cable
2 x 20P pinhead
Open the phone’s Bluetooth interface to find the device, click the user button, and then refresh the Bluetooth device on the phone,
you can see that the name has been changed
Reviews
There are no reviews yet.