找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 8119|回復(fù): 14
收起左側(cè)

用gokit2的arduino底板做漂亮的4通道示波器和信號發(fā)生器

  [復(fù)制鏈接]
ID:137406 發(fā)表于 2017-5-12 16:06 | 顯示全部樓層 |閱讀模式
去年申請的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:
  • - windows 32
  • - windows 64
  • - linux 32

我用小黑板給語音板子發(fā)指令,是二線模式,總是不知道問題在哪兒,后來用了這個測試,輕松找到了問題。
gokit2的arduino底板用的是ch340的USB轉(zhuǎn)串口驅(qū)動,裝好后,arduino選UNO板子,下載程序就好,一個字都不用改。
  • 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.

    程序源碼在這里:https://github.com/rogeriobego/o ... loscope_arduino.ino

    只是有一個問題,這個程序里用了一個庫文件,不是arduino本身自己帶的。我找到了,回復(fù)可以下載附件,

    解壓到arduino 的 librarise目錄即可編譯成功。對了,gokit2要拔掉擴展板才能燒錄底板。


230250tx5y47y8xkhkj7xz.jpg 230251s9hs0a7s075od59e.jpg 230252lgxq99u9xczu7krp.jpg


230252n0w4ry0nd3g4evm5.jpg

回復(fù)

使用道具 舉報

ID:228176 發(fā)表于 2017-8-18 08:37 來自手機 | 顯示全部樓層
樓主太好了,一直在找這方面的資料,頂貼下載,助我成功!
回復(fù)

使用道具 舉報

ID:87193 發(fā)表于 2017-9-27 10:30 | 顯示全部樓層
回復(fù)了就可以下載嗎,回復(fù)看看呢
回復(fù)

使用道具 舉報

ID:237069 發(fā)表于 2017-10-6 22:11 | 顯示全部樓層
回復(fù)看看呢
回復(fù)

使用道具 舉報

ID:89854 發(fā)表于 2019-1-13 13:16 | 顯示全部樓層
居然是示波器,看看怎么實現(xiàn)的,謝謝!
回復(fù)

使用道具 舉報

ID:89854 發(fā)表于 2019-1-13 13:17 | 顯示全部樓層
看看,學學!謝謝!
回復(fù)

使用道具 舉報

ID:465522 發(fā)表于 2019-1-19 15:14 | 顯示全部樓層
這個東西不錯
回復(fù)

使用道具 舉報

ID:138707 發(fā)表于 2019-2-3 22:28 | 顯示全部樓層
居然是示波器,看看怎么實現(xiàn)的,謝謝!
回復(fù)

使用道具 舉報

ID:138707 發(fā)表于 2019-2-3 22:28 | 顯示全部樓層
這個東西不錯
回復(fù)

使用道具 舉報

ID:278096 發(fā)表于 2019-2-17 08:20 | 顯示全部樓層
支持樓主,這個真漂亮
回復(fù)

使用道具 舉報

ID:342822 發(fā)表于 2019-2-17 23:52 | 顯示全部樓層
上位機軟件做的很漂亮
回復(fù)

使用道具 舉報

ID:505558 發(fā)表于 2019-4-7 17:04 | 顯示全部樓層
有資料可以下載嗎
回復(fù)

使用道具 舉報

ID:505558 發(fā)表于 2019-4-7 17:08 | 顯示全部樓層
可以下載嗎
回復(fù)

使用道具 舉報

ID:542032 發(fā)表于 2019-5-20 12:23 | 顯示全部樓層
串口示波器,不錯
回復(fù)

使用道具 舉報

ID:542787 發(fā)表于 2019-5-20 14:01 | 顯示全部樓層
很不錯,頻率多高?
回復(fù)

使用道具 舉報

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

手機版|小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機教程網(wǎng)

快速回復(fù) 返回頂部 返回列表