Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

TMP117 digital temperature sensor

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here
View previous topic :: View next topic  
Author Message
i.dobson

Bascom Expert



Joined: 05 Jan 2006
Posts: 1570
Location: Basel, Switzerland

switzerland.gif
PostPosted: Sun May 09, 2021 12:05 pm    Post subject: TMP117 digital temperature sensor Reply with quote

Hello,

JP requested someone to help him with getting a tmp117 temperature sensor working in Bascom (https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=14772), and I had a bit of free time, so here's the bascom tmp117 Bascom driver.

The code is based on code from SparkFun arduino lib at https://github.com/sparkfunX/Qwiic_TMP117

The code to store defaults in the EEPROM is untested, but it should work. All other functions have be tested.




Regards
Ian Dobson

_________________
Walking on water and writing software to specification is easy if they're frozen.
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Sun May 09, 2021 1:07 pm    Post subject: Reply with quote

Hi Ian,

very kind of you.
Great work. Thank you for sharing Very Happy

these qwicc modules are very nice.

_________________
Mark
Back to top
View user's profile Visit poster's website
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 1161
Location: France

france.gif
PostPosted: Sun May 09, 2021 2:42 pm    Post subject: Reply with quote

Hi Ian !
Again many thanks,Yes it works very fine
Evil or Very Mad unfortunatly I have to change my PC, and I lost a lot of time to rebuild the new one, Fortunatly I have a backup Wink
Quote:
these qwicc modules are very nice.
yes and not
yes : because they are easy to plug
not : the tmp117 is placed in the centre of the circuit and therefore difficult to put it in contact with a part to control the temperature.
With a little searching, one can find a better constructed circuit where the tmp117 is placed on top of the circuit.

JP Wink

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Share your working BASCOM-AVR code here All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum