arduino / arduino/ArduinoCore-samd

readInternalTemperature(); - why isn't this part of the ArduinoCord-samd ?

Open
#524 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
502
Forks
740
PR merge metrics
No merged PRs in 30d

Description

Hello All,

I've seen the thread regarding the LSM6DS3 (arduino.cc forum) and downloaded that and am using it - but I also am using the ElectronicCats_InternalTemperatureZero lib as well and there's less than a 1 degree C of difference - I've used a temp gun to verify and they are both very close - so I'm wondering why this has not been added to the SAMD core as in previous cores where I see readInternalTemperature(); ???

For the ATSAMD21G18 https://www.microchip.com/wwwproducts/en/ATsamd21g18 the internal temp sensor is certainly available:

http://ww1.microchip.com/downloads/en/DeviceDoc/SAM_D21_DA1_Family_DataSheet_DS40001882F.pdf
mentioned in the above in the Voltage Reference System (VREF).

I also see a pull request here:
https://github.com/arduino/ArduinoCore-samd/pull/277/files

And have to wonder why that wasn't implemented.

Regards,
John W.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the referenced ArduinoCore-samd pull request #277, the ElectronicCats_InternalTemperatureZero library, and the ATSAMD21G18 datasheet section on the internal temperature sensor. Determine whether the core should expose readInternalTemperature(); and what validation is required; done means a resolved decision and, if accepted, the API and supporting tests are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.