<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[M5Stack Bluetooth Comms to ESP32 BT &amp; another device]]></title><description><![CDATA[<p dir="auto">I've purchase an M5Stack Core2 (AWS) and I'm considering incorporating it into an existing project for the display/controller.</p>
<p dir="auto">I have an LDMOS amplifier that is orchestrated by an Arduino MEGA for power, control and band switching.  I'm driving the amplifier with a ICOM radio that operates Bluetooth, so I incorporated an ESP32 using Bluetooth to do the Comms to the IC-705 radio.  When ever the radio's frequency band changes, the MEGA follows by changing the amplifier band-switch and the antenna switch.  This works fine.</p>
<p dir="auto">The amplifier is mounted remotely (basement, just below me) and I have a "2 line/16 character" display with 5 buttons that communicates to the Arduino MEGA via I2C comms (SDL/SCL lines with pullups).  But with a physical shack re-configuration, the cable no longer reaches and I've added an extension to the cable, but the comms is intermittent.</p>
<p dir="auto">What I'd <strong>LIKE</strong> to do is to use the M5Stack as the display/control and communicate to it through my existing ESP32 Bluetooth along with the communications to the Radio.</p>
<p dir="auto">Can I connect the existing ESP32 Bluetooth the BOTH the IC-705 Radio AND to the M5Stack Core2 for the display and control parameters?</p>
<p dir="auto">I currently communicate from the ESP32 to the IC705 via BT using a declaration:<br />
<strong>BluetoothSerial SerialBT;</strong>   (Sorry, I don't understand how to use the triple brackets to show code!  I'm a newbie here.)</p>
<p dir="auto">Would I then declare a second instance to communicate with the M5Stack:<br />
<strong>Bluetooth Serial M5StackBT;</strong><br />
and send all the display parameters to the M5StackBT?</p>
<p dir="auto">Does this change seem feasible?<br />
Any "gotcha's" that you can see?</p>
<p dir="auto">Thanks!</p>
<p dir="auto">Sir Michael</p>
]]></description><link>https://community.m5stack.com/topic/4152/m5stack-bluetooth-comms-to-esp32-bt-another-device</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 11:33:45 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4152.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 25 Mar 2022 02:25:38 GMT</pubDate><ttl>60</ttl></channel></rss>