Burn Vehicle Numbers in 89C51

Discussion in 'The Projects Forum' started by Faizan, Oct 16, 2010.

  1. Faizan

    Thread Starter New Member

    Oct 16, 2010
    4
    0
    Hi
    i want to burn vehicle numbers on 89C51 ports: For example

    Port 1
    IDE 5678

    Port 2
    LHR 7698

    Port 3
    AJK 5438

    etc
    Can anybody help me. i need code

    Regards Faizan
     
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    I have some problems in understanding what you want to do here. And I think i am not the only one ;) Can you tell us more about your project.
     
  3. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    You are not the only one having trouble understanding.
     
  4. Faizan

    Thread Starter New Member

    Oct 16, 2010
    4
    0
    Actually i want to attach dip switches to 89c51. and from that i put single vehicle number in eeprom. so in a sense 89c51 works like a database from which i put single data in eeprom.
     
  5. GetDeviceInfo

    Senior Member

    Jun 7, 2009
    1,571
    230
    The internal memories of the '51 are great for holding variables, lookup tables, etc, but for databasing you need to settle on the size of database in bytes that you require, and we need to know.
     
  6. Faizan

    Thread Starter New Member

    Oct 16, 2010
    4
    0
    can we put data from 89c51 into eeprom. fro example when i on dip switch 1 then i get data of port 1 in eeprom???
     
  7. Faizan

    Thread Starter New Member

    Oct 16, 2010
    4
    0
    Actually i want to attach dip switches to 89c51. and from that i put single vehicle number in eeprom. so in a sense 89c51 works like a database from which i put single data in eeprom.
     
  8. GetDeviceInfo

    Senior Member

    Jun 7, 2009
    1,571
    230
    Yes, of course, but dip switching ascii characters into a micro port just wouldn't be useful for anything.
     
Loading...