Shop OBEX P1 Docs P2 Docs Learn Events
DS 1820 One Wire Device with the SX — Parallax Forums

DS 1820 One Wire Device with the SX

GRCGRC Posts: 22
edited 2008-05-01 11:19 in General Discussion
Hello all.
Currently I have a project using the PIC and multiple DS1820s. I'm having thoughts
about switching this project to the SX but have some concerns about DS1820s and
LCDs with the SX.

Does anyone here have experience with the DS1820 and the SX uC?

Thanks in advance
Gordon

Comments

  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2008-05-01 09:51
    One-wire devices will work with the SXes. I suggest you look for One-wire support in SX/B, the Basic programing language, to get started. You can do it all in Assembly, but why bother if you don't have to. You might find further help at www.sxlist.com. On some of the simpler PICs, the assembly cost can easily be translated to the SX assembly.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PLEASE CONSIDER the following:

    Do you want a quickly operational black box solution or the knowledge included therein?······
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan

    Post Edited (Kramer) : 5/1/2008 9:57:50 AM GMT
  • BeanBean Posts: 8,129
    edited 2008-05-01 11:19
    Here is the code to read the DS18B20 device.



    Bean.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Did you know that 111,111,111 multiplied by 111,111,111 equals 12345678987654321 ?

    www.iElectronicDesigns.com
Sign In or Register to comment.