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

Da raspibo.
Jump to navigation Jump to search
(Creata pagina con '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 pro...')
 
m
Riga 7: Riga 7:
 
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 [[File: 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 ].
  
  
In order to achieve the sampling speed, uart speed is 1M, samples are retrieved using interrupts and the  
+
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.
 +
 
 +
[[File:oscilloscope.jpg]]
  
 
Enjoy.
 
Enjoy.

Versione delle 11:28, 23 gen 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 15Ksps dual channel or 21Ksps 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 .


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.

Oscilloscope.jpg

Enjoy.