Ok… I am currently doing my final year project and I am doing a simple k8055 program which is abit the same as the demo program but added some new features using C#. I want to design the analog to digital functions to change it either in reader mode or writer mode using trackbar. Image has been added. I am not really good in programming and I need some helps and hints thanks a lot
hmmm… I want to make it either in reader mode, which means that the value is changed by turning the ATT1 and ATT2, and the writer mode is used to control the AD1 and AD2 without turning the ATT1 and ATT2. Well, really not possible?
AD1 and AD2 are configured and wired as analog to digital (A/D) input converters. They will convert an input voltage of 0V to 5V into a number from 0 to 255. The variable resistors ATT1/ATT2 can be used to attenuate the input voltage (that means you can adjust the K8055 to read a 0V to 10V input as if it were a 0V to 5V input). If the jumpers SK2/SK3 are closed, the corresponding input is short circuited to the +5V supply voltage and the attenuator resistor (ATT1/ATT2) can be used to simulate the 0V to 5V input.
The only way to control via software, what AD1/AD2 are reading, would be to connect DA1/DA2 of the same or another K8055 card to them, and set the DA1/DA2 output to what you want to see as input.
Oh btw, is it possible to do a K8055 flowchart because it is being used in windows form? if yes, is it combined together or separated flowcharts as in (e.g. inputs and output that I uploaded the image on top are 2 separated flowcharts)? Need urgent reply. Thanks alot.