# AS5600 and i2c+XOD

**URL:** https://forum.xod.io/t/as5600-and-i2c-xod/7020
**Category:** Uncategorized
**Created:** [December 17, 2024, 10:57am UTC](https://forum.xod.io/t/as5600-and-i2c-xod/7020 "2024-12-17T10:57:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![the19thbear](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@the19thbear](https://forum.xod.io/u/the19thbear)
#### Post date: [December 17, 2024, 10:57am UTC](https://forum.xod.io/t/as5600-and-i2c-xod/7020/1 "2024-12-17T10:57:20Z")

</div>

Hi. Is there any way to get the as5600 sensor working in XOD via i2c? I have tried, by the help of chat gpt, but I can’t get it working. I’m a noob, so can only do basic stuff, but would love to get it working.  
Thanks!

---

<div class="post-metadata">

### Author: ![nazarijtipusak080](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@nazarijtipusak080](https://forum.xod.io/u/nazarijtipusak080)
#### Post date: [December 19, 2024, 6:32am UTC](https://forum.xod.io/t/as5600-and-i2c-xod/7020/2 "2024-12-19T06:32:29Z")

</div>

Try using the “i2c” library nodes to receive data from the sensor in the form of bytes.

---

<div class="post-metadata">

### Author: ![the19thbear](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@the19thbear](https://forum.xod.io/u/the19thbear)
#### Post date: [December 19, 2024, 9:09am UTC](https://forum.xod.io/t/as5600-and-i2c-xod/7020/3 "2024-12-19T09:09:31Z")

</div>

![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/c/cab30a03534e3ee0d08ced15e44b715cc1f9f384.png)  
I did this (with the help of chatgpt), but I don’t get any readout at all at the “watch” node.  
What am I doing wrong? Thanks

---

<div class="post-metadata">

### Author: ![nazarijtipusak080](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@nazarijtipusak080](https://forum.xod.io/u/nazarijtipusak080)
#### Post date: [December 19, 2024, 9:16am UTC](https://forum.xod.io/t/as5600-and-i2c-xod/7020/4 "2024-12-19T09:16:37Z")

</div>

There should be an initialization node with the i2c address of your device. Look at the example in the xod/l2c library

> **[I²C Communication Basics](https://xod.io/docs/guide/i2c/)**
>
> How to use XOD nodes from the standard i2c library to talk to I2C/TWI devices

 ![Screenshot_20241219-111951~2](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/c/c48b2bf6cf315d47cf7f718a8b332162b0ede2f9.png)

---

<div class="post-metadata">

### Author: ![the19thbear](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@the19thbear](https://forum.xod.io/u/the19thbear)
#### Post date: [December 19, 2024, 3:15pm UTC](https://forum.xod.io/t/as5600-and-i2c-xod/7020/5 "2024-12-19T15:15:06Z")

</div>

Thanks. I’ll check it out.

---

<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: [January 18, 2025, 3:16pm UTC](https://forum.xod.io/t/as5600-and-i2c-xod/7020/6 "2025-01-18T15:16:03Z")

</div>

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