Measure voltage using the flow chart?

Man_in_uk

New Member
Hi,

All my projects/ideas are currently being created using the flow charts in the editor software.
I know there is code out there for measuring and displaying supply voltage on a display ...... can this be done within the flowchart commands?

I would not be using a display but there are many indicator led's on my last project. These could be used as a low/medium/high indicator if I could get a value of the supply.

Cheers
 

Technoman

Senior Member
Hi,

At first sight, I do not see any reason why you could not do it.
May you provide more informations in posting the part concerned in your circuit diagram?
 

hippy

Technical Support
Staff member
The BASIC command cell allows anything to be done which could be done in Basic, so in a BASIC cell, untested -

Code:
CalibAdc varA
varA = 2611 / varA
Should put a number in varA representing PSU voltage; 35 = 3.5V etc
 

Man_in_uk

New Member
Thanks for the response. I do not have any diagram yet. But Hippy just posted something that could solve the everything.


Thanks Hippy, looks just what I need. I have not used the Basic command yet, so its learning again.
I will post back how it works out.
 

Man_in_uk

New Member
Thanks Hippy, so simple even I managed to make it work.
Now I cant imagine ever making a project that doesn't measure the supply voltage.

Cheers
 
Top