ESP32 As Bluetooth Keyboard - Electronics Club, IIT Madras
Maybe your like
Electronics Club - Getting Started
- Arduino Installation
- Fundamentals
- Analog vs Digital
- Pulse Width Modulation
- Push buttons
- Capactive Touch Pins
- Pull Up/Down Resistors
- Serial Bluetooth
- Communication Protocols
- MicroPython Installation
- Bluetooth Keyboard
- Cloud Server
- Deep Sleep
- Dual Core Processing
- LDR sensor
- LED Web Server
- NeoPixel LED Control
- OLED display
- Realtime clock
- Web Server Game
- BLE Control
- Email Alert
- FlappyBird
- Instagram Follower Counter
- Joystick
- Pulse Oximeter
- Telegram-Motion detection
- Telegram-RGB
- Basics
- Easy projects
Description:
- ESP32 has BLE support thus it can be used as Bluetooth Keyboard with open source library
- Compatible with Windows,Linux,Android,MacOSX,iOS
Concept:
Making use of the Blutooth Capability of ESP32 board,we are going to send keystrokes to the device we want to. Various use cases are possible:
- Automating any set of actions
- Taking a photo with a hand trigger
- and many more
Parts Required:
- ESP32 Board
- Push buttons
- Jumper wires
Schematics:
Instructions:
- Load Arduino IDE
- Install the library from here (https://github.com/T-vK/ESP32-BLE-Keyboard/releases)
- Add the .ZIP library from the sketch menu
- Make the connections according to the schematic
- Try out the below codes:
Space bar button
- Upload the below code
- Connect with PC using Bluetooth
- Open "chrome://dino" and start playing

Play/Pause button
- Upload the below code
- Connect with Phone using Bluetooth
- Play your favourite music playlist,and now you can play pause the song using the ESP_keyboard
Tag » Arduino Ble Keyboard.h
-
ESP32 BLE Keyboard Library - GitHub
-
Mbed BLE HID - Arduino Reference
-
Using An Arduino Nano BLE 33 As A BLE Keyboard? - Arduino Forum
-
How To Turn Nicla Sense ME Into BLE Keyboard - Arduino Forum
-
BLE Scan And BLE Keyboard - Arduino Forum
-
Nano33 BLE Sense Data As Keyboard Output - Arduino Forum
-
ESP32 BLE HID Keyboard
-
Bluetooth HID Using Just An ESP32 (inc Bluetooth Macro Keypad)
-
Mouse And Keyboard Control Using TinyUSB And BLE
-
ESP32_BLE_Arduino Vs ESP32-BLE-Keyboard - LibHunt
-
BleKeyboard - ESP32 Forum
-
Mbed BLE HID - Arduino Library List
-
Arduino Nano BLE 33 Default Example Sketch `USBHID>Keyboard ...
-
ESP32 Bluetooth Low Energy (BLE) On Arduino IDE