Hello.
I want use 2 different Enhancing ADC on AN0 and AN1.
But in simulation they not independent. If I move one of these, they move both and their values are identical.
Enhancing ADC error
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Enhancing ADC error
Hello,
It sounds like both ADC components may be both connected to the same ADC channel. Please can you check the component properties.
If this is not the case then please can you post the program the demonstrates the problem so we can see what might be the cause.
It sounds like both ADC components may be both connected to the same ADC channel. Please can you check the component properties.
If this is not the case then please can you post the program the demonstrates the problem so we can see what might be the cause.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 71
- Joined: Mon Dec 01, 2014 1:38 pm
- Location: Bulgaria
- Has thanked: 17 times
- Been thanked: 12 times
- Contact:
Re: Enhancing ADC error
Hello,Benj.
No, they're connected in different pins.
Here is the program.
No, they're connected in different pins.
Here is the program.
- Attachments
-
- Power supply_Atmega_16.fcfx
- (42.13 KiB) Downloaded 215 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Enhancing ADC error
Hello,
What component are you using for the advanced ADC? I don't seem to have that component.
What component are you using for the advanced ADC? I don't seem to have that component.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 71
- Joined: Mon Dec 01, 2014 1:38 pm
- Location: Bulgaria
- Has thanked: 17 times
- Been thanked: 12 times
- Contact:
Re: Enhancing ADC error
Do I must have another component instead Advanced ADC?
I do not found in "Help" anything about Enhanced ADC.
This is component created by Jordy101091 here:
http://www.matrixtsl.com/mmforums/viewt ... adc#p57557
But he not comment how we must use it, with or not another component.
Do we must take ADC from another component and then read Enhanced ADC or take directly ADC from enhanced component?
I think one simple program will be usefull for users.
I do not found in "Help" anything about Enhanced ADC.
This is component created by Jordy101091 here:
http://www.matrixtsl.com/mmforums/viewt ... adc#p57557
But he not comment how we must use it, with or not another component.
Do we must take ADC from another component and then read Enhanced ADC or take directly ADC from enhanced component?
I think one simple program will be usefull for users.
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Enhancing ADC error
The component you are using is not part of the Flowcode release. It is supplied by a flowcode user, not by Matrix. Because of this Matrix does not provide help and support for the component.
It would be better to ask your questions by replying to the message where Jordy101091 announces the availability of the component (the message you link to).
It would be better to ask your questions by replying to the message where Jordy101091 announces the availability of the component (the message you link to).
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Posts: 71
- Joined: Mon Dec 01, 2014 1:38 pm
- Location: Bulgaria
- Has thanked: 17 times
- Been thanked: 12 times
- Contact:
Re: Enhancing ADC error
Yes,that is that.
Pity, it would be good to be able to use it because I have difficulties with SPI and MCP3202, here: http://www.matrixtsl.com/mmforums/viewt ... 71&t=20024
Pity, it would be good to be able to use it because I have difficulties with SPI and MCP3202, here: http://www.matrixtsl.com/mmforums/viewt ... 71&t=20024
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Enhancing ADC error
I am not saying nor implying you can not use it. I am redirecting you to a place where your question might be answered.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Enhancing ADC error
Hello,
Jordy details the very problem you are experiencing and the workaround on the component topic.
Jordy details the very problem you are experiencing and the workaround on the component topic.
Problem with selecting the Analog Output Pin
To change the component Analog input pin please use the Component debugger to change the output pin of the adc_base component
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 71
- Joined: Mon Dec 01, 2014 1:38 pm
- Location: Bulgaria
- Has thanked: 17 times
- Been thanked: 12 times
- Contact:
Re: Enhancing ADC error
I read this but I do not have purchased debugger pack.
I do not need this already, because I solved problem with MCP3202 from link above.
Thank you for the reply.
I do not need this already, because I solved problem with MCP3202 from link above.
Thank you for the reply.