Shin

About

Username
Shin
Joined
Visits
42
Last Active
Roles
Member

Comments

  • FYI, I uploaded the video. https://streamable.com/t6hv6
  • Hi Eric, Thank you for your attention. @Eric said: What do you mean by "is has not worked"? Provide more details. Though I tap "start sampling" toggle button first, sampling and graphing do not start. The curious thing is that, …
  • This is the code I make nesting. @Override protected void setup() { gpio.pin(gpioPin).analogAbsRef().addRouteAsync(source -> source.stream((data, env) -> { final Float voltage = data.value(Float.class); …
  • Thank you, Eric. I suspect the time axis is not defined by smartphone's internal clock, but the minimum sampling time (0.033 s in this case) and the number of sampling. Possibly, the number of measurements could be slipped into the calculation ?
  • Sorry, I made three successive measurements above.
  • In the second question, I see ADC values are the value converted from input voltage to some digitized value. I guess the relation between ADC and AbsoluteReference below. ADC=(AbsoluteReference)/(Battery voltage)*1023 If the battery voltage is 2.8…
  • I did four successive meas. for 10 sec duration. The numbers of samples are, 1st: 310, 2nd: 598, 3rd: 902. I noticed some data are duplicated in 2nd and 3rd meas. In 1st meas., there is no duplication. In 2nd meas., data are doubly duplicated and …
  • The time values in 2nd meas. exactly match those in 1st meas. But the actual sampling in 2nd meas. was much faster. The gpio values are same in both measurement, but the values are smaller than the real amplitude of sinusoidal wave (0.5 Vp-p). This …
  • No, the time values in the second measurement CSV are incorrect. Time axis in the graph corresponds to the CSV file, so I think the graphical code is no problem. There would be some bug in the code regarding to sampling signals.
  • Hi Eric, I upload screenshots and CSV file images in this site because I cannot attach the image here. http://firestorage.jp/photo/379c067e694bd589b101d96a31c48adcebd9ac16  I measured 1 Hz sine wave with 0.5 V amplitude in both measurements.