TITLE: study arduino program
on this week im study about my arduino program. Arduino is the main brain of my project so i need to study more deeply on this program. based on my study i can find my solution to read my data from the input source and output source.This data so important this is because the data will send to my visual basic software so that i can show my data in graphically.
void loop()
{
Serial.print("$");
Serial.print("Read");
Serial.print(",");
val=analogRead(A0);//This divider module will divide the measured voltage by 5, the maximum voltage it can measure is 25V.
temp=val/40.92; //
val=temp;//
Serial.print(val);
Serial.print(",");
//Serial.print("Volt,");
//delay(30);
a
total= total - readings[index];
readings[index] = analogRead(A1); //Raw data reading
readings[index] = (511-readings[index])*5/1024/0.04;//Data processing:510-raw data from analogRead when the input is 0; 5-5v; the first 0.04-0.04V/A(sensitivity); the second 0.04-offset val;
total= total + readings[index];
index = index + 1;
if (index >= numReadings)
index = 0;
average = total/numReadings; //Smoothing algorithm (http://www.arduino.cc/en/Tutorial/Smoothing)
currentValue= average;
Serial.print(currentValue);
Serial.print(",");
//Serial.print("A,");
//delay(30);
power = val*currentValue;
Serial.print(power);
Serial.print(",");
//Serial.print("Watt,");
valout = analogRead(A4);
/*tempout = valout * (1.0 / 1024);
Serial.print(tempout);
Serial.print("Volt(OUT)");*/
tempout=valout/40.92; //
valout=tempout;//
Serial.println(valout);
//Serial.print(",");
//Serial.println("Volt(OUT)");
//delay(30);
delay(100);
}
Tuesday, 24 November 2015
Tuesday, 17 November 2015
WEEK 10
TITLE: added new component on my hardware.
based on research in week 6 which is about booster DC-DC i had an idea to increase my voltage output so that i had been modified my project with the booster component. after done testing on my project with my booster component the final output voltage that i get is almost 5v.
based on research in week 6 which is about booster DC-DC i had an idea to increase my voltage output so that i had been modified my project with the booster component. after done testing on my project with my booster component the final output voltage that i get is almost 5v.
booster component
final output voltage
Friday, 13 November 2015
WEEK 9
TITLE: testing my project with new method
Last week my method was fail so for this week im come with my new method. Based on research that i had been made i decide to improve my method with added new component on my cooler fan which is i used DC motor. Based on testing i had been made, this method give some improvement from the others method which is i can increase my voltage output. im so glad to apply this method in my project. this method can work properly and successfully in my project. based on my result i get 2V from the output. im also make cooler fan 2 and fan 3 in parallel connection so that i can increase my current output.
Last week my method was fail so for this week im come with my new method. Based on research that i had been made i decide to improve my method with added new component on my cooler fan which is i used DC motor. Based on testing i had been made, this method give some improvement from the others method which is i can increase my voltage output. im so glad to apply this method in my project. this method can work properly and successfully in my project. based on my result i get 2V from the output. im also make cooler fan 2 and fan 3 in parallel connection so that i can increase my current output.
cooler fan 3 had been modified with DC
cooler fan 2 and fan 3 in connection parallel
Tuesday, 3 November 2015
WEEK 8
TITLE: testing my project with new method
on this week im doing some testing with new method which is i have been modified my cooler fan and added magnet bar at my cooler fan 2. the magnet bar i used is the one of the powerful magnet bar from the others magnet types. My expectation by doing this method it can help me to double up voltage. But unfortunately this method was fail and cant be use in my project. the reason why, this magnet is not suitable to use on my project besides that, this magnet should modified with coil.
on this week im doing some testing with new method which is i have been modified my cooler fan and added magnet bar at my cooler fan 2. the magnet bar i used is the one of the powerful magnet bar from the others magnet types. My expectation by doing this method it can help me to double up voltage. But unfortunately this method was fail and cant be use in my project. the reason why, this magnet is not suitable to use on my project besides that, this magnet should modified with coil.
magnet bar modified in my cooler fan
magnet bar in hard disk
Subscribe to:
Posts (Atom)