changing this project (Data acquisition system using 8051) to another type of DAQ...need help
Mon Jul 04 2011, 08:21 am
thanks for the explanation majoka.....
what about this code...is this code reading the senser value from adc...
and can u tell me what how this function
void sendReading(unsigned char val)
{
unsigned char l,m;
l=val%10;
m=(val/10)%10;
sendChar(aray[m]);
sendChar(aray[l]);
sendChar(',');
}
what about this code...is this code reading the senser value from adc...
and can u tell me what how this function
void sendReading(unsigned char val)
{
unsigned char l,m;
l=val%10;
m=(val/10)%10;
sendChar(aray[m]);
sendChar(aray[l]);
sendChar(',');
}
Thu Jul 07 2011, 09:58 am
The above function is just to send values to PC via UART. It expect val as the value to be sent to PC, it then separates the digits convert them to ascii (array is the ascii values of all digits) and send it to uart using sendChar() function.
Thu Jul 07 2011, 10:18 pm
thank you ajay for your explanation... what is the the val%10 mean .......
if i change the sensor type like pressure, humidity, vibration from the original(temperature).......... than the coding for microcontroller will be change is it?........ for that i need use to use the data sheet or what ?......
if i change the sensor type like pressure, humidity, vibration from the original(temperature).......... than the coding for microcontroller will be change is it?........ for that i need use to use the data sheet or what ?......
Fri Jul 08 2011, 09:39 am
what is the the val%10 mean
that is modulo operation.. its a matter of value processing..
Use the modulo operator (%) to calculate the remainder of an integer division.
Thu Jul 28 2011, 08:01 am
i got problem in vb file that i download , when i open DAQ System.exe file it run normally..... then when i open and try to run the daqSys.vbp file it show compile error: cant find project or library.....
why i get this problem..... need some help on this..... is the problem is my vb program itself or others.....
why i get this problem..... need some help on this..... is the problem is my vb program itself or others.....
Thu Jul 28 2011, 03:00 pm
is it a dll file missing error
dao350.dll not found or missing etc
if yes then paste this dao350.dll file to system32 folder in window
u can downland this files also here
dao350.dll not found or missing etc
if yes then paste this dao350.dll file to system32 folder in window
u can downland this files also here
Sat Jul 30 2011, 03:38 pm
majoka the code u give work perfectly thank for the code..... i think the code that i downloaded i have some missing syntax(line)... once again thank alot
Powered by e107 Forum System