找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6732|回复: 14
打印 上一主题 下一主题
收起左侧

用gokit2的arduino底板做漂亮的4通道示波器和信号发生器

  [复制链接]
跳转到指定楼层
楼主
去年申请的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:
  • - windows 32
  • - windows 64
  • - linux 32

我用小黑板给语音板子发指令,是二线模式,总是不知道问题在哪儿,后来用了这个测试,轻松找到了问题。
gokit2的arduino底板用的是ch340的USB转串口驱动,装好后,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本身自己带的。我找到了,回复可以下载附件,

    解压到arduino 的 librarise目录即可编译成功。对了,gokit2要拔掉扩展板才能烧录底板。







分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 顶 踩
回复

使用道具 举报

沙发
ID:228176 发表于 2017-8-18 08:37 来自手机 | 只看该作者
楼主太好了,一直在找这方面的资料,顶贴下载,助我成功!
回复

使用道具 举报

板凳
ID:87193 发表于 2017-9-27 10:30 | 只看该作者
回复了就可以下载吗,回复看看呢
回复

使用道具 举报

地板
ID:237069 发表于 2017-10-6 22:11 | 只看该作者
回复看看呢
回复

使用道具 举报

5#
ID:89854 发表于 2019-1-13 13:16 | 只看该作者
居然是示波器,看看怎么实现的,谢谢!
回复

使用道具 举报

6#
ID:89854 发表于 2019-1-13 13:17 | 只看该作者
看看,学学!谢谢!
回复

使用道具 举报

7#
ID:465522 发表于 2019-1-19 15:14 | 只看该作者
这个东西不错
回复

使用道具 举报

8#
ID:138707 发表于 2019-2-3 22:28 | 只看该作者
居然是示波器,看看怎么实现的,谢谢!
回复

使用道具 举报

9#
ID:138707 发表于 2019-2-3 22:28 | 只看该作者
这个东西不错
回复

使用道具 举报

10#
ID:278096 发表于 2019-2-17 08:20 | 只看该作者
支持楼主,这个真漂亮
回复

使用道具 举报

11#
ID:342822 发表于 2019-2-17 23:52 | 只看该作者
上位机软件做的很漂亮
回复

使用道具 举报

12#
ID:505558 发表于 2019-4-7 17:04 | 只看该作者
有资料可以下载吗
回复

使用道具 举报

13#
ID:505558 发表于 2019-4-7 17:08 | 只看该作者
可以下载吗
回复

使用道具 举报

14#
ID:542032 发表于 2019-5-20 12:23 | 只看该作者
串口示波器,不错
回复

使用道具 举报

15#
ID:542787 发表于 2019-5-20 14:01 | 只看该作者
很不错,频率多高?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表