MAX1499 ADC Meter Chip Working on this project again
sam_sam_sam
Posts: 2,286
·Here is the Data Sheet for this chip
http://datasheets.maxim-ic.com/en/ds/MAX1497-MAX1499.pdf
I going to order some free sample
I found a company that will ·put this chip on a DIP format board ·for for a small fee
I am hoping that some one can help with this ·or can tell me if it is doable or not
and which Basic Stamp I need to use
I want to thank any one that can help
·
·
·
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 2/2/2010 2:55:38 AM GMT
http://datasheets.maxim-ic.com/en/ds/MAX1497-MAX1499.pdf
I going to order some free sample
I found a company that will ·put this chip on a DIP format board ·for for a small fee
I am hoping that some one can help with this ·or can tell me if it is doable or not
and which Basic Stamp I need to use
I want to thank any one that can help
·
·
·
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 2/2/2010 2:55:38 AM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 1/31/2010 4:57:02 AM GMT
I have the free sample now and ae unable to read the chip
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 1/31/2010 6:23:14 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
I do not understand how to write the HEX value if the default value is 0001
How do I use this to control the Data coming from the meter chip
Can any one help with this
This is what I have used
DO
· LOW CS········································· ' Enable ADC
· SHIFTOUT DataIn, Clock, MSBFIRST, [noparse][[/noparse]%1101000]·· '·I·THINK this is·the·Command Bytes·but not sure if this what I am controlling
· SHIFTIN DataOut, Clock, MSBPOST, [noparse][[/noparse]result0\12]·· ' Read ADC
· HIGH CS········································ ' Disable ADC
· 'mVolts0 =· result0 */ Cnts2Mv·················· ' Convert To Millivolts
· DEBUG HOME, CRSRXY, 11, 0, DEC result0, CLREOL, ' Displays voltages & digital value
············· CRSRXY, 11, 1, DEC mVolts0 DIG 3,·· ' for both channels
······················ ".", DEC3 mVolts0
· PAUSE 100
LOOP·
The result0·value dose go up and down but only from 0 to·1.4 volts how ever the value flash every second
and the value dose not start 0000 it starts like 0050 and go to 0999
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 1/31/2010 6:53:48 AM GMT
The command byte tells the MAX149x which register you are accessing and whether you are reading or writing. To use the MAX149x, send a command with the R/!W bit set to 1 for a read, 0 for a write, and the register address in RS4..RS0, then read or write the data. Here is an example to write the value %0000000001000001 to the Control Register, which has an address of %00001.
SHIFTOUT DataIn, Clock, MSBFIRST, [noparse][[/noparse]%11000010]
SHIFTOUT DataIn, Clock, MSBFIRST, [noparse][[/noparse]%0000000001000001]
The first line tells the MAX149x that you are writing data to address %00001, and the second line writes the data.
To read from the peak register, at address %01010, use these commands:
SHIFTOUT DataIn, Clock, MSBFIRST, [noparse][[/noparse]%10010100]
SHIFTIN DataOut, Clock, MSBPOST, [noparse][[/noparse]results\16]
The first line tells the MAX149x that you are reading data from address %01010, and the second line reads the data.
I don't have a MAX149x chip with me, so I cannot verify the above commands, but they should get you started in the right direction.
— David Carrier
Parallax Inc.
·I want to Thank...>>> David Carrier <<<...in Tech Parallax Support for his help
·He help me Understand the Data Sheet for the MAX1497 Meter Chip
Here is a Demo for this chip I hope that you can use this Demo Code· for this Chip
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 2/2/2010 2:34:37 AM GMT
2.000 volt
I had not seen any Demo code that had TWO ·SHIFTOUT DataIn, Clock, MSBFIRST line one right after the other I did not know that you could do that I have to say that today I learn something that I did not know
Set_Volt_Range:
· LOW CS··················································· ' Enable ADC
· SHIFTOUT DataIn, Clock, MSBFIRST, [noparse][[/noparse]%10000010]············ ' Enable Write to Control Register
· SHIFTOUT DataIn, Clock, MSBFIRST, [noparse][[/noparse]%0000000000100001]···· ' Enable bit ON ,RANGE = 2.0 Volts
· HIGH CS·················································· ' Disable ADC
· RETURN
·I had this part right but could not·SET the Voltage··Range and could read READ ADC Result Register· because of not being able to·Enable Write Command
Meter:
· LOW CS··················································· ' Enable ADC
· SHIFTOUT DataIn, Clock, MSBFIRST, [noparse][[/noparse]%11010000]············ ' Enable READ ADC Result Register 1 (16 MSBs)
· SHIFTIN DataOut, Clock, MSBPOST, [noparse][[/noparse]result\16]
· HIGH cs·················································· ' Disable ADC
· Volts = result / Cnts2Mv
· DEBUG······ CRSRXY, 11, 0, DEC result, CLREOL,·········· ' Displays voltages & digital value
············· CRSRXY, 11, 1, DEC Volts DIG 3,············ '
······················ ".", DEC3 Volts
RETURN
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
··Thanks for any··that you may have and all of your time finding them
·
·
·
·
Sam
Post Edited (sam_sam_sam) : 2/2/2010 2:50:25 AM GMT
Now I using a double sided board and now wiring up LED Display
As I get more done on this project I will post update