PROGRAM A MICROCONTROLLER TO MEASURE AC VOLTAGE WITHOUT ANY RECTIFIER CIRCUIT USING ZERO CROSS AND COMPARISON ALGORITHM AND ALSO FIND FREQUENCY. ARDUI...
This paper shows how to make Glucose meter with Arduino.
Measure your LiPo battery's voltage with arduino
freq meter
Arduino UnoFull description
Arduino unoDeskripsi lengkap
Arduino UNO How-Tos
Basic Arduino UNODescripción completa
Working with ultrasonic sensor using Arduino board
bluetooth with arduino
komponen arduino unoDeskripsi lengkap
komponen arduino uno
Arduino Uno R3Descripción completa
Especificaciones tecnicas del arduino uno R3Descripción completa
Descripción completa
Datasheet arduino uno indonesia version
TO MAKE A DIGITAL FREQUENCY METER AND AC VOLTMETER USING ARDUINO ARDUIN O UNO BOARD (RANGE 0-200HZ APPROX.) APPROX.)
Presently I'm working on ubuntu 14.04, running proteus under virtualbox windows xp. This is the iruit diagram made in proteus. The omponents omponents used are listed on the le!t side o! the image. "ow lets move to the main portion o! the ode, that is how to program the arduino board to !untion as a #ero ross detetor and measure !re$ueny. !re$ueny. %e %e will use a sinusoidal input signal with &0# !re$ueny or you an hoose anything aording to your wish. (irst o! all, the loop)* heks i! analog input value is #ero, i! it is #ero, it starts a milliseond timer whih ounts milliseonds until the next #ero enountered i.e. hal! time period. +o !re$ueny 1-T h#. /ultiply by 1000 to get !re$ueny in #.
23 )one should be easy with basi oding using 5627I" I23 hek httparduino.
BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB 8 by +5/ 56596T: 3;3T6I5; 3;3T6I5 ; 3", 4 , @, -*F int analogInput G 0F !loat vout G 0.0F !loat vin G 0.0F !loat 61 G 100000.0F resistane o! 61 )100* Bsee textH !loat 6- G 10000.0F resistane o! 6- )10* B see textH !loat value G 0,nvalueG0F int pG0,ountG0,mG1,$G0F void setup)* pin/ode)analogInput, I"P7T*F ld.begin)1&, -*F ld.print)JP565/3T36+J*F K void t)* timer in milliseonds delay)1*F pLLF K void loop)* ountGG0F while)ountGG0*;P 5;7;5T3+ (63M73": value G analog6ead)analogIn analog6ead)analogInput*FpG0F put*FpG0F i!)valueDG0.001* #ero ross detetion t)*F value G analog6ead)analogInput*F analog6ead)analogInput*F while)valueE0.001* value G analog6ead)analogInput*F analog6ead)analogInput*F i!)valueDG0.001* alulates !re$ueny ountG1000)-8p*F breakF K else
t)*F K
K K delay)pN*F $G0FnvalueG0F while)$GG0 whil e)$GG0** ;P ;P 3+ T3 P35 P3 5 =;T5<3 =;T5<3 ( 5 %5=3(6/ value G analog6ead)analogInpu analog6ead)analogInput*Fdelay)1*F t*Fdelay)1*F i!)valueDG0.01* #ero ross detetion delay)1*F !or)nvalueG0Fnva !or)nv alueG0FnvalueDGva lueDGvalueF* lueF* 3+ T3 I<3+T =5;73 ( I"P7T (6 P35 nvalueGvalueFdelay)1*F value G analog6ead)analogInput*F analog6ead)analogInput*F K $G1F breakF K K value G analog6ead)analogInput*F vout G )nvalue 8 >.0* 10-4.0F see text, alulates input voltage vin G vout )6-)61L6-**F 8i! )vinD0.0?* vinG0.0Fstatement to $uash undesired undesired reading H K8 ld.setursor)0, 1*F ld.print)J(GJ*F ld.print)ount*F ld.print)J =GJ*F ld.print)vin*F K