• 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

Esp32 lora device with SDA/SCL

Q&A Forum › Esp32 lora device with SDA/SCL
0 Vote Up Vote Down
vincent asked 4 years ago

Hello i have 2 Boards like this https://randomnerdtutorials.com/ttgo-lora32-sx1276-arduino-ide/ The Chip on it is ESP32-D0WDQ6 | 042019 | UB00PKUK57 on the Pinout overview on the left down is Pin 21 SDA and on the right in the middle Pin 22 witch SCLon this SDA/SCL are connected aSparkFun LiPo Battery Manager – Battery Babysitterconnected like SDA -> SDA and SCL to SCLdo i have to activate on my ESP32 this pin somehow? or should this be useable? have a nice day vinc    

Question Tags: ESP32
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
As those are the ESP32 default I2C pins, there should be no need to “activate” the pins.
However, you need to check if you need to pass any SDA and SCL parameters on the library you’re using for the Battery Manager.
Regards,
Sara

0 Vote Up Vote Down
vincent answered 4 years ago

ok Thank you
i did not find a information about that in
https://learn.sparkfun.com/tutorials/battery-babysitter-hookup-guide
have a nice day
vinc

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
It uses the default I2C pins.
See line 38: https://github.com/sparkfun/SparkFun_BQ27441_Arduino_Library/blob/master/src/SparkFunBQ27441.cpp
It uses Wire.begin() –> default I2C pins
Regards,
Sara

0 Vote Up Vote Down
vincent answered 4 years ago

Hello Sara
thanks for your feedback, it helps at least it helps i have not done something wrong!
Another question same 
as i did it right with my Pin  on the TTGO
so also the Power is correct pins?!

Do i have to config something spezial to power it over the PINS?
What will happen it Power is connected over the PINS and also on the USB to conect it to the Computer USB?
have a nice day
Vinc

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
You don’t have to configure anything on the code to use the power pins.
If the board is powered through USB, you SHOULD NOT connect another power source to the power pins. If the board is powered through USB, the power pins output 3.3V or 5V depending on the power pin. 
Tell me if this answers your question.
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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

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

Copyright © 2013-2025 · 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.