Hi all, 8051 micro is very new to me. Does anybody in this forum kind enough to help me to create a routine to perform A/D and D/A so that it can be interfaced to a serial A/D or D/A converters using SPI protocol? or may be somebody can instruct me to the right site on the internet? The project I am working on requires that a standard 8051 micro to interface with the MAX187 ADC. Thanks in advance Jimmy Sayavong jsayavong@perkinselectronics.com
please tell me how to interface a micro-controller to a DAC and ADC.Thanks
"please tell me how to interface a micro-controller to a DAC and ADC." 1. Read the DAC Datasheet - especially the section on microcontroller interfacing 2. Do what it says! 3. Repeat for ADC. (if you haven't already, you will, of course, have to read the relevant microcontroller & software tool Datasheet(s) and Manuals)
Btw. i have i2c ADC and had read the ADC manual and implement it. but what i confuse is, its still not working, it didnt send any message to my Com-terminal. i have reverse it, but it still gave the same result. i have tried many different speed of baud-rate (...,2400bps,...,9600bps,...) still not working. perhaps i need an oscilloscope, to see what happen inside, yah...
Btw. i have i2c ADC and had read the ADC manual and implement it. but what i confuse is, its still not working, it didnt send any message to my Com-terminal. Yes, you are confused. What on earth does the ADC have to do with serial communications?. Divide and conquer. You have coded the whole thing and do not know what works and what not. Take the serial comm parts only, disable the rest. Then try to send a character (use emulator - simulator or whatever you have) and when that works start working on making the content of the comm the ADC results. Erik
Ah my oscilloscope, how much you mean to me.