EPROM and Microprocessor - Data storage and processing

Discussion in 'Embedded Systems and Microcontrollers' started by majoritical, Dec 21, 2007.

  1. majoritical

    Thread Starter Member

    Nov 20, 2007
    12
    0
    Hi all,

    I am fairly new to practical electronics design and I'm working on designing a smart power supply.

    I currently have the basic power supply circuit figured out, but I am currently working on the 'smartness'.

    My main question is: How exactly can an EPROM chip be programmed, and how can the data stored on the chip be sent to a Microprocessor for processing immediately the EPROM is powered?

    I intend storing voltage and current limit values on the programmed chip.

    Practical answers would be really appreciated.
     
  2. lightingman

    Senior Member

    Apr 19, 2007
    374
    22
    Hi,You would be better of doing it with a PIC microcontroler... They have everything on board that you would require (ADC, EEPROM, CPU and lot's more)...Daniel.
     
  3. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    If you get the spec sheet on the specific EPROM, it describes just how data is burned into the chip.
     
  4. mrmeval

    Distinguished Member

    Jun 30, 2006
    833
    2
    http://www.arduino.cc

    It's inexpensive, has a free IDE, has several analog to digital channels and digital outputs.
    It can easily talk to a PC via USB or you can get a bluetooth version that is wireless.

    It uses the atmega168 microcontroller that has built in 16k program flash ram, ram and a small eeprom that's used to store configurations.

    It was reasonably easy for me to read a voltage and based on that voltage cause a digital output to activate. I've also done several projects with various inputs and outputs. I'm currently using it with a solid state relay to drive some lights. ;)
     
  5. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    The IDE that mrmeval has referred to stands for "Integrated Development Environment". This is a fancy reference to the application software needed to program the ATMEGA168. The FREE IDE is available for download from WWW.ATMEL.COM. It is called AVRSTUDIO4. You can download it right now and try it out. If you are interested in C-language programming you can go to WWW.SOURCEFORGE.NET and download WINAVR. WINAVR is FREE also. WINAVR works in conjunction with AVRSTUDIO4 so you need to load AVRSTUDIO4 prior to loading WINAVR.

    Have a look at the data sheet for the ATMEGA168 and you will see that is it has all of the features that mrmeval has indicated. This link takes you to the abridged version of the datasheet. You can find the unabridged version at ATMEL's website also.

    hgmjr
     
  6. majoritical

    Thread Starter Member

    Nov 20, 2007
    12
    0
    Thanks a lot guys. Very helpful replies. Still researchin all the options. The arduino is looking very good though...
     
Loading...