05-14-2017 12:54 AM
I am in the process of building a synthesizer using Arduino Uno and LINX. I am generating a square wave using "Digital Write Square Wave" (25Hz-6kHz) and I can see a nice wave on an oscilloscope. After manipulation via hardware filters, op-amps etc. I want to read back the manipulated wave to see how it's changed. I have been reading from AI0 through LINX but I cannot see the wave, just a "high" voltage reading.
Is there any way to read these waves using LINX, etc. or is this a limitation of serial comms and I should just use a 'scope? I have thought about using the internal memory of the Arduino to read the wave then pass it to Labview but I have no idea how to do that or if it would work.
05-15-2017 04:51 PM
Hi danto,
I have very limited experience with LINX, but hopefully I can offer you some resources to assist you in troubleshooting. Firstly, have you also posted this questions to the LabVIEW MakerHub forums? You will probably get a few more responses there. Secondly, have you tested the manipulated output with a scope, too? It's unclear from your post whether you have actually tried that or not, and I just want to make sure. Also, have you had any success in measuring analog input in any other application? Try this tutorial and also refer to the LINX - Analog Read 1 Channel.vi example found in <LabVIEW>\examples\MakerHub\LINX.
05-15-2017 05:11 PM
@danto wrote:
I want to read back the manipulated wave to see how it's changed. I have been reading from AI0 through LINX but I cannot see the wave, just a "high" voltage reading.
Is there any way to read these waves using LINX, etc. or is this a limitation of serial comms and I should just use a 'scope?
Um... No, an Arduino is NOT a high speed DAQ, just use a scope.
05-16-2017 02:43 AM
Hi,
Arduino can read with in the frequency of 10 KHz. So for your requirement it is enough. Can you upload your program to understand better about your idea and rectify your problem.
05-16-2017 02:47 AM
Thank you, I had a look through those tutorials but it still seems that the biggest issue here is serial comms through LINX. I will have to look for some other soution.