Andurist AC lugemine
#71
100 oomiga graafik manuses.

Kood:

for (int i=0;i<10001;i++)
{
andurisisend=analogRead(5);
sisendipunkt=andurisisend;
sisendiruut=sisendipunkt * sisendipunkt;
ruutudesumma= sisendiruut + ruutudesumma;
delayMicroseconds(66);
}
delay(1);
parissumma=ruutudesumma-sisendiruut;
juurikas=sqrt(parissumma);
juursada_A5=juurikas/100;

For-is on 66us delay selleks, et kogutsükkel võtabki siis aega 2 sekundit.

Graafiku punktid ongi juursada_A5.

15A ja 30A vahel hetkel punkte ei saanud mahti tekitada, aga veidike kõverik ta ikkagi tuleb... Samas, kuni 15ni on erinevus mõõdetu ja koefiga vahel alla ampri... mingi paarisaja vatine nägemine/mittenägemine... pole paha Smile
Kui rohkem punkte võtta, ja koefitsendiks ikkagi mingi valemiline osa panna, peaks see ju ära siluma.
Ja Madis, sa nägid ebalineaarsuse graafikul silmaga ära või panid joonlaua joonele peale, et näha Smile
Täitsa uskumatu, esimese hooga ju täitsa sirge joon, aga pärast... polegi.


Manustatud failid Pisipilt (pisipildid)
   
Vasta


Sõnumeid selles teemas
Andurist AC lugemine - Autor: W@ldur - 18-02-2013, 10:40 PM
RE: Andurist AC lugemine - Autor: madis - 18-02-2013, 11:49 PM
RE: Andurist AC lugemine - Autor: W@ldur - 19-02-2013, 12:12 AM
RE: Andurist AC lugemine - Autor: madis - 19-02-2013, 05:40 PM
RE: Andurist AC lugemine - Autor: W@ldur - 19-02-2013, 09:18 PM
RE: Andurist AC lugemine - Autor: martinr112 - 20-02-2013, 01:22 AM
RE: Andurist AC lugemine - Autor: W@ldur - 20-02-2013, 09:01 AM
RE: Andurist AC lugemine - Autor: madis - 20-02-2013, 10:49 AM
RE: Andurist AC lugemine - Autor: W@ldur - 20-02-2013, 12:06 PM
RE: Andurist AC lugemine - Autor: redart - 20-02-2013, 02:08 PM
RE: Andurist AC lugemine - Autor: martinr112 - 20-02-2013, 11:24 PM
RE: Andurist AC lugemine - Autor: madis - 20-02-2013, 11:28 PM
RE: Andurist AC lugemine - Autor: A.R. - 21-02-2013, 10:14 AM
RE: Andurist AC lugemine - Autor: W@ldur - 23-02-2013, 02:17 PM
RE: Andurist AC lugemine - Autor: A.R. - 23-02-2013, 03:35 PM
RE: Andurist AC lugemine - Autor: W@ldur - 23-02-2013, 03:40 PM
RE: Andurist AC lugemine - Autor: felch - 24-02-2013, 09:16 PM
RE: Andurist AC lugemine - Autor: A.R. - 25-02-2013, 09:45 AM
RE: Andurist AC lugemine - Autor: W@ldur - 25-02-2013, 12:34 PM
RE: Andurist AC lugemine - Autor: A.R. - 25-02-2013, 02:45 PM
RE: Andurist AC lugemine - Autor: W@ldur - 25-02-2013, 03:08 PM
RE: Andurist AC lugemine - Autor: andrei - 25-02-2013, 06:54 PM
RE: Andurist AC lugemine - Autor: A.R. - 25-02-2013, 06:07 PM
RE: Andurist AC lugemine - Autor: W@ldur - 25-02-2013, 07:23 PM
RE: Andurist AC lugemine - Autor: raivo - 25-02-2013, 09:13 PM
RE: Andurist AC lugemine - Autor: andrei - 25-02-2013, 09:48 PM
RE: Andurist AC lugemine - Autor: A.R. - 25-02-2013, 09:01 PM
RE: Andurist AC lugemine - Autor: W@ldur - 25-02-2013, 09:07 PM
RE: Andurist AC lugemine - Autor: W@ldur - 25-02-2013, 09:53 PM
RE: Andurist AC lugemine - Autor: andrei - 25-02-2013, 10:10 PM
RE: Andurist AC lugemine - Autor: W@ldur - 25-02-2013, 10:18 PM
RE: Andurist AC lugemine - Autor: raivo - 25-02-2013, 10:32 PM
RE: Andurist AC lugemine - Autor: W@ldur - 25-02-2013, 10:39 PM
RE: Andurist AC lugemine - Autor: andrei - 25-02-2013, 11:13 PM
RE: Andurist AC lugemine - Autor: W@ldur - 25-02-2013, 11:21 PM
RE: Andurist AC lugemine - Autor: madis - 26-02-2013, 12:28 AM
RE: Andurist AC lugemine - Autor: W@ldur - 26-02-2013, 12:49 AM
RE: Andurist AC lugemine - Autor: andrei - 26-02-2013, 01:33 AM
RE: Andurist AC lugemine - Autor: felch - 26-02-2013, 08:52 AM
RE: Andurist AC lugemine - Autor: A.R. - 26-02-2013, 11:09 AM
RE: Andurist AC lugemine - Autor: felch - 06-03-2013, 08:45 AM
RE: Andurist AC lugemine - Autor: A.R. - 06-03-2013, 01:02 PM
RE: Andurist AC lugemine - Autor: felch - 06-03-2013, 05:14 PM
RE: Andurist AC lugemine - Autor: A.R. - 06-03-2013, 06:51 PM
RE: Andurist AC lugemine - Autor: felch - 06-03-2013, 10:47 PM
RE: Andurist AC lugemine - Autor: W@ldur - 24-11-2013, 10:34 PM
RE: Andurist AC lugemine - Autor: martinr112 - 25-11-2013, 03:31 AM
RE: Andurist AC lugemine - Autor: W@ldur - 25-11-2013, 10:39 AM
RE: Andurist AC lugemine - Autor: martinr112 - 25-11-2013, 09:20 PM
RE: Andurist AC lugemine - Autor: madis - 26-11-2013, 12:41 AM
RE: Andurist AC lugemine - Autor: W@ldur - 08-01-2014, 12:03 PM
RE: Andurist AC lugemine - Autor: A.R. - 08-01-2014, 01:34 PM
RE: Andurist AC lugemine - Autor: W@ldur - 08-01-2014, 01:43 PM
RE: Andurist AC lugemine - Autor: A.R. - 08-01-2014, 02:38 PM
RE: Andurist AC lugemine - Autor: W@ldur - 08-01-2014, 03:21 PM
RE: Andurist AC lugemine - Autor: A.R. - 08-01-2014, 04:12 PM
RE: Andurist AC lugemine - Autor: madis - 08-01-2014, 05:39 PM
RE: Andurist AC lugemine - Autor: W@ldur - 08-01-2014, 08:20 PM
RE: Andurist AC lugemine - Autor: W@ldur - 09-01-2014, 11:04 AM
RE: Andurist AC lugemine - Autor: madis - 09-01-2014, 01:01 PM
RE: Andurist AC lugemine - Autor: W@ldur - 09-01-2014, 01:10 PM
RE: Andurist AC lugemine - Autor: A.R. - 09-01-2014, 02:32 PM
RE: Andurist AC lugemine - Autor: W@ldur - 09-01-2014, 02:43 PM
RE: Andurist AC lugemine - Autor: A.R. - 09-01-2014, 03:30 PM
RE: Andurist AC lugemine - Autor: madis - 09-01-2014, 05:30 PM
RE: Andurist AC lugemine - Autor: W@ldur - 09-01-2014, 05:40 PM
RE: Andurist AC lugemine - Autor: A.R. - 09-01-2014, 06:10 PM
RE: Andurist AC lugemine - Autor: madis - 09-01-2014, 08:01 PM
RE: Andurist AC lugemine - Autor: W@ldur - 09-01-2014, 09:09 PM
RE: Andurist AC lugemine - Autor: madis - 09-01-2014, 09:42 PM
RE: Andurist AC lugemine - Autor: W@ldur - 09-01-2014, 10:40 PM
RE: Andurist AC lugemine - Autor: madis - 09-01-2014, 11:24 PM
RE: Andurist AC lugemine - Autor: W@ldur - 10-01-2014, 12:00 AM
RE: Andurist AC lugemine - Autor: martinr112 - 10-01-2014, 01:56 AM
RE: Andurist AC lugemine - Autor: W@ldur - 10-01-2014, 10:37 AM
RE: Andurist AC lugemine - Autor: W@ldur - 13-01-2014, 12:31 PM
RE: Andurist AC lugemine - Autor: A.R. - 14-01-2014, 01:32 PM
RE: Andurist AC lugemine - Autor: A.R. - 21-01-2014, 10:15 AM

Alamfoorumi hüpe:


Kasutaja, kes vaatavad seda teemat: 11 külali(st)ne