EasyManuals Logo

Adafruit AirLift Shield ESP32 User Manual

Adafruit AirLift Shield ESP32
57 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #38 background imageLoading...
Page #38 background image
# tx=board.TX,
# rx=board.RX,
# )
adapter = esp32.start_bluetooth()
ble = BLERadio(adapter)
uart = UARTService()
advertisement = ProvideServicesAdvertisement(uart)
while True:
ble.start_advertising(advertisement)
print("waiting to connect")
while not ble.connected:
pass
print("connected: trying to read input")
while ble.connected:
# Returns b'' if nothing was read.
one_byte = uart.read(1)
if one_byte:
print(one_byte)
uart.write(one_byte)
Talk to the AirLift via the Bluefruit LE Connect App
Start the Bluefruit LE Connect App on your phone or tablet. You should see a CIRCUITPY device available
to connect to. Tap the Connect button (1):
You'll then see a list of Bluefruit Connect functions ("modules"). Choose the UART module (2):
© Adafruit Industries https://learn.adafruit.com/adafruit-airlift-shield-esp32-wifi-co-processor Page 38 of 56

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Adafruit AirLift Shield ESP32 and is the answer not in the manual?

Adafruit AirLift Shield ESP32 Specifications

General IconGeneral
MicrocontrollerESP32
InterfaceSPI
WiFi802.11 b/g/n
Voltage Level3.3V
TypeShield
SD Card SocketNo
Wireless ConnectivityWiFi
Input Voltage5V
Flash Memory4 MB
SRAM520 KB
Clock Speed240 MHz
USBNo
Compatible BoardsArduino Uno, Mega
AntennaCeramic
Digital I/O PinsNot directly accessible (used for SPI communication)