• 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

Interfacing WeMos D1 Minii Pro with AF Max31865

Q&A Forum › Category: ESP8266 › Interfacing WeMos D1 Minii Pro with AF Max31865
0 Vote Up Vote Down
hannu.gron asked 6 years ago

Hello!

I am writing first time on this site. I hope to find help for my interfacing problem. I also hope to give some help to other users.

I have WeMos D1 Mini Pro and AF Max31865 boards connected together. But I can’t get out the temperature inf.

  • Board setting is: LOLIN (WEMOS) D1 Mini Pro
  • Uploaded program: max31865.ino
  • Library: <Adafruit_MAX31865.h>
  • HW SPI: Adafruit_MAX31865 maxthermo = Adafruit_MAX31865(8) ;

I have gotten next message:

"Adafruit MAX31865 PT100 Sensor Test!

ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v8b899c12
~ld"

I have tested this with Arduino Uno (same max31865) and it works fine.

Help me, please!

3 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Hello, unfortunately I’ve never used that module before… Is that library compatible with the ESP8266? Did you double-check the wiring?
Are you using the ESP examples from the library?

  • https://github.com/adafruit/Adafruit_MAX31865/tree/master/examples/max31865

Thanks for your patience.
Regards,
Rui
 

0 Vote Up Vote Down
hannu.gron answered 6 years ago

Hello Rui!

I selected this card for get longer WiFi distance by external antenna possible.

I have now checked wiring and library. I had to change some variable names. Compiler didn’t accept the name “max”. I changed it to “maxthermo”.

Then I tried to s/w spi with pins:

D5
IO, SCK
GPIO14

D6
IO, MISO
GPIO12

D7
IO, MOSI
GPIO13

D8
IO, 10k Pull-down, SS
GPIO15

Now D1 don’t restart but give error from MAX31865:

TD value: 32767
Ratio = 0.99996948
Resistance = 429.98687744
Temperature = 988.79
Fault 0xFF
RTD High Threshold
RTD Low Threshold
REFIN- > 0.85 x Bias
REFIN- < 0.85 x Bias – FORCE- open
RTDIN- < 0.85 x Bias – FORCE- open
Under/Over voltage
Weii, Checking the sensor wires and fixed those their correct´pins…….
I got the result:
RTD value: 8381
Ratio = 0.25576782
Resistance = 109.98016357
Temperature = 25.63
YIPPEE!

Thanks for keep me trying!

Regards,
Hannu

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Hello, I’m glad you figured it out. As I’ve mentioned, I’ve never used that module, so I also wasn’t sure how to make it work…

I apologize for taking so long to get back to you, but I’ve been with very limited Internet for the last couple of days. I’m finally catching up and I’ll try to give you a faster response.

Thanks for your patience! Regards,

Rui

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.