0

I am working with sensors on Arduino and would like to filter the sensor's output to a certain band of frequencies.

I found many examples online on how to implement simple digital low-pass filters in Arduino code, but not for band pass filters.

Is it even possible to achieve this in the scope of an Arduino program? If anyone can share some tutorial for this, that would be much appreciated.

dda
1,5951 gold badge12 silver badges17 bronze badges
asked Jan 10, 2017 at 23:05
2

1 Answer 1

1

A band pass filter simply means that it a filter between a certain interval of frequencies thus it can be made from a high pass filter and a low pass filter

e.g. this fact is mentioned here http://www.electronics-tutorials.ws/filter/filter_4.html

as well as lots of other web pages which a search by you can find. So yes a band pass filter can be implemented on arduino if you can implement the corresponding high pass and low pass filter too.

answered Jan 11, 2017 at 0:48
5
  • 1
    The link you posted leads to analog filters where i specifically asked about ones implemented within the Arduino code, im afraid it is not relevant. if i were to somehow implement both a low pass and a high pass filter separately in an arduino program, ill just lose both my high and low frequencies as they will both get filtered out. Commented Jan 11, 2017 at 1:09
  • Its easy enough to find the defintion of a band pass filter by a simple search which you can do Commented Jan 11, 2017 at 1:55
  • for a more relevant link Commented Jan 11, 2017 at 1:55
  • Sounds like you need to use two arduino (or at least two different signal filter circuits) to make a band pass filter Commented Jan 11, 2017 at 1:56
  • 1
    you implmented a low pass filter, you merely have to implment a high pass filter then combine the two to get a band pass filter. Commented Jan 11, 2017 at 2:01

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.