ESP32 Bluetooth Communication: Master-Slave Setup Tutorial with JSON Commands

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • Welcome to Magic Bullet! In this video, I'll show you how to set up a simple Bluetooth communication system between two ESP32 devices, where one acts as a Master and the other as a Slave. We'll be using Visual Studio Code and PlatformIO for development.
    What You'll Learn:
    How to set up the hardware for both Master and Slave ESP32 circuits
    How to program the Master and Slave ESP32 devices using JSON commands
    How to establish Bluetooth communication between the two devices
    How to control LEDs on the Slave device using push buttons on the Master device
    Resources:
    Master and Slave source code: github.com/Mag...
    Slave source code: github.com/Mag...
    Don't forget to subscribe for more IoT and home automation tutorials!

ความคิดเห็น • 2

  • @raymondmichael4987
    @raymondmichael4987 6 วันที่ผ่านมา +1

    this is dope 😊😊;
    now how about an master to many slaves or a mesh network with bluetooth 😊;

    • @magicbulletpro
      @magicbulletpro  6 วันที่ผ่านมา

      ESP32 supports BLE and can act as a central device (master) connecting to multiple peripheral devices (slaves). BLE is designed for multiple device communication, and you can manage multiple connections to slaves.