Shop OBEX P1 Docs P2 Docs Learn Events
More RAM memory — Parallax Forums

More RAM memory

ArchiverArchiver Posts: 46,084
edited 2003-12-30 19:18 in General Discussion
Bob-

If you've got a '2p model, the Dallas Semi DS1996 64Kbit nonvolatile
memory iButton may be worth a look. See:

https://shop.maxim-ic.com/cgi-bin/Maxim.storefront/622089042/Product/V
iew/DS1996L&2DF5

Regards,

Steve

On 29 Dec 03 at 8:44, Bob Roan wrote:

> I need about 2 - 4K of RAM memory...

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-12-29 16:44
    I need about 2 - 4K of RAM memory. I don't think EEPROM will work
    because I need to read and write every second and the life of EEPROM
    would get used up pretty quickly.

    Any ideas for where I can find RAM for the stamp?

    Thanks

    bob
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-29 17:17
    If you're looking to save time and development headaches, Solutions
    Cubed makes a module called the RamPack:

    http://www.solutionscubed.com/Solutions%20Cubed/RPB2003.htm

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: Bob Roan [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=m8eg6gF-4AX4yfnWOYSOBbqYEtjbjwyK7h8SDehE18DME4bYUk7-Tx84EY3h1BVQ7F56qJE3WCSg]bob@t...[/url
    Sent: Monday, December 29, 2003 10:45 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] More RAM memory


    I need about 2 - 4K of RAM memory. I don't think EEPROM will work
    because I need to read and write every second and the life of EEPROM
    would get used up pretty quickly.

    Any ideas for where I can find RAM for the stamp?

    Thanks

    bob



    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject
    and Body of the message will be ignored.


    Yahoo! Groups Links

    To visit your group on the web, go to:
    http://groups.yahoo.com/group/basicstamps/

    To unsubscribe from this group, send an email to:
    basicstamps-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/




    This message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-29 18:41
    2-4K byte is a lot of data to handle. Why do you need so much?
    Is it serial info you wanna store?
    If you use the BS2p, you have 126 bytes storeage, that don't wear
    out. Simply:

    SERIN 7, 16884, 4000, No_GPS_Data, [noparse][[/noparse]WAIT("????,"), SPSTR 125]

    This line wait for some interesting char like ????, then store the
    next 126 bytes in the SP RAM.

    Then use a for next to read one char at the time:
    For adr=0 to 125 ' total 126
    Get adr,Keyin ' get one char
    If Keyin somthing.....


    Next




    --- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
    wrote:
    > If you're looking to save time and development headaches, Solutions
    > Cubed makes a module called the RamPack:
    >
    > http://www.solutionscubed.com/Solutions%20Cubed/RPB2003.htm
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    Original Message
    > From: Bob Roan [noparse][[/noparse]mailto:bob@t...]
    > Sent: Monday, December 29, 2003 10:45 AM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] More RAM memory
    >
    >
    > I need about 2 - 4K of RAM memory. I don't think EEPROM will work
    > because I need to read and write every second and the life of
    EEPROM
    > would get used up pretty quickly.
    >
    > Any ideas for where I can find RAM for the stamp?
    >
    > Thanks
    >
    > bob
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    Subject
    > and Body of the message will be ignored.
    >
    >
    > Yahoo! Groups Links
    >
    > To visit your group on the web, go to:
    > http://groups.yahoo.com/group/basicstamps/
    >
    > To unsubscribe from this group, send an email to:
    > basicstamps-unsubscribe@yahoogroups.com
    >
    > Your use of Yahoo! Groups is subject to:
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    > This message has been scanned by WebShield. Please report SPAM to
    > abuse@p...
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-29 20:08
    I am simulating a clock using LEDs. I have some 8 by 8 LED Matrices
    that are about 2 inches square. I currently have a grid that contains 3
    rows by 3 columns of them, which totals about 576 individual LEDs that
    need to be updated each second. At one bit each, I use about 72 bytes.
    I have enough memory with the BS2SX and the DS1302 clock ship RAM
    together. But I want to move to 5 by 5, which brings me up to 1600
    LEDs, which at one bit each needs about 200 bytes. So I multiplied my
    estimate by 10 to give me a little wiggle room. Even with no wiggle
    room, the BS2P doesn't have enough

    bob

    Original Message
    From:
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-29 20:22
    You don't need to do this in RAM. Since your numbers and/or letters have known
    patterns, you can store those patterns in DATA statements (you can even use a
    spare program slot in the BS2p and point to it with the STORE instruction) and
    point to them as needed to refresh each display digit. Take a look at this
    article (I'm getting my money's worth for all those N&V articles that Scott and
    Lon and I have written....):

    http://www.parallax.com/dl/docs/cols/nv/vol2/col/70.pdf

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office



    Original Message
    From: Bob Roan [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=x-MXDDg4fttRbPpMOk5Y289P5teh7vIzeEYnlT2HcK7a8ew5J4T9ThoLwskE_TnKwOc8FxOJ1g]bob@t...[/url
    Sent: Monday, December 29, 2003 2:09 PM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] Re: More RAM memory


    I am simulating a clock using LEDs. I have some 8 by 8 LED Matrices that are
    about 2 inches square. I currently have a grid that contains 3 rows by 3
    columns of them, which totals about 576 individual LEDs that need to be updated
    each second. At one bit each, I use about 72 bytes. I have enough memory with
    the BS2SX and the DS1302 clock ship RAM together. But I want to move to 5 by 5,
    which brings me up to 1600 LEDs, which at one bit each needs about 200 bytes.
    So I multiplied my estimate by 10 to give me a little wiggle room. Even with no
    wiggle room, the BS2P doesn't have enough

    bob

    Original Message
    From:
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-29 20:52
    I'm simulating clock hands. It will not look like a digital clock, but
    an analog one, so each second it has to figure out which LEDs to light
    to make it look like a sweeping second, minute and hour hand.

    bob



    Original Message
    From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=mAlT7pEYhTOKhlQm7xgqc_Gi8wec6WXsWdCIxkuuC4-3jrC0yxGpLtcyMiu3dm5n5F5Vw8SmyzWzqqYSOA]jwilliams@p...[/url
    Sent: Monday, December 29, 2003 12:23 PM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] Re: More RAM memory


    You don't need to do this in RAM. Since your numbers and/or letters
    have known patterns, you can store those patterns in DATA statements
    (you can even use a spare program slot in the BS2p and point to it with
    the STORE instruction) and point to them as needed to refresh each
    display digit. Take a look at this article (I'm getting my money's
    worth for all those N&V articles that Scott and Lon and I have
    written....):

    http://www.parallax.com/dl/docs/cols/nv/vol2/col/70.pdf

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office



    Original Message
    From: Bob Roan [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=WCbcDYIgQTvNFX1wIZbtR6odM9A9WJ3ZylBMjosXzn9nNBBl_Wibs0z0A5uzFGGEFlRBhrEBkfKE9M8]bob@t...[/url
    Sent: Monday, December 29, 2003 2:09 PM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] Re: More RAM memory


    I am simulating a clock using LEDs. I have some 8 by 8 LED Matrices
    that are about 2 inches square. I currently have a grid that contains 3
    rows by 3 columns of them, which totals about 576 individual LEDs that
    need to be updated each second. At one bit each, I use about 72 bytes.
    I have enough memory with the BS2SX and the DS1302 clock ship RAM
    together. But I want to move to 5 by 5, which brings me up to 1600
    LEDs, which at one bit each needs about 200 bytes. So I multiplied my
    estimate by 10 to give me a little wiggle room. Even with no wiggle
    room, the BS2P doesn't have enough

    bob

    Original Message
    From:
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-29 23:51
    The Solutions-cubed 'RamPackB' gives you up to
    32 KBytes of SRAM, interfaced via 9600 baud
    SEROUT/SERIN. It also has a 'FIFO' mode, so
    you just write bytes to it and it stores them.


    --- In basicstamps@yahoogroups.com, "Bob Roan" <bob@t...> wrote:
    > I am simulating a clock using LEDs. I have some 8 by 8 LED Matrices
    > that are about 2 inches square. I currently have a grid that
    contains 3
    > rows by 3 columns of them, which totals about 576 individual LEDs
    that
    > need to be updated each second. At one bit each, I use about 72
    bytes.
    > I have enough memory with the BS2SX and the DS1302 clock ship RAM
    > together. But I want to move to 5 by 5, which brings me up to 1600
    > LEDs, which at one bit each needs about 200 bytes. So I multiplied
    my
    > estimate by 10 to give me a little wiggle room. Even with no wiggle
    > room, the BS2P doesn't have enough
    >
    > bob
    >
    >
    Original Message
    > From:
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-30 19:18
    You can do this algorithmically, which will be a bit tricky. Bresenham's
    algorithm can be done in all integer math, and is probably reasonable to
    implement on the stamp. All you'd have to do at this point would be to
    store the x,y positions of the "outside" of the clock (which can actually
    be stored in 15 (x,y) pairs, since circles are symmetrical around the
    quarter, and use the line drawing algorithm to "line plot" to this
    position. This would be a neat little thing to do, but it would be
    tricky. It would however scale to an arbitrary sized LED array.

    (interesting, just last night I watched 'finding nemo' and noted my
    computer graphics professor listed in the credits, today I end up
    using said information...)


    This might be a worthwhile read:

    http://www.cs.unc.edu/~davemc/Class/136/Lecture9/Lines.html


    On Mon, 29 Dec 2003, Bob Roan wrote:

    > I'm simulating clock hands. It will not look like a digital clock, but
    > an analog one, so each second it has to figure out which LEDs to light
    > to make it look like a sweeping second, minute and hour hand.
    >
    > bob
    >
    >
    >
    >
    Original Message
    > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=yAyJOtHckfwSzKSDFB56Bz0zC4IdDUUZA7h_1KA7ce3WuIxHTkgpoe7Co5cJDkjuCwqwB23eNaGodbIc-ouXgg]jwilliams@p...[/url
    > Sent: Monday, December 29, 2003 12:23 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: More RAM memory
    >
    >
    > You don't need to do this in RAM. Since your numbers and/or letters
    > have known patterns, you can store those patterns in DATA statements
    > (you can even use a spare program slot in the BS2p and point to it with
    > the STORE instruction) and point to them as needed to refresh each
    > display digit. Take a look at this article (I'm getting my money's
    > worth for all those N&V articles that Scott and Lon and I have
    > written....):
    >
    > http://www.parallax.com/dl/docs/cols/nv/vol2/col/70.pdf
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    >
    Original Message
    > From: Bob Roan [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=C3TOSCEkkn8-XldrV2iEAYCaSszwkFokemu3vYWwryWwIybq8XCDz_MhkPeP2EzId4jlmwKK]bob@t...[/url
    > Sent: Monday, December 29, 2003 2:09 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: More RAM memory
    >
    >
    > I am simulating a clock using LEDs. I have some 8 by 8 LED Matrices
    > that are about 2 inches square. I currently have a grid that contains 3
    > rows by 3 columns of them, which totals about 576 individual LEDs that
    > need to be updated each second. At one bit each, I use about 72 bytes.
    > I have enough memory with the BS2SX and the DS1302 clock ship RAM
    > together. But I want to move to 5 by 5, which brings me up to 1600
    > LEDs, which at one bit each needs about 200 bytes. So I multiplied my
    > estimate by 10 to give me a little wiggle room. Even with no wiggle
    > room, the BS2P doesn't have enough
    >
    > bob
    >
    >
    Original Message
    > From:
Sign In or Register to comment.