Differenze tra le versioni di "Lxardoscope+: a dual channel oscilloscope using an Arduino nano + 1 resistor"

Da raspibo.
Jump to navigation Jump to search
m
m
 
(4 versioni intermedie di uno stesso utente non sono mostrate)
Riga 3: Riga 3:
 
This is an evolution of the project [https://sourceforge.net/projects/lxardoscope/ lxardoscope].
 
This is an evolution of the project [https://sourceforge.net/projects/lxardoscope/ lxardoscope].
  
Using the new firmware the sampling rate is 15Ksps dual channel or 21Ksps for a single channel.
+
Using the new firmware the sampling rate is 20Ksps dual channel or 42Ksps for a single channel.
  
 
I have used an Arduino Nano and one 1Kohm resistors between AREF and +5V: A0 and A1 are the signal inputs for the two channels.
 
I have used an Arduino Nano and one 1Kohm resistors between AREF and +5V: A0 and A1 are the signal inputs for the two channels.
  
Here is the code [http://www.cs.unibo.it/~renzo/lxardoscope_0.95.vfast.tgz lxardoscope_0.95.vfast.tgz ].
+
Here is the code [http://www.cs.unibo.it/~renzo/lxardoscope_0.95.vfast.tgz lxardoscope_0.95.vfast.tgz ]. (March 18 2019. A timing bug has been fixed: the time horizontal scale was wrong. If you got the source code before, please download it again).
  
  
Riga 15: Riga 15:
 
1AAAAAAAA 0AAABBBB 0BBBBBBB.
 
1AAAAAAAA 0AAABBBB 0BBBBBBB.
  
[[File:oscilloscope.jpg]]
+
In the picture our oscilloscope is on the right while the singal generator n the left has been presented in the posting:[[Arduino NANO + 19 resistors = A DDS signal generator]]
 +
 
 +
[[File:lxardoscope.jpg]]
 +
 
 +
With the configuration of the picture, this is the output of a sinusoidal wave:
 +
 
 +
[[File:lxardo1.jpg]]
 +
 
 +
It is possible to connect our oscilloscope to the audio out of a soundcard (using a 100nF capacitor and two 10K resistors per LR stereo channel, the schematics is here below). I drew Lissajous curves using audacity (I created sinusoidal signals having suitable frequencies on the two channels).
 +
 
 +
[[File:lxardo2.jpg]]
 +
 
 +
[[File:lxardo3.jpg]]
 +
 
 +
[[File:lxardoc.jpg]]
  
 
Enjoy.
 
Enjoy.

Versione attuale delle 11:44, 18 mar 2019

If you need a very cheap oscilloscope (for low frequencies) that has the look_and_feel of a real oscilloscope, this is the right page for you.

This is an evolution of the project lxardoscope.

Using the new firmware the sampling rate is 20Ksps dual channel or 42Ksps for a single channel.

I have used an Arduino Nano and one 1Kohm resistors between AREF and +5V: A0 and A1 are the signal inputs for the two channels.

Here is the code lxardoscope_0.95.vfast.tgz . (March 18 2019. A timing bug has been fixed: the time horizontal scale was wrong. If you got the source code before, please download it again).


In order to achieve the sampling speed, uart speed is 1M, samples are retrieved using interrupts and data (2 x 10 bits) is encoded in 3 chars. The first bit of each character is for syncronization (1 is the start of a new sample). In the remaining 21 bits if is possible to fit the two samples.

1AAAAAAAA 0AAABBBB 0BBBBBBB.

In the picture our oscilloscope is on the right while the singal generator n the left has been presented in the posting:Arduino NANO + 19 resistors = A DDS signal generator

Lxardoscope.jpg

With the configuration of the picture, this is the output of a sinusoidal wave:

Lxardo1.jpg

It is possible to connect our oscilloscope to the audio out of a soundcard (using a 100nF capacitor and two 10K resistors per LR stereo channel, the schematics is here below). I drew Lissajous curves using audacity (I created sinusoidal signals having suitable frequencies on the two channels).

Lxardo2.jpg

Lxardo3.jpg

Lxardoc.jpg

Enjoy.