Measure the supply voltage of an AVR

Use this section to discuss your embedded Flowcode projects.
Post Reply
pantelispv5
Posts: 4
http://meble-kuchenne.info.pl
Joined: Thu Dec 17, 2020 9:14 pm

Measure the supply voltage of an AVR

Post by pantelispv5 »

Hi, There. I need to measure the voltage that supplies the AVR 8bit ATtiny series using this very same MCU. Maybe I can use the Vgap reference 1.1V But I would like to ask if this can be done directly in Flowcode 11?

Steve-Matrix
Matrix Staff
Posts: 1675
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 237 times
Been thanked: 396 times

Re: Measure the supply voltage of an AVR

Post by Steve-Matrix »

It should be easy to measure the Vcc within Flowcode using an analogue input and the voltage reference. A web search brought up this article and this article which might be of help.

chipfryer27
Valued Contributor
Posts: 1778
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 396 times
Been thanked: 607 times

Re: Measure the supply voltage of an AVR

Post by chipfryer27 »

Hi

Following on from above, I think Steve001 posted a solution in the old forum. A search there would probably be worth trying.

Regards

Post Reply