How does anduril measure temperature and voltage?

6 posts / 0 new
Last post
Catnap
Catnap's picture
Offline
Last seen: 23 hours 44 min ago
Joined: 12/25/2013 - 08:15
Posts: 82
How does anduril measure temperature and voltage?

Most anduril compatible drivers doesn’t use analog inputs for battery and temperature monitoring. How does it work?

Edited by: Catnap on 10/17/2019 - 11:31
YuvalS
YuvalS's picture
Offline
Last seen: 1 week 5 days ago
Joined: 09/26/2018 - 10:39
Posts: 107

I am not familiar with Andruil FW but Attiny MCUs can compare the input voltage (VCC - pin8) to an internal 1.1v reference in order to calculate the VCC 

Attiny25 and 85 have an internal temperature sensor for measuring temp, If there is an option to measure temp using Attiny13 I would love to know 

Andrew_Debbie
Offline
Last seen: 3 hours 27 min ago
Joined: 11/18/2017 - 12:36
Posts: 564
Location: Isle Of Anglesey

Most of the Atiny series controllers have a temperature sensor on the chip.

Mike C
Mike C's picture
Offline
Last seen: 4 days 23 hours ago
Joined: 01/22/2014 - 08:03
Posts: 2351
Location: Sweden

YuvalS wrote:
If there is an option toe measure temp using Attiny 16 I wuld love to know

ATtiny16? Never heard of it. 1617, 1634 and so on, yes, but not plain 16.
YuvalS
YuvalS's picture
Offline
Last seen: 1 week 5 days ago
Joined: 09/26/2018 - 10:39
Posts: 107

Mike C wrote:
YuvalS wrote:
If there is an option toe measure temp using Attiny 16 I wuld love to know
ATtiny16? Never heard of it. 1617, 1634 and so on, yes, but not plain 16.


I meant Attiny13 phone keyboard is too small (edited original comment) 
Mike C
Mike C's picture
Offline
Last seen: 4 days 23 hours ago
Joined: 01/22/2014 - 08:03
Posts: 2351
Location: Sweden

Then I’ll quote and respond to your edited comment:

YuvalS wrote:
If there is an option to measure temp using Attiny13 I would love to know

There is. It’s a bit of a pain and eats a lot of the precious flash space but it is doable. Some info on my tests here: http://budgetlightforum.com/node/36197 (image host links don’t work anymore).
Unfortunately I don’t have that code left though, it was so long ago I did anything with the 13a and I’ve gone through multiple ATtiny’s since then (currently on the ATtiny 3217). I suggest you move on from that little 13a you too.