# Read ESP32 sensor on my Smartphone

**URL:** <https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912>\
**Category:** Networking, Protocols, and Devices\
**Created:** [February 9, 2026, 12:03pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912 "2026-02-09T12:03:35Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![stef69](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/stef69/32/1126779_2.png) [@stef69](https://forum.arduino.cc/u/stef69)\
**Post date:** [February 9, 2026, 12:03pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/1 "2026-02-09T12:03:35Z")

</div>

Hello,

I would like to read a analoge sensor connected to a ESP32 on my smartphone.  
I would write an anaolge output on the same ESP as well with my smartphone.  
Is there anywhere an example because the examples I found closes the client (client.stop();) constantly, so there is no online update of the value's possible.  
This whitin my home Wifi network.

with kind regards!

---

<div class="post-metadata">

**Author:** ![loveforcircuits](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/loveforcircuits/32/1127286_2.png) [@loveforcircuits](https://forum.arduino.cc/u/loveforcircuits)\
**Post date:** [February 9, 2026, 12:45pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/2 "2026-02-09T12:45:21Z")

</div>

You have to use bluetooth of ESP32. You need to use the serial bluetooth terminal app. [ESP32 Bluetooth Classic with Arduino IDE - Getting Started | Random Nerd Tutorials](https://randomnerdtutorials.com/esp32-bluetooth-classic-arduino-ide/)

---

<div class="post-metadata">

**Author:** ![cotestatnt](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cotestatnt/32/238781_2.png) [@cotestatnt](https://forum.arduino.cc/u/cotestatnt)\
**Post date:** [February 9, 2026, 12:54pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/3 "2026-02-09T12:54:05Z")

</div>

> [@loveforcircuits](#):
>
> serial bluetooth terminal app.

Actually, we might get better results by leveraging the ESP32’s **BLE capabilities** directly. Emulating a serial port can be a bit _hit-or-miss_, whereas the native protocol is the standard way to handle this.

This is just one of the core-provided examples:

> <https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/examples/Write/Write.ino>

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [February 9, 2026, 12:56pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/4 "2026-02-09T12:56:24Z")

</div>

Exactly which ESP32 are you using as there are multiple variants with different functionality

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [February 9, 2026, 12:57pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/5 "2026-02-09T12:57:54Z")

</div>

> [@cotestatnt](#):
>
> the native protocol is the standard way to handle this.

Agreed, but it is much more complicated to setup than BTSerial

---

<div class="post-metadata">

**Author:** ![cotestatnt](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cotestatnt/32/238781_2.png) [@cotestatnt](https://forum.arduino.cc/u/cotestatnt)\
**Post date:** [February 9, 2026, 1:01pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/6 "2026-02-09T13:01:39Z")

</div>

I have some reservations about this.  
Using a pseudo-serial approach requires us to build a protocol that already exists elsewhere.

While it seems simple enough for one variable, I’m concerned it might add unnecessary friction once we try to scale the project.

I'd rather do it right the first time

---

<div class="post-metadata">

**Author:** ![sonofcy](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sonofcy/32/1283617_2.png) [@sonofcy](https://forum.arduino.cc/u/sonofcy)\
**Post date:** [February 9, 2026, 1:08pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/7 "2026-02-09T13:08:05Z")

</div>

That would be easily done with the Arduino IoT cloud.

---

<div class="post-metadata">

**Author:** ![stef69](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/stef69/32/1126779_2.png) [@stef69](https://forum.arduino.cc/u/stef69)\
**Post date:** [February 9, 2026, 1:15pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/8 "2026-02-09T13:15:06Z")

</div>

esp32 devkitc v2 esp32 wroom 32

---

<div class="post-metadata">

**Author:** ![loveforcircuits](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/loveforcircuits/32/1127286_2.png) [@loveforcircuits](https://forum.arduino.cc/u/loveforcircuits)\
**Post date:** [February 11, 2026, 10:42am UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/9 "2026-02-11T10:42:12Z")

</div>

> [@stef69](#):
>
> esp32 devkitc v2

Both of these boards support BLE and classic bluetooth. So, you can use serial bluetooth terminal app or you can follow [cotestatnt]'s ([Profile - cotestatnt - Arduino Forum](https://forum.arduino.cc/u/cotestatnt)) instructions. Either way you can solve your purpose.

---

<div class="post-metadata">

**Author:** ![horace](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/horace/32/1014299_2.png) [@horace](https://forum.arduino.cc/u/horace)\
**Post date:** [February 11, 2026, 1:31pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/10 "2026-02-11T13:31:32Z")

</div>

you could run an access point and webserver on the ESP32  
the ESP32 could read the senor and display the data on the web page using [server-sent-events](https://randomnerdtutorials.com/esp32-web-server-sent-events-sse/)  
a smartphone/laptop etc could connect to the access point SSID and run a web client to view the webpage

---

<div class="post-metadata">

**Author:** ![cattledog](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cattledog/32/217816_2.png) [@cattledog](https://forum.arduino.cc/u/cattledog)\
**Post date:** [February 11, 2026, 6:32pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/11 "2026-02-11T18:32:35Z")

</div>

> [@stef69](#):
>
> I would like to read a analoge sensor connected to a ESP32 on my smartphone.  
> I would write an anaolge output on the same ESP as well with my smartphone.

@stef69  
You have not said whether the phone will be in BT or BLE range of the esp32.  
If indeed you are within range, there are many ways you can go.

If you want an easy way to write a custom UI on an Android phone, take a look at

[https://www.gui-o.com/](https://www.gui-o.com/)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [August 10, 2026, 6:32pm UTC](https://forum.arduino.cc/t/read-esp32-sensor-on-my-smartphone/1429912/12 "2026-08-10T18:32:53Z")

</div>

Closed on August 10, 2026, 6:32pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
