Code Monkey home page Code Monkey logo

esp32-max31865's People

Contributors

jamieparkinson avatar rimco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

esp32-max31865's Issues

MULTIPLE MODULES IN ESP32

          Hi Marius - yes, the answer you got in the forum is correct that this library expects sole access to a peripheral (which is just my laziness), but I don't think the "rewrite" they suggest is required.

I don't have access to an ESP32/MAX31865 right now but my first guess without thinking about it very much is that the library just needs to allow the case where the bus isn't already initialised rather than erroring and bailing out, and the Chip Select should do the rest.

I made that change in this branch - try it and let me know how you get on, if it doesn't work feel free to fiddle around and PR any fixes/changes, or I can dig out a dev board and have a better look later.

Originally posted by @jamieparkinson in #3 (comment)

Do you have yet this modify propose [https://github.com/jamieparkinson/ESP32-MAX31865/tree/multiple-devices-same-bus] , have the same problem? I want to test this modify

ESP-IDF C++

Hi,
I am quite new to the esp32 idf. As your library is in C++, somehow when i include in my components and then include the header file in my main.c file. It failed to compile.

Is there any special ways to include the C++ components ?

Connect multiple MAX31865 simultaneously

Hi!
Im quite new to SPI and the ESP32 on ESP-IDF.
Could you please help me, what I have to do to connect multiple MAX31865 simultaneously?

I've tried it by setting up multiple objects of the Max31865 class. But when it comes to the "begin"-Function im getting the following error:

E (952) spi: spi_bus_initialize(462): SPI bus already initialized.
E (952) Max31865: Error initialising SPI bus: ESP_ERR_INVALID_STATE

I've already asked that in the ESP32 Forum:

https://www.esp32.com/viewtopic.php?p=62153#p62153

Thanks in advance!!!

Facing issues into compilation with ESP32 IDF 4.2 or 4.3 Release Version

Hello,

We have tried to port repository as component with example into ESP32 IDF 4.2 or 4.3 Release but facing below issue.

Has anyone faced this type of issue? if yes then how it can be resolved to move further.

Screenshot (121)

Let me know if need anything else regarding steps for the same.

Regards,
Ritesh Prajapati

compile error

error: static assertion failed: portGET_ARGUMENT_COUNT() result does not match for 0 arguments
_Static_assert(portGET_ARGUMENT_COUNT() == 0, "portGET_ARGUMENT_COUNT() result does not match for 0 arguments");

error: expected primary-expression before ')' token
#define portYIELD_FROM_ISR(...) vPortEvaluateYieldFromISR(portGET_ARGUMENT_COUNT(VA_ARGS), ##VA_ARGS)
^
C:/ESP32-MAX31865-0.3.2/src/Max31865.cpp:42:5: note: in expansion of macro 'portYIELD_FROM_ISR'
portYIELD_FROM_ISR();
^~~~~~~~~~~~~~~~~~

Getting invalid temperature reading from RTD 3 Wire temperature sensor

Hello @jamieparkinson ,

We are able to resolve compilation errors related c++ which we were facing earlier. Thanks for your kind and help support for the same.

Now, We are not getting proper values from RTD Perspective while reading with default example.

I (191) cpu_start: App cpu up.
I (219) cpu_start: Pro cpu start user code
I (219) cpu_start: cpu freq: 160000000
I (219) cpu_start: Application information:
I (223) cpu_start: Project name: esp32-max31865-simple-example
I (230) cpu_start: App version: v0.3.2-dirty
I (235) cpu_start: Compile time: Mar 31 2021 16:45:58
I (241) cpu_start: ELF file SHA256: 8a4579059b2594c2...
I (247) cpu_start: ESP-IDF: HEAD-HASH-NOTFOUND
I (254) heap_init: Initializing. RAM available for dynamic allocation:
I (261) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (267) heap_init: At 3FFB31B8 len 0002CE48 (179 KiB): DRAM
I (273) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (279) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (286) heap_init: At 4008C4C8 len 00013B38 (78 KiB): IRAM
I (293) spi_flash: detected chip: generic
I (297) spi_flash: flash io: dio
I (302) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (312) gpio: GPIO[15]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (322) Temperature: -242.02 C
I (822) Temperature: -242.02 C
I (1322) Temperature: -242.02 C
I (1822) Temperature: -242.02 C
I (2322) Temperature: -242.02 C
I (2822) Temperature: -242.02 C
I (3322) Temperature: -242.02 C
I (3822) Temperature: -242.02 C
I (4322) Temperature: -242.02 C
I (4822) Temperature: -242.02 C
I (5322) Temperature: -242.02 C
I (5822) Temperature: -242.02 C
I (6322) Temperature: -242.02 C
I (6822) Temperature: -242.02 C
I (7322) Temperature: -242.02 C
I (7822) Temperature: -242.02 C
I (8322) Temperature: -242.02 C
I (8822) Temperature: -242.02 C
I (9322) Temperature: -242.02 C
I (9822) Temperature: -242.02 C
I (10322) Temperature: -242.02 C
I (10822) Temperature: -242.02 C
I (11322) Temperature: -242.02 C
I (11822) Temperature: -242.02 C
I (12322) Temperature: -242.02 C
I (12822) Temperature: -242.02 C
I (13322) Temperature: -242.02 C
I (13822) Temperature: -242.02 C
I (14322) Temperature: -242.02 C
I (14822) Temperature: -242.02 C
I (15322) Temperature: -242.02 C
I (15822) Temperature: -242.02 C
I (16322) Temperature: -242.02 C
I (16822) Temperature: -242.02 C
I (17322) Temperature: -242.02 C
I (17822) Temperature: -242.02 C
I (18322) Temperature: -242.02 C
I (18822) Temperature: -242.02 C
I (19322) Temperature: -242.02 C
I (19822) Temperature: -242.02 C
I (20322) Temperature: -242.02 C
I (20822) Temperature: -242.02 C
I (21322) Temperature: -242.02 C
I (21822) Temperature: -242.02 C
I (22322) Temperature: -242.02 C
I (22822) Temperature: -242.02 C
I (23322) Temperature: -242.02 C
I (23822) Temperature: -242.02 C
I (24322) Temperature: -242.02 C
I (24822) Temperature: -242.02 C
I (25322) Temperature: -242.02 C
I (25822) Temperature: -242.02 C
I (26322) Temperature: -242.02 C
I (26822) Temperature: -242.02 C
I (27322) Temperature: -242.02 C
I (27822) Temperature: -242.02 C
I (28322) Temperature: -242.02 C
I (28822) Temperature: -242.02 C
I (29322) Temperature: -242.02 C
I (29822) Temperature: -242.02 C
I (30322) Temperature: -242.02 C
I (30822) Temperature: -242.02 C
I (31322) Temperature: -242.02 C
I (31822) Temperature: -242.02 C
I (32322) Temperature: -242.02 C
I (32822) Temperature: -242.02 C
I (33322) Temperature: -242.02 C
I (33822) Temperature: -242.02 C
I (34322) Temperature: -242.02 C
I (34822) Temperature: -242.02 C
I (35322) Temperature: -242.02 C
I (35822) Temperature: -242.02 C
I (36322) Temperature: -242.02 C
I (36822) Temperature: -242.02 C
I (37322) Temperature: -242.02 C
I (37822) Temperature: -242.02 C
I (38322) Temperature: -242.02 C
I (38822) Temperature: -242.02 C
I (39322) Temperature: -242.02 C
I (39822) Temperature: -242.02 C
I (40322) Temperature: -242.02 C
I (40822) Temperature: -242.02 C
I (41322) Temperature: -242.02 C
I (41822) Temperature: -242.02 C
I (42322) Temperature: -242.02 C
I (42822) Temperature: -242.02 C
I (43322) Temperature: -242.02 C
I (43822) Temperature: -242.02 C
I (44322) Temperature: -242.02 C
I (44822) Temperature: -242.02 C
I (45322) Temperature: -242.02 C
I (45822) Temperature: -242.02 C
I (46322) Temperature: -242.02 C
I (46822) Temperature: -242.02 C
I (47322) Temperature: -242.02 C
I (47822) Temperature: -242.02 C
I (48322) Temperature: -242.02 C
I (48822) Temperature: -242.02 C
I (49322) Temperature: -242.02 C
I (49822) Temperature: -242.02 C
I (50322) Temperature: -242.02 C
I (50822) Temperature: -242.02 C
I (51322) Temperature: -242.02 C
I (51822) Temperature: -242.02 C
I (52322) Temperature: -242.02 C
I (52822) Temperature: -242.02 C
I (53322) Temperature: -242.02 C
I (53822) Temperature: -242.02 C
I (54322) Temperature: -242.02 C
I (54822) Temperature: -242.02 C
I (55322) Temperature: -242.02 C
I (55822) Temperature: -242.02 C
I (56322) Temperature: -242.02 C
I (56822) Temperature: -242.02 C
I (57322) Temperature: -242.02 C
I (57822) Temperature: -242.02 C
I (58322) Temperature: -242.02 C
I (58822) Temperature: -242.02 C
I (59322) Temperature: -242.02 C
I (59822) Temperature: -242.02 C
I (60322) Temperature: -242.02 C
I (60822) Temperature: -242.02 C
I (61322) Temperature: -242.02 C
I (61822) Temperature: -242.02 C
I (62322) Temperature: -242.02 C
I (62822) Temperature: -242.02 C
I (63322) Temperature: -242.02 C
I (63822) Temperature: -242.02 C
I (64322) Temperature: -242.02 C
I (64822) Temperature: -242.02 C
I (65322) Temperature: -242.02 C
I (65822) Temperature: -242.02 C
I (66322) Temperature: -242.02 C
I (66822) Temperature: -242.02 C
I (67322) Temperature: -242.02 C
I (67822) Temperature: -242.02 C
I (68322) Temperature: -242.02 C
I (68822) Temperature: -242.02 C
I (69322) Temperature: -242.02 C
I (69822) Temperature: -242.02 C
I (70322) Temperature: -242.02 C
I (70822) Temperature: -242.02 C
I (71322) Temperature: -242.02 C
I (71822) Temperature: -242.02 C
I (72322) Temperature: -242.02 C
I (72822) Temperature: -242.02 C
I (73322) Temperature: -242.02 C
I (73822) Temperature: -242.02 C
I (74322) Temperature: -242.02 C
I (74822) Temperature: -242.02 C
I (75322) Temperature: -242.02 C
I (75822) Temperature: -242.02 C
I (76322) Temperature: -242.02 C
I (76822) Temperature: -242.02 C
I (77322) Temperature: -242.02 C
I (77822) Temperature: -242.02 C
I (78322) Temperature: -242.02 C
I (78822) Temperature: -242.02 C
I (79322) Temperature: -242.02 C
I (79822) Temperature: -242.02 C
I (80322) Temperature: -242.02 C
I (80822) Temperature: -242.02 C
I (81322) Temperature: -242.02 C
I (81822) Temperature: -242.02 C
I (82322) Temperature: -242.02 C
I (82822) Temperature: -242.02 C
I (83322) Temperature: -242.02 C
I (83822) Temperature: -242.02 C
I (84322) Temperature: -242.02 C
I (84822) Temperature: -242.02 C
I (85322) Temperature: -242.02 C
I (85822) Temperature: -242.02 C
I (86322) Temperature: -242.02 C
I (86822) Temperature: -242.02 C
I (87322) Temperature: -242.02 C
I (87822) Temperature: -242.02 C
I (88322) Temperature: -242.02 C
I (88822) Temperature: -242.02 C
I (89322) Temperature: -242.02 C
I (89822) Temperature: -242.02 C
I (90322) Temperature: -242.02 C
I (90822) Temperature: -242.02 C
I (91322) Temperature: -242.02 C
I (91822) Temperature: -242.02 C
I (92322) Temperature: -242.02 C
I (92822) Temperature: -242.02 C
I (93322) Temperature: -242.02 C
I (93822) Temperature: -242.02 C
I (94322) Temperature: -242.02 C
I (94822) Temperature: -242.02 C
I (95322) Temperature: -242.02 C
I (95822) Temperature: -242.02 C
I (96322) Temperature: -242.02 C
I (96822) Temperature: -242.02 C
I (97322) Temperature: -242.02 C
I (97822) Temperature: -242.02 C
I (98322) Temperature: -242.02 C
I (98822) Temperature: -242.02 C
I (99322) Temperature: -242.02 C
I (99822) Temperature: -242.02 C
I (100322) Temperature: -242.02 C
I (100822) Temperature: -242.02 C
I (101322) Temperature: -242.02 C
I (101822) Temperature: -242.02 C
I (102322) Temperature: -242.02 C
I (102822) Temperature: -242.02 C
I (103322) Temperature: -242.02 C
I (103822) Temperature: -242.02 C
I (104322) Temperature: -242.02 C
I (104822) Temperature: -242.02 C
I (105322) Temperature: -242.02 C
I (105822) Temperature: -242.02 C
I (106322) Temperature: -242.02 C
I (106822) Temperature: -242.02 C
I (107322) Temperature: -242.02 C
I (107822) Temperature: -242.02 C
I (108322) Temperature: -242.02 C
I (108822) Temperature: -242.02 C
I (109322) Temperature: -242.02 C
I (109822) Temperature: -242.02 C

We have checked with HSPI and VSPI configuration modes but not getting any success to read temperature for the same.

Also we have checked same hardware over Arduino Board in which getting proper temperature which means that there is no any hardware issue which works fine.

can you please help if you or anyone has faced this type of issue?

Let me know if need anything else from my end.

Regards,
Ritesh Prajapati

Connecting the max31865

Hello Jamie,

Fantastic Library.

I have tried the example but the console output always give me the same temperature -250 independently if the max31865 is connected to the esp32 or not.

No errors are reported when the max chip is unconnected.

I don't have change neither the pins or spi number in the example.

Any help?

Thank you Very much

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.