- This topic has 8 replies, 3 voices, and was last updated 10 years, 9 months ago by .
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › about interface ADC0808 using clock from 8051 microcontroller (AT89C51)
Hi Everybody
if any one tying this kind of interface? pleas tell me about the frequency of the controllor that must tyied if we know that 0808 must have 500KHz…
this is the block diagram…
you aksing for freq is been provided by controller to clk pin of 0808???
in the code:
TMOD=0x22; //timer0 setting for generating clock of 500KHz using interrupt enable mode.
TH0=0xFD;
IE=0x82;
TR0=1;
i hope thiss will solve your problem… or plz a bit more specify your self.. xtcally what you asking….
Thanks DAGAKSHAY Your answer is very good for me…..
now I have another problem that I don’t have the converter of C to Hex?
so if you have it please help by send it to my mail
and i’ll be GRATEFUL
thank you so much
the compiler it self have an option to convert you C code into hex file
we use keil for 8051 controller… which compiler u use….
I don’t have keil fpr 8051, I have just c language but I will trying search the compiler in the net
thank you DAGAKSHAY
these are some of the link fronm where you can download keil compiler
http://ptf.com/keil/keil+uvision4/
http://www.esoft.in/applications/61105-keil-c51-v901-compiler-uvision-4-ide.html
http://www.sharewareconnection.com/software.php?list=Keil+Uvision+4
Hi DAGAKSHAY
I promise to upload a video of my project….
this is it
http://www.4shared.com/video/kIOm17p2/1_online.html
thank you for you kindness & thank’s to ENGINEERS GARAGE team
your’s student Ahmed
Finaly I Complet my project with perfect measurement 8-Channal…
my friend ROMEL…
I found the ansower about random measurment of the ADC0808 that when we put a simple channal we must comman the ground with the ADC0808 (SINGLE ENDED Tying) i make the hardware & software with VB6 and it’s work with 8-chanal perfect.
MR.DAGAKSHAY
thanks to your help and for this site when i provide my project i wrote in the reference URL site of Engineersgarage so i’m greatful so math
(Alhamdo lilaah Rab Al-Alamin)
Greeting To ALL
hi @ahmad
congrats for your completion of project.
Thanks for the above post