Mics8614 l2c wire distance to arduino

Hi, i have a quewtion:

is possible wire mics6814 l2c with 4meters cable to arduino or esp32?

1 Like

thankyou so much for the library.

i need install sensor at the top of room, and display and esp32 at the middle. there are 4 meters between.

1 Like

Hi @jaccod and welcome to the forum.

Maximum length of an I2C cable depends on the type of the cable used, and on the transmission speed.

For reference, shielded 22 AWG twisted pair cables have capacitance in the range of 100-240 pF/m. So the maximum bus length of an I2C link is about 1 meter at 100 Kbaud, or 10 meters at 10 Kbaud. Unshielded cable typically has much less capacitance, but should only be used within an otherwise shielded enclosure.

See explanation here: I2C Bus Range and Electrical Specifications, Freescale 9S12 HCS12 MC9S12 I2C Hardware.

I hope this helps.

I don’t understand electronics, I’m just a computer programmer. I’m going to try an upt cat6 cable and lowering the speed and see if it works. thank you very much for your help

1 Like

You are welcome. Let us know if it works good.

Does anyone know if to calibrate the sensor you only have to preheat for 10 minutes? Or do you have to save the calibration value too?

1 Like

Hi @jaccod ,

According to this document, FAQ, you have to preheat the sensor each time you use it. Also, see remark regarding calibration.

Hello, I can’t read any value, it only reads -1
I use esp32 and I have the sda ​​(pio21) scl (pio22)
I have changed the address from 0x04 to 0x18 because otherwise it would not detect it, I can see its version and read but it only returns -1.

I am using the library MiCS6814-I2C - Arduino Reference

Anyone know what might be happening?

Hello, I can’t read any value, it only reads -1
I use esp32 and I have the sda ​​(pio21) scl (pio22)
I have changed the address from 0x04 to 0x18 because otherwise it would not detect it, I can see its version and read but it only returns -1.

I am using the library MiCS6814-I2C - Arduino Reference

Anyone know what might be happening?

1 Like

Maybe you need to calibrate it?

driver say I have version 1, and i can see this not possible calibrate. but i think this is not the problem because all diferent sensors of mics6814 say -1.

i read in other forum same problem but don’t responses.

1 Like

@jaccod since this is a Pimoroni product, you can write to them and they will help you.

You can contact them here: Contact Us for Raspberry Pi Technical Support - Pimoroni