去年申請的gokit2的arduino底板其實就是個完整的arduino板子,其實可以玩很多東西,一直想要個漂亮的示波器,終于找到這個,看下面的網(wǎng)址:
www點instructables點com/id/Oscilloscope-Arduino-Processing/
這個介紹的很詳細,簡單的說就是給板子燒錄程序,然后用A0,A1,A2,A3四個模擬口檢測信號,得到的數(shù)據(jù)通過串口傳給電腦,上位機軟件展示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.