Shop OBEX P1 Docs P2 Docs Learn Events
newbe help with 24LC32A EEPROM — Parallax Forums

newbe help with 24LC32A EEPROM

TCTC Posts: 1,019
edited 2005-10-30 02:42 in General Discussion
Hello I am somewhat a newbe and I am having a little troble understanding A 24LC32A EEPROM. Could someone please point me in the right deraction to understand how to use it with a BS2p?

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-10-27 01:40
    Have you downloaded (and studied) the 24LC32 data sheet?· If so, the attached program should make sense.· Refer to the manual or help file for details on I2COUT and I2CIN.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax

    Post Edited (Jon Williams (Parallax)) : 10/27/2005 1:45:18 AM GMT
  • TCTC Posts: 1,019
    edited 2005-10-28 01:45
    thank you jon, that helped me to understand how to interface it. now would you be able to give me a little point in the right deration. I am working on a under car led kit for my own car only. i am using "4" MAX7219 (one for each side of the car) there will be 176 LED's (40 each·for the front & back, 48 each for the sides) I would use the BS2p's EEPROM but i am thinking of space. so i found this chip from a older digital dash.

    My question is what woul be the best way to (1) program the 24LC32 with the led data and (2) read from it to input the MAX7219

    Any point in the right deration would help.

    TC
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-10-28 03:07
    That part I'm not sure of -- it's not trival. I wrote the driver program for our Serial Inkjet Program and built the ability to load the EEPROM with font data into the protocol -- perhaps you could do something like that.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • knightofoldcodeknightofoldcode Posts: 233
    edited 2005-10-29 09:53
    TC,

    I'm interested in how you intend to put the LED's on the underside of your car. I was thinking of doing something similiar to my car, but havn't found a decent solution to mounting them to my car, so I havn't bothered yet.

    My LED count will be substantially smaller, 32 LEDS, but they are going to be as close together as possible, and only on the front of the car, and not pointed under the car, but projected forward.

    IC's used are the BS2, and 4 74HC595's, and 4 ULN2803A's. The LED's used are high current blue LED's, so that's why I want to go with the ULN2803A's, instead of using a conventional MAX1270. I havn't made up my mind, but I MIGHT put a small cap on each LED, to simulate a bulb.

    I'm going to do a "scanner", like the old knight rider car, called, "Kitt". Starts from one side, lights one led, unlights the LED, then goes to the next LED, lights, dislights, etc, once at the end of hte string, it goes in reverse, once at the start it starts all over again.

    I'm probably going to interface a POT to the stamp to allow a timing change. Although I might integrate the whole thing into my Car Computer, then I could make any type of LED's by a Visual Basic program, and at any time.

    BTW, I'm not concered about the possibility of "impersonation of a police officer".

    Knight.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-
    This message transmitted with 100% recycled electrons.
    -=-=-=-=-=-
    Gravity doesn't exist. The Earth sucks.
    -=-=-=-=-=-
    Make a man a fire, and he will be warm for the night.
    Light the man on fire, and he will be warm for the rest of his life.
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-
  • TCTC Posts: 1,019
    edited 2005-10-30 02:42
    Knight
    ·
    Well since you will have only max 2 LED’s on at a time I would use an Allegro 5833
    ·http://www.allegromicro.com/sf/5833/
    ·
    ·The only bad part is they are going to get rid of them. But if you can use SMT then use the replacement part
    ·
    http://www.allegromicro.com/sf/6833/index.asp
    ·
    Both of these can handle 125mA and up to 30V. You could even use 12V incandescent lamps to get that fade look that KITT had. To use them is easy. And you can get them for FREE. Just order a sample and make up a fake company name, and you are good to go.
    ·
    Now to answer your question. I made custom boards made up. On each board there are 8 LED’s. I would connect the boards together to get the size I want. Then using my plastic forming skills I will make my own tubes to house the boards and protect from rocks, potholes, ECT.
    ·
    I hope this will help.
    ·
    TC
Sign In or Register to comment.