# Magnet encoder as5600 and esp32

**URL:** <https://forum.xod.io/t/magnet-encoder-as5600-and-esp32/6039>\
**Category:** Uncategorized\
**Created:** [April 21, 2022, 3:30pm UTC](https://forum.xod.io/t/magnet-encoder-as5600-and-esp32/6039 "2022-04-21T15:30:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yurgen](https://avatars.discourse-cdn.com/v4/letter/y/5daacb/32.png) [@yurgen](https://forum.xod.io/u/yurgen)\
**Post date:** [April 21, 2022, 3:30pm UTC](https://forum.xod.io/t/magnet-encoder-as5600-and-esp32/6039/1 "2022-04-21T15:30:41Z")

</div>

Hello!  
I have magnet encoder as5600 and esp32.  
I need to send the raw data from encoder to phone via bluetooth.  
Who can help me to bring it to life?  
Можно по-русски.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/4/4f69de630ffff2b6acbf3077a863e456f8a2270a.jpeg)

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [April 21, 2022, 4:38pm UTC](https://forum.xod.io/t/magnet-encoder-as5600-and-esp32/6039/2 "2022-04-21T16:38:17Z")

</div>

There is no bluetooth support built-in to XOD, but there are a couple libraries that might help you understand what is needed [Libraries — XOD](https://xod.io/libs/?q=bluetooth)

Note that communicating with a phone will mean there needs to be something running on the phone. Someone here might be able to help you with that, but in general, it would be beyond the scope of this forum.

As for reading the as5600, the easy option in XOD would be to use PWM output with analog-read in XOD, but reading raw value via I2C would also be an option (it just requires quite a bit more programming).

---

<div class="post-metadata">

**Author:** ![yurgen](https://avatars.discourse-cdn.com/v4/letter/y/5daacb/32.png) [@yurgen](https://forum.xod.io/u/yurgen)\
**Post date:** [April 21, 2022, 4:58pm UTC](https://forum.xod.io/t/magnet-encoder-as5600-and-esp32/6039/3 "2022-04-21T16:58:41Z")

</div>

Thanks!  
An APP for phone is not a problem.  
I need just XOD help to programm esp32.  
I2С is needed.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [May 21, 2022, 4:59pm UTC](https://forum.xod.io/t/magnet-encoder-as5600-and-esp32/6039/4 "2022-05-21T16:59:12Z")

</div>

Closed on May 21, 2022, 4:59pm UTC

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