• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

jeroendoggen/Arduino-signal-filtering-library: Arduino library for signal filter ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

jeroendoggen/Arduino-signal-filtering-library

开源软件地址(OpenSource Url):

https://github.com/jeroendoggen/Arduino-signal-filtering-library

开源编程语言(OpenSource Language):

C++ 53.2%

开源软件介绍(OpenSource Introduction):

Arduino Signal Filtering Library

The goals of this project is providing an Arduino library for basic signal filtering. These filters can be used to clean up noisy signals by suppressing small (fast) signal changes while passing bigger (slow) signal changes. This is typically done by suppressing the "higher frequency" fluctuations.

More info:

Available filters:

  • Low pass filters: Chebychev and Bessel (1st and 2nd order)
  • Median filter

Library Usage

  • Download the source
  • Place the Filter folder in your Arduino1.0+ "libraries" folder
  • Open example sketch: "file", "Examples", "SignalFilter", "Bessel" (or any other example)
  • Connect a (noisy) analog sensor to port A0
  • Compile & upload code
  • Original and filtered sensor data should be arriving over the serial port

Changing filters:

This library is partially based on filters that are auto-generated on the filtuino website. Filtuino is a Filter Suite that generates source code for different digital filters (IIR Lowpass, Highpass, Bandpass, Bandstop, IIR Resonanz Filter, Proportional Integral Filter).

Customizing the filters

If you want create your own filter, I suggest you:

  • Use my library as a template (to have some working code to start with)
  • Option 1: Generate the exact filtering code you need on the filtuino website (filter type, ripple, frequencies,...)
  • Option 2: Calculate & simulate your filters
  • Use the 'newFilter.h' & 'newFilter.cpp' templates to create your own filter. (by implementing a new "run()" function and writing a new example)

Contribute a filter

To add your filters to the project:

  • Fork this project on GitHub
  • Follow the procedure to create your own filter
  • Write a short 'readme_myfiltername.md' to describe your filter (place it in the 'Documention' folder)

Similar projects:

Version History:

  • Version 0.3.0: OOP version, better documentation, various cleanup, MIT license,...
  • Version 0.2.0: Median filter
  • Version 0.1.0: Low pass Chebychev and Bessel filters

Roadmap:

  • Version 0.3.1+: More filters (band pass, moving average, Kalman, ...)



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap