Advanced ADC Component

A forum where Flowcode v6 user created components can be shared, discussed and reviewed.

Moderator: Benj

User avatar
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 27 times
Been thanked: 190 times

Advanced ADC Component

Postby Jordy101091 » Sat Mar 01, 2014 11:48 pm

Advanced ADC Component v1.0


Some times you need to measure stuff with you on-board ADC. Most of the time this ADC has a 10bit resolution, for most of the project / application having a 10bit resolution
is more then enough. Howe ever there are some cases that you have considered having a device with a 10bit ADC on-board simply because its cheaper and easier to find then a device with a 12 or even a 14bit ADC.
But you do need some extra resolution, then this component can do the job for you.

Also when you try to measure something, a voltage for instance in a noisy environment, then with out any software filtering or what so ever. Your ADC results will most likely jump all around (LSB).
This can also be fixed with this component.

the way this component works in a nutshell:

You need to specify what ADC resolution you would like to achieve 11...16bit also you need to say if you want averaging enabled.
the component will do its best to increase the resolution by oversampling the ADC input.
Then it will take average of all samples taken.
Then it will take the average taken from the "average" that was taken before, so the noise from the original signal will be minimum.

the outcome from the component as a Float variable will be very stable.

Component Use:
The component can be used by copying the ".fcpx" file into the component directory of Flowcode v6.
Then component can be found under the tap Input as Enhancing ADC.

Future Updates / Fixes:
Future update will include:

!!! if you have any let me now by PM !!!

FutureFixes will include:
- Problem with selecting the Analog Output Pin


(2.46 KiB) Downloaded 334 times


Until next Fix is released:
To change the component Analog input pin please use the Component debugger to change the output pin of the adc_base component
These users thanked the author Jordy101091 for the post (total 6):
medelec35 (Sat Mar 01, 2014 11:53 pm) • Steve001 (Sun Mar 02, 2014 9:18 am) • JohnCrow (Sun Mar 02, 2014 9:36 am) • Mathy (Wed Mar 05, 2014 11:54 am) • Benj (Wed Oct 22, 2014 9:36 am) • cb28 (Tue Dec 29, 2015 12:05 pm)
Rating: 31.58%
the will to learn, should not be stopped by any price

User avatar
Posts: 209
Joined: Mon Mar 03, 2014 10:11 pm
Has thanked: 54 times
Been thanked: 41 times

Re: Advanced ADC Component

Postby mikn » Tue Oct 21, 2014 10:15 pm

is it ok for realtime measuring? for example at 20-40khz measure speed.
is it based on current adc component?
FC (18.02.2016)

User avatar
Matrix Staff
Posts: 14577
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4605 times
Been thanked: 4241 times

Re: Advanced ADC Component

Postby Benj » Wed Oct 22, 2014 9:59 am

Hi Jordy,

Nice component, many thanks for posting.

If you refer to the SimpleUART video at the bottom of this page then it should show you how to pass the analogue pin connection through to the adc_base component: ... a_Property