Searching \ for '[SX] Dallas DS18b20 CRC code' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/method/errors.htm?key=sx
Search entire site for: 'Dallas DS18b20 CRC code'.

Exact match. Not showing close matches.
PICList Thread
'[SX] Dallas DS18b20 CRC code'
2007\09\08@153016 by maxwinn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, maxwin wrote:

Hello all,
With the help of several resources, including this forum post http://forums.parallax.com/forums/default.aspx?f=7&m=113423&g=113549#m113549 and some code examples by Mike Cook, I have an SX28 (SX/B) running some DS18b20 1-wire temperature sensors. The temperature streams into Hyperterminal perfectly!

Now I would like to add CRC checking. The DS18b20 datasheet explains some theory about CRC. I admit, I cannot understand it. There are many examples found on Google, but sadly for other platforms and languages. Dallas themselves do not offer assistance with the best chips, just some others... :roll:

Does anyone on this forum have a sample code or link that they have previously used ?

I guess even if its in PBasic/Stamp basic, I could likely translate it. So any pointers gratefully received.

Thank you for looking!

Max.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=214766
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\09\10@165812 by PJMontyn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote:

Max,
Check out this page:

http://www.sxlist.com/techref/ubicom/lib/io/index.htm
Half way down you'll see a bunch of links for CRC code.

Thanks,
PeterM
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=214766#m215306
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\09\12@155126 by mebikeridern/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mebikerider wrote:

I got the floppy disk raw sector CRC calculation working in Spin.

Floppies use a different polynomial than the Dallas chip, and for a floppy, the accumulated value is initalized to some magic number, where Dallas specifies that their value is initialized to 0.

But maybe my Spin code can be of some help. Search the propeller forum for "Floppy", select "Floppy Drive Interface" and my code is included partway down the discussion.

David
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=214766#m215889
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\09\12@155718 by maxwinn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, maxwin wrote:

I will check it, thanks for the tip. When I get it running I will post the code here - so check back if you ever need it!!

Regards, Max.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=214766#m215890
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2007 , 2008 only
- Today
- New search...