去年申请的gokit2的arduino底板其实就是个完整的arduino板子,其实可以玩很多东西,一直想要个漂亮的示波器,终于找到这个,看下面的网址:
www点instructables点com/id/Oscilloscope-Arduino-Processing/
这个介绍的很详细,简单的说就是给板子烧录程序,然后用A0,A1,A2,A3四个模拟口检测信号,得到的数据通过串口传给电脑,上位机软件展示4路波形,还能量波形。上位机软件做的很漂亮,但不是英文的,自己摸索一下,很简单,有WIN32、64和linux版。可惜没有MAC的。
Download and unzip the Processing program to run on the computer. Choose the correct one below:
You already have the oscilloscope program running and the Arduino connected to the computer by USB port. Now you have to connect to each other by "serial".
In the "Configurar a serial" (Configure the Serial) box, click "Serial" until theCOMwhere the Arduino is connected appears.(if it did not appear, click " * " to update)
Click "off" to switch to "on"
If everything is correct, the oscilloscope will do a first reading showing the noises because the channels A0 (ch-0), A1 (ch-1), A2 (ch-2) and A3 (ch-3) are not connected to any signal.
In the "Amostragem" (Sampling) box, click "varias" (various) so that the reading is continuous.