View previous topic :: View next topic |
Author |
Message |
offspr Guest
|
DS1626 routine |
Posted: Thu Jun 24, 2004 9:01 am |
|
|
Hello,
Did anyone succed in writing a routine for the Dallas DS1626?
Thank you |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jun 24, 2004 1:23 pm |
|
|
The DS1626 looks similar to the DS1620, except that it has 12 bits
instead of 9 bits. Someone has written a driver for the DS1620
which appears to be in CCS code. You could try to convert this
driver. In places where it has a count of 9 bits, change it to 12.
Some of the commands are different between the two chips.
You basically have to learn how the chip works, and consult
the data sheet in detail. The source code may help you to write
the driver.
http://www.egr.msu.edu/classes/ece482/Teams/00spr/design3/doc/Deliverable/SourceCode/DS1620.PDF |
|
|
offspr Guest
|
|
Posted: Mon Jun 28, 2004 8:50 am |
|
|
Thank you PCM programmer. In fact, I modified a ds1620 program and I succeded. So if someone is interested, I will give the source code.
Now I am also working with a MAX6662 sensor. I am able to send the command data but there is no response.
If someone has an experience with this sensor, I would appreciate some help !
Thank you. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Jun 28, 2004 9:22 am |
|
|
Quote: | In fact, I modified a ds1620 program and I succeeded.
So if someone is interested, I will give the source code. |
If you think the driver is good code, and is completely tested
and properly commented, then you should post it to the code library.
http://www.ccsinfo.com/forum/viewforum.php?f=2 |
|
|
baloo Guest
|
ds1620 with pic |
Posted: Mon Mar 14, 2005 9:36 am |
|
|
hai if uhave code, for ds1620 and if it is explained how it works, please could you send me to this adress [url][email protected] [/url]or just put it in the forum , thanks a lot , cheers |
|
|
|