| ??? 07/04/03 16:58 Read: times |
#50072 - RE: I/O Summary Responding to: ???'s previous message |
Hello Rashu Patial, That was good. OK this is the summary of I/O. ( Some optimization is possible but I am just going by your list ) 8 DI + 16 DO + 3 AI + 1 AO + LCD + Keypad. Next will be the resolution that you need on the AI and AO channels. This will decide the kind of ADC / DAC combo that you will need to use. Just as an example if you want to read the air pressure of 0 to 25 Bar then a basic 8 bit ADC would provide you with a resolution of 256 steps. Using only 250 of that, you can read pressure in 0.1 Bar increments - provided your hardware/ PCB do not screw it up. The Digital I/O count do exceed the normal 8052 capabilities . Here you have two choices to start with : A. P89c51RD2 MCU configured in memory mapped I/O mode with access to EEPROM to save user programmed data. B. C8051F020 from Cygnal - expanded Digital I/O + built in ADC + built in DAC + JTAG adapter for debugging and program download + Windows IDE for assembly or C coding. In fact if you buy the kit from the local dealer, your project can be over in a short time. OK then buddy, I have put you on a track which I feel will reach you where you wanted to . Now do your homework, read all data sheets , make flowcharts, write the control sequence and convince your boss that it can be done. Disclaimer : Be forewarned that you are attempting an industrial project for the first time and errors could be costly. SAFETY is the first issue and if you are going to code for the first time - suggest start in small steps - gain confidence and proceed. This incidentaly is NOT a small project. Raghu |



