Code Monkey home page Code Monkey logo

Comments (8)

jamieparkinson avatar jamieparkinson commented on July 18, 2024

Are you sure that you're using the correct pins for MISO/MOSI/CS/DRDY as per https://github.com/jamieparkinson/ESP32-MAX31865/blob/master/examples/simple/main/main.cpp#L8? This reading usually means that the microcontroller is not able to read anything from the MAX31865, ie there is a hardware/configuration issue.

from esp32-max31865.

Ritesh236 avatar Ritesh236 commented on July 18, 2024

Yes. We have used same examples as you have provided link for the same.

We have only used MISO, MOSI, CS and CLK as per requirements over ESP32 Development Kit and 5V Input Supply with GND.

Also we have checked both VSPI and HSPI configurations but didn't help it.

Would you please let me know which ESP32 IDF version you have used to verify for the same?

Regards,
Ritesh Prajapati

from esp32-max31865.

Ritesh236 avatar Ritesh236 commented on July 18, 2024

@jamieparkinson ,

It will be good if you can share your hardware setup at our end which will be helpful for me to move further for the same. Also it will be fine with below API or need to explicitly give HSPI_HOST like this

auto tempSensor = Max31865(12, 13, 14, 15); ---> will this be OK?

or

auto tempSensor = Max31865(12, 13, 14, 15, -1, HSPI_HOST); ---> or need to explicitly give this?

Regards,
Ritesh Prajapati

from esp32-max31865.

jamieparkinson avatar jamieparkinson commented on July 18, 2024

I can't share a hardware setup with you I'm afraid, but anything like the Typical Application Circuits in the MAX31865 datasheet will work. You don't need to provide HSPI_HOST explicitly.

You need to make sure your pinout is correct - are your MISO, MOSI, CLK and CS definitely GPIOs 12, 13, 14 and 15, respectively? Have you got MISO/MOSI the right way round? Why are you using a 5V supply when the ESP32 and the MAX31865 are both 3V3 chips? Have you tried changing the SPI clock speed?

I'm not sure I can really help you debug a hardware issue any further I'm afraid - if there is a confirmed problem with this library then let me know.

from esp32-max31865.

Ritesh236 avatar Ritesh236 commented on July 18, 2024

@jamieparkinson ,

Yes. I have double checked GPIOs 12, 13, 14 and 15 respectively as per configurations provided. Would you please let me know that in which ESP32 Device you have tested? and on which ESP32 IDF?

We have also checked with 3.3 V Power Supply as well but getting same issue.

We have checked on ESP32 Dev Kit C V4 with ESP32 IDF release 4.2 version. Can you please confirm that which Hardware and IDF version you have used?

Regards,
Ritesh Prajapati

from esp32-max31865.

jamieparkinson avatar jamieparkinson commented on July 18, 2024

As I remember I did this project with a no-name ESP32 dev board (that used a WROOM module) that I bought in China and with idf v4.1. I don't think either of those will be your issue, though.

from esp32-max31865.

Ritesh236 avatar Ritesh236 commented on July 18, 2024

IMG_20210401_181917
Please find attached connection which we have followed.

Also I have tried with default example over ESP32 Dev Kit C V4 but not getting any success.

We have checked through CRO and found that we are not getting any clock and CS pins to be triggered. So I am little bit surprised that same MAX module connection is working on Arduino Board but not working on ESP32 Development Board.

I agreed that there is no any issue with ESP32 IDF version which we are using and also ESP32 board which we are using because we have checked few other GPIO based or I2C based temperature sensor which works fine on same board.

Let me know if you have any suggestion or feedback for the same.

Regards,
Ritesh Prajapati

from esp32-max31865.

jamieparkinson avatar jamieparkinson commented on July 18, 2024

I'm afraid that photo doesn't really show me anything I can help with at all. I think you will need to do some more problem-solving yourselves: please do try changing some of the SPI config inside the component and if you find a specific issue - it's entirely possible that it is a firmware bug - then please report back. I won't be able to provide any further support and so will close this issue until that time.

from esp32-max31865.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.