EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Help needed for programming of microcontrollers and associated chips..

Started by adam January 9, 2006
Hi Group,
We wish to thank you all for the immediate and informative response to
our previous topic.
We wish to know about programming the microcontroller and associated
chips this time.
These are the chips we have decided to use:
AT89C52/AT89S52: MICROCONTROLLER
DS1307: RTC
MAX232/MAX485: LEVEL CONVERTER
AT24C1024: SERIAL EEPROM
4051B: 8:1 ANALOG MUX
LM339: COMPARATOR

1. What are the different stages that go into programming from start to
end?
2. What are the various software requirements at each stage?
3. We have searched and got some routines and codes from the internet.
But these are for 8051 or for other derivatives. Is there some website
from where basic codes like read/write/erase of EEPROM, Programming of
RTC and Reading RTC, etc can be available.
4.Lastly we are using RS232c cable for PC interface. We wish to display
a few details like pin number and the real time clock n the PC in the
simplest way. Please suggest ways to go about it. some have suggested
Visual Basic. Are VB codes for such application availalbe on the
internet?

We wait for positive response.
Thanking you and with best regards,
Adam Mashraqui.
(on behalf of the group)

adam wrote:
> Hi Group, > We wish to thank you all for the immediate and informative response to > our previous topic. > We wish to know about programming the microcontroller and associated > chips this time. > These are the chips we have decided to use: > AT89C52/AT89S52: MICROCONTROLLER > DS1307: RTC > MAX232/MAX485: LEVEL CONVERTER > AT24C1024: SERIAL EEPROM > 4051B: 8:1 ANALOG MUX > LM339: COMPARATOR > > 1. What are the different stages that go into programming from start to > end? > 2. What are the various software requirements at each stage? > 3. We have searched and got some routines and codes from the internet. > But these are for 8051 or for other derivatives. Is there some website > from where basic codes like read/write/erase of EEPROM, Programming of > RTC and Reading RTC, etc can be available. > 4.Lastly we are using RS232c cable for PC interface. We wish to display > a few details like pin number and the real time clock n the PC in the > simplest way. Please suggest ways to go about it. some have suggested > Visual Basic. Are VB codes for such application availalbe on the > internet? > > We wait for positive response. > Thanking you and with best regards, > Adam Mashraqui. > (on behalf of the group)
Don't keep reposting the same question, you've been told allready you don't have the skills to complete this project. You won't get an education unless you do some WORK yourselves. Read the data sheets and get on with it.
Hello Adam (and group)

adam <adam.mashraqui@gmail.com> wrote:
> We wish to thank you all for the immediate and informative response to > our previous topic. > We wish to know about programming the microcontroller and associated > chips this time. > These are the chips we have decided to use: > AT89C52/AT89S52: MICROCONTROLLER > DS1307: RTC > MAX232/MAX485: LEVEL CONVERTER > AT24C1024: SERIAL EEPROM > 4051B: 8:1 ANALOG MUX > LM339: COMPARATOR > > 1. What are the different stages that go into programming from start to > end?
- Read the datasheets - Read some more datasheets - Find a compiler and toolchain - Read compiler documentation - Write a little test program to blink a led - Read documentation for the peripherals - Write litte test programes for peripherals - et cetera
> 2. What are the various software requirements at each stage?
This is something only *you* can tell.
> 3. We have searched and got some routines and codes from the internet. > But these are for 8051 or for other derivatives. Is there some website > from where basic codes like read/write/erase of EEPROM, Programming of > RTC and Reading RTC, etc can be available.
These things are usually not hard to do. You can find all the details in the datasheets. You should really be able to make these things yourselves.
> 4.Lastly we are using RS232c cable for PC interface. We wish to display > a few details like pin number and the real time clock n the PC in the > simplest way. Please suggest ways to go about it. some have suggested > Visual Basic. Are VB codes for such application availalbe on the > internet?
Read a book and try to make this yourself. The broad spectrum of your questions suggest this project might just be way too complicated for you. You are trying to find a completely worked out example project, but this will not help you much. Every embedded project is unique, and you will need to *understand* what you are doing to get this thing to work. -- :wq ^X^Cy^K^X^C^C^C^C
Maybe these questions are better asked before you select the chips you
are going to use? You probably want to make sure you have the expertise
in house to do the programming and configuration, and perhaps the board
design, also. Just a thought...

Failing that, you can maybe get a contractor to assist you.


The 2024 Embedded Online Conference