• 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

Problems with ESP32 BLE

Q&A Forum › Category: ESP32 › Problems with ESP32 BLE
0 Vote Up Vote Down
Jose Pichel asked 3 years ago

Hi.
I am working with ESP32 and BLE conexion, it works very well, but I have some problems with DS18B20.
If I compile my program with BLEdevice created, the reads of temperature sensor work with some errors, I can read -127 several times. ¿¿??
If I compile the sketch without this part of the program, I can read the temperature without any problem.
¿Could you help me please?.
Thanks in advance.

2 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
I’m not sure what might be wrong…
What GPIO are you using for the sensor? Did you try using different GPIOs?
Maybe BLE interferes with the GPIO you’re using?
Regards,
Sara

0 Vote Up Vote Down
Jose Pichel answered 3 years ago

Hi Sara, many thanks for your fast answer.
The GPIO that I´m using is GPIO32, to read 4 DS18B20 sensors.
I´m not sure if there is interferences, but, if I comment in the sketch the code where I init BLEServer the temperature reads are without problems in oposite case I have sometimes -127 data in the reads of sensors, but not continuously.
Regards.
Jose.

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] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition 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.