• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

cannot i2c from esp32 to PIC

Q&A Forum › Category: ESP32 › cannot i2c from esp32 to PIC
0 Vote Up Vote Down
vgershman asked 3 years ago

Hello,

i interfaced PIC16LF1826 to ESP01 via i2c and it was working fine. esp32 is a master and PIC and OLED are slaves. I program esp32 from Arduino. Now i switched from ESP01 to ESP32 and cannot get any i2c data from PIC. OLED still works fine. I thought that when i switch from ESP01 to ESP32, i just need to change i2c pins and keep my PIC program the same.I guess, that is not true.

Are there are known gotchas in esp32 i2 comms?

Thanks

Question Tags: ESP32, i2c, pic, pic16lf1826
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
We’ve recently created a guide about I2C with the ESP32 that might help: https://randomnerdtutorials.com/esp32-i2c-communication-arduino-ide/
There are several examples. These might be useful to try to understand if there’s something wrong with your code.
I hope this helps.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.