-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sampling with two channels #21
Comments
Hi, thanks for reporting. I will check it on my side. But first I must ask:
|
Hi, I used the latest release of rp2daq. I used the 'example_ADC_async.py' code. There are some difference between the values of the signal but the shape is the same, the mean value is almost the same and the peak frequency is precisely the same. Here the graphs and the post processing done by Matlab. Thanks a lot for your avaliability. |
The peak Frequency of the signal is 190Hz, the frequency of the wave generated on the GP2. The Function Generator produced a wave of 20Hz. The GPIO 26 is connected with GP2, the GPIO27 is connected with the FG. |
Puzzling indeed. But what you show is some 20mV pk-pk signal atop of some 80mV background - this is fairly weak. What we see may even be some voltage noise picked by disconnected high-impedance pins. What do you get when you connect e.g. 1 V DC signal to one of the pins? |
It seems that the code detects only one frequency from the two channel, printing one of them for both, casually. May it be a hardware problem? I tried with different jumpers. |
I am very busy now, but I will try to replicate & fix it until Friday. Thanks for understanding. |
Thank you a lot, for your avaliability. |
Hi, so I confirmed |
I tried to sample two different signals with two channels (GPIO26, GPIO27) using example_ADC_async.py. One of them was linked to a Function Generator and the other was linked with a Jumper to GP2. Processing the two signals it came out they are the same signal and, doing the FFT, it shows they have same peak frequency. I didn't modify any line of the code. Is there something I have to add? How can i record two different signals precisely?
The text was updated successfully, but these errors were encountered: