ECIO40 ADC TO LCD 4 LINES
Moderator: Benj
ECIO40 ADC TO LCD 4 LINES
Hello, I'm trying to show ANO to lcd.
The simulation runs perfect, but real hardware just show me up to 2.495213V insted of 5V.
I use a 22k potenciometer connected to gnd and Vdd out. I read with multimeter AN0 and voltage goes from 0 to 5v, but in lcd jut I read up to 2,5V.
Vref votlage=0
vref optin=Vdd
conversion speed= fosc/64
aquisition cycles=1
Also I put ANO directly to VDD and then result is about 0.000V
Could you help me?
The simulation runs perfect, but real hardware just show me up to 2.495213V insted of 5V.
I use a 22k potenciometer connected to gnd and Vdd out. I read with multimeter AN0 and voltage goes from 0 to 5v, but in lcd jut I read up to 2,5V.
Vref votlage=0
vref optin=Vdd
conversion speed= fosc/64
aquisition cycles=1
Also I put ANO directly to VDD and then result is about 0.000V
Could you help me?
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: ECIO40 ADC TO LCD 4 LINES
Hi ALOPEZ,
Welcome to the forums.
It will help us if you can post a flowchart, so we maybe able to help you.
If using VDD as Vref then Vref = 500
Martin
Welcome to the forums.
It will help us if you can post a flowchart, so we maybe able to help you.
Vref is normally in millivolts.ALOPEZ wrote: Vref votlage=0
If using VDD as Vref then Vref = 500
Martin
Martin
Re: ECIO40 ADC TO LCD 4 LINES
thanks for you fast answer.
I'd try to attach a picture of hardware and also the fcfx file, but I can't find any bottom to attach files.
How I should do?
thanks
I'd try to attach a picture of hardware and also the fcfx file, but I can't find any bottom to attach files.
How I should do?
thanks
Re: ECIO40 ADC TO LCD 4 LINES
hello medelec,
Thanks for you superfast answer.
I wanna attach files to the forum but I can't find the bottom to attach files.
how should I do?
thanks
Thanks for you superfast answer.
I wanna attach files to the forum but I can't find the bottom to attach files.
how should I do?
thanks
- 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: ECIO40 ADC TO LCD 4 LINES
Hello,
When you click post reply there is a section underneath the main text entry window with an upload attachment tab. Click this and then click Browse to select which file to upload. Click the Add the file button to upload and the insert in line to insert the attachment into the text of the post.
When you click post reply there is a section underneath the main text entry window with an upload attachment tab. Click this and then click Browse to select which file to upload. Click the Add the file button to upload and the insert in line to insert the attachment into the text of the post.
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
Re: ECIO40 ADC TO LCD 4 LINES
thanks for the patience.
here you have the proyect. I'll try to send a picture of hardware configuration in 250kb
thanks
here you have the proyect. I'll try to send a picture of hardware configuration in 250kb
thanks
- Attachments
-
- energy meter_v6.fcfx
- proyect adc to lcd
- (13.74 KiB) Downloaded 223 times
Re: ECIO40 ADC TO LCD 4 LINES
here you have the hardware configuration.
- Attachments
-
- hardware.gif
- hardware config
- (108.97 KiB) Downloaded 2060 times
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: ECIO40 ADC TO LCD 4 LINES
Hi
Not quite sure what your asking, but i changed the flowchart as per martins post, and removed a raw enable call as it was already enabled flowchart attached
Regards
Dazz
Not quite sure what your asking, but i changed the flowchart as per martins post, and removed a raw enable call as it was already enabled flowchart attached
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
Re: ECIO40 ADC TO LCD 4 LINES
Hello thanks for you fast answer.
my goal is read voltage from AN0 (0v to 5v) in the LDC screen (4 line in the picture that i send).
In the flowcode simulation runs well (I can read in the lcd from 0v to 5v), but in the hardware maximum voltage that I read is about 2,5V when AN0=5V.
I try to open you fcfx file but I have an error, please see picture attached.
Thanks for you time.
my goal is read voltage from AN0 (0v to 5v) in the LDC screen (4 line in the picture that i send).
In the flowcode simulation runs well (I can read in the lcd from 0v to 5v), but in the hardware maximum voltage that I read is about 2,5V when AN0=5V.
I try to open you fcfx file but I have an error, please see picture attached.
Thanks for you time.
- Attachments
-
- FAIL.png
- (193.83 KiB) Downloaded 2039 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: ECIO40 ADC TO LCD 4 LINES
Hello Alopez,
You will need to update to the latest version to open Dazz's example. The Help -> Check for updates should allow you to do this.
You will need to update to the latest version to open Dazz's example. The Help -> Check for updates should allow you to do this.
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: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: ECIO40 ADC TO LCD 4 LINES
Hi
Follow what benj has said, if it still doesnt work, try the chart below, as sometimes its easier to strip out everythin but the basics etc
Regards
Dazz
Follow what benj has said, if it still doesnt work, try the chart below, as sometimes its easier to strip out everythin but the basics etc
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
Re: ECIO40 ADC TO LCD 4 LINES
I still can't open your files with flowcode 6.0.2, see picture attach.
I guess is some issue with flowcode 6, I'll try with flowcode 5
I guess is some issue with flowcode 6, I'll try with flowcode 5
Re: ECIO40 ADC TO LCD 4 LINES
here picture of version
- Attachments
-
- Sin título.gif
- (105.67 KiB) Downloaded 2022 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: ECIO40 ADC TO LCD 4 LINES
The latest version is 6.0.3 Not 6.0.2ALOPEZ wrote:I still can't open your files with flowcode 6.0.2, see picture attach.
As Ben said, you can use Help menu, Check for updates.
Note: V6.0.4 is due to be released any day now.
Martin
Martin
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: ECIO40 ADC TO LCD 4 LINES
Hi alopez
Ok i just tried the first chart i attached on hardware and its working fine
the chart i posted works fine, have you updated flowcode yet as we are on v6.3
Regards
Dazz
Ok i just tried the first chart i attached on hardware and its working fine
the chart i posted works fine, have you updated flowcode yet as we are on v6.3
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
Re: ECIO40 ADC TO LCD 4 LINES
UMMMMMMMMM.....
where I have to donwload V 6.0.3?
From flowcode update menu I'm going to website where just I can get 6.0.2. see picture.
where I have to donwload V 6.0.3?
From flowcode update menu I'm going to website where just I can get 6.0.2. see picture.
Re: ECIO40 ADC TO LCD 4 LINES
Come on, is just a ADC conversion, whats wrong in the hardware?
I should be easy.
I should be easy.
- Attachments
-
- config3.gif
- (159 KiB) Downloaded 2002 times
Re: ECIO40 ADC TO LCD 4 LINES
please find attach. simple software and adc config
- Attachments
-
- adc config.gif (15.77 KiB) Viewed 11842 times
-
- simple adc.fcfx
- (6.26 KiB) Downloaded 118 times
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: ECIO40 ADC TO LCD 4 LINES
Hi
Try the following,as you cant open my charts ive added an image ,worls om hardware here
Regards
Dazz
Try the following,as you cant open my charts ive added an image ,worls om hardware here
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
Re: ECIO40 ADC TO LCD 4 LINES
Doesn't work neither.
1-please send me the link where I can update to 6.0.3
2- how is possible that work for you with same hardware configuration?. I bought 4 ECIO40 and they are new. they are configurated in usb power supply.
3- remember simulation runs perfect is in the hardware where it fails, maximum can read is 511 instead of 1023.
Can some one help me?
thanks
1-please send me the link where I can update to 6.0.3
2- how is possible that work for you with same hardware configuration?. I bought 4 ECIO40 and they are new. they are configurated in usb power supply.
3- remember simulation runs perfect is in the hardware where it fails, maximum can read is 511 instead of 1023.
Can some one help me?
thanks
-
- Posts: 1314
- Joined: Sun Jan 15, 2012 3:15 pm
- Has thanked: 474 times
- Been thanked: 458 times
- Contact:
Re: ECIO40 ADC TO LCD 4 LINES
Hi
Im using a different chip as it the board i have available, can you try something for me pls, using the chart you created from my last post, can you connect 5v directly to the an0 pin, note reading then connect an0 directly to 0v and let us know the readngs, update link above in davida post, edited my to to reflect this
Regards
DAzz
Im using a different chip as it the board i have available, can you try something for me pls, using the chart you created from my last post, can you connect 5v directly to the an0 pin, note reading then connect an0 directly to 0v and let us know the readngs, update link above in davida post, edited my to to reflect this
Regards
DAzz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
Re: ECIO40 ADC TO LCD 4 LINES
readings 0 to 1023:
5V = 15
0V= 0
2,5V=511
I try 4 new ECIO40:
first: 2,5V=511
second: 304 all the time (0V;2,5V;5V)
third: flowcode can't detected
four: same than first 2,5V=511
5V = 15
0V= 0
2,5V=511
I try 4 new ECIO40:
first: 2,5V=511
second: 304 all the time (0V;2,5V;5V)
third: flowcode can't detected
four: same than first 2,5V=511