Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 30th December 2004, 01:22 PM   #1
Default assembly language

im doing a project. it deals with a 8-bit ADC to convert my analog data into digitized data then the data would be fit into 8052. after processing, the digitized data would be output in 7 segment display.

analog data > ADC > 8052 microC > BCD decoder > 7 segment display

i have no idea how to start off to write my assembly language code. anyone have a hint for me how to write it?? thanks!!
soohino is offline  
Old 30th December 2004, 02:57 PM   #2
Default Re: assembly language

Quote:
Originally Posted by soohino
im doing a project. it deals with a 8-bit ADC to convert my analog data into digitized data then the data would be fit into 8052. after processing, the digitized data would be output in 7 segment display.

analog data > ADC > 8052 microC > BCD decoder > 7 segment display

i have no idea how to start off to write my assembly language code. anyone have a hint for me how to write it?? thanks!!
I can't help you with 8052 code, but there's no need for a BCD decoder, the micro can do everything required quite easily.

If you would like to use a PIC instead, my tutorials show everything you need - plus it's a cheap single chip solution.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 31st December 2004, 04:11 AM   #3
Default Re: assembly language

Thanks nigel.
btw my project has to be done with 8052 micro. concerning about the BCD, u mean i just need to write the code to output the data as demical value, no BCD chip is needed, am i right??

Anyone has any idea about how to start with assembly language?



Quote:
Originally Posted by Nigel Goodwin
Quote:
Originally Posted by soohino
im doing a project. it deals with a 8-bit ADC to convert my analog data into digitized data then the data would be fit into 8052. after processing, the digitized data would be output in 7 segment display.

analog data > ADC > 8052 microC > BCD decoder > 7 segment display

i have no idea how to start off to write my assembly language code. anyone have a hint for me how to write it?? thanks!!
I can't help you with 8052 code, but there's no need for a BCD decoder, the micro can do everything required quite easily.

If you would like to use a PIC instead, my tutorials show everything you need - plus it's a cheap single chip solution.
soohino is offline  
Old 31st December 2004, 06:35 AM   #4
Default Re: assembly language

Quote:
Originally Posted by soohino
Thanks nigel.
btw my project has to be done with 8052 micro. concerning about the BCD, u mean i just need to write the code to output the data as demical value, no BCD chip is needed, am i right??
You can use a simple lookup table in the assembler code to directly output the segment data for the displays - it's an EXTREMELY common and simple technique.

In any case, a BCD chip isn't what you would need anyway, there seems little point converting to BCD in the micro just to feed a display chip.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Tags
assembly, language

Thread Tools
Display Modes




All times are GMT. The time now is 11:21 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker