Reading Analogue Voltage signal using Arduino Due


hey everybody,

i'm using arduino due microcontroller frequency (clock rate) = 84 mhz
and i'm trying read voltage signal through normal socket (power frequency) = 50 hz through step down transformer ..
and need take 260 sample signals voltage sine wave .. !
so how manage frequency of microcontroller perform such task .. !

thanks lot .. :)

you don't manage frequency of micro, manage frequency of readings.  did figure of 260 come , on period need take readings ?  give interval between readings can used in program.
code: [select]
set start time using millis() or micros() appropriate
start of loop
  if - start time >= reading interval
    take reading
    reset start time
  end if
end of loop
 

look @ blinkwithoutdelay example program see example of using technique.


Arduino Forum > Using Arduino > Programming Questions > Reading Analogue Voltage signal using Arduino Due


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62