working with external memory


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    I don't think one byte is enough to store your temperature . with one byte the maximum reading will be 25.5 degree then 25.6 will make your byte overflow to 0.

    Al.
    All progress began with an idea

  2. #2
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Sorry, should of mentioned, they are words

    Code:
    Temperatures      VAR WORD[4]
      Temp1           VAR Temperatures[0]
      Temp2           VAR Temperatures[1]
      Temp3           VAR Temperatures[2]
      Temp4           VAR Temperatures[3]
    with bytes for time

    Code:
    	TimeH var byte     
    	TimeM var Byte
    Last edited by malc-c; - 10th September 2010 at 17:55.

  3. #3
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    One alternative (assuming I can find it in the UK) is this

    http://www.jianpingusa.com/datasheet...nstruction.pdf

    Basically an SD/MMC card reader that communicates via serial


    Ouch - $50

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Have you seen this?
    Need an 18F with a fair amount of memory. 18F2550 works great with it.
    Dave
    Always wear safety glasses while programming.

  5. #5
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Have you seen this?
    Need an 18F with a fair amount of memory. 18F2550 works great with it.
    Seen what Dave ....

    Currently using an 18F4580 - The current version of my code compiles to around 24K

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

  7. #7
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    LOL - yeah right !!

    Interesting and seems a simple project... the only thing is that I don't have 6 pins available, at least not without changing the package to a 44 pin package and even then I still think it would be tight or short of a pin.... not to mention the re-design of the PCB

    Thanks for the link though...

    I've opted to do the logging in the PC application, for now

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts