收藏官网首页
查看: 19930|回复: 19

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

8

主题

35

帖子

505

积分

高级会员

Rank: 4

积分
505
跳转到指定楼层
楼主
发表于 2017-5-10 23:26:50 | 显示全部楼层 |只看大图 回帖奖励 |倒序浏览 |阅读模式
教您5分钟接入机智云,实现傻瓜式开发
去年申请的gokit2的arduino底板其实就是个完整的arduino板子,其实可以玩很多东西,一直想要个漂亮的示波器,终于找到这个,看下面的网址:
http://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:
我用小黑板给语音板子发指令,是二线模式,总是不知道问题在哪儿,后来用了这个测试,轻松找到了问题。
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 theCOM where 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要拔掉扩展板才能烧录底板。
  • 游客,如果您要查看本帖隐藏内容请回复





8

主题

35

帖子

505

积分

高级会员

Rank: 4

积分
505
沙发
 楼主| 发表于 2017-5-10 23:33:28 | 显示全部楼层
版主要是觉得好,再送俺一块gokit3吧。。。

8

主题

35

帖子

505

积分

高级会员

Rank: 4

积分
505
板凳
 楼主| 发表于 2017-5-15 14:39:15 | 显示全部楼层
admin 发表于 2017-5-12 10:01
大写的服   

话说Gokit2和Gokit3的底板是通用的。

我就不只要底板了。。。

8

主题

35

帖子

505

积分

高级会员

Rank: 4

积分
505
地板
 楼主| 发表于 2017-5-16 23:41:02 | 显示全部楼层
peter58 发表于 2017-5-15 19:51
开上位机一直叫更新JAVA更新了从启电脑,点上位机软件还是叫你下载JAVA不知道哪里不对 ...

我在XP机器上没搞成,64位的win7没问题

8

主题

35

帖子

505

积分

高级会员

Rank: 4

积分
505
5#
 楼主| 发表于 2017-12-4 18:22:23 | 显示全部楼层
注册成为机智云开发者,手机加虚拟设备快速开发
PiaoR 发表于 2017-11-16 16:21
已申请Gokit3继续读帖等待电话,看了题主的帖子,以后焊板子有示波器用了 ...

嗯嗯,就是实用
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

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