Hi,
I'm very new to esp32 coding.
.. having Googled until I'm blue in the face - I can't find anything to help.
All Bluetooth tutorials I've found are about the esp32 receiving data only - or swapping text between serial monitor on Arduino IDE and a serial Bluetooth connect app on my phone. Most are BLE, where I need classic raw serial RFCOMM reads and writes.
I have a Bluetooth (classic) controlled guitar amplifier that is controlled by an app. the app sends audio for 'play-along' backing music plus instruction to the amp to change sound (eg from a rock guitar sound to an acoustic guitar - there are 4 sound presets) it's simple raw serial RFCOMM reads and writes over bluetooth.
What I'm trying to do is have an esp32 bridge between the app and the guitar amplifier using Bluetooth via mac addresses.
On this esp32 bridge device, I want to wire 4 footswitches to allow me to send the preset code and therefore change the amp sound via footswitch (allowing me to keep my hands free for playing - whilst allowing normal communication to continue between the tablet and the guitar amp)
So in a nutshell, allow the app to talk to the guitar amp as usual, but occasionally inject a preset command to change the guitar sound preset via the press of a footswitch.
Below are the data that need to be sent to select one of the 4 presets.
Preset1 = "01fe000053fe1a000000000000000000f00124000138000000f779"
Preset2 = "01fe000053fe1a000000000000000000f00123010138000001f779"
Preset3 = "01fe000053fe1a000000000000000000f00125020138000002f779"
Preset4 = "01fe000053fe1a000000000000000000f00120030138000003f779"
Based on this interesting work by sound shed..
https://github.com/soundshed/spork/blob ... n/spork.py
Could anyone suggest a way forwards? - I plan on using Arduino Ide - but I'm happy to use what ever suits.
many thanks for your time!
Using the esp32 as a bluetooth repeater.
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: Basalt and 46 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.