Backyard Brains Logo

Neuroscience for Everyone!

+1 (855) GET-SPIKES (855-438-7745)

items ()

MATLAB <3 BYB + Arduino

Why buy, when you can build? Madhu Govindarajan of MathWorks recently used one of our old products to make his very own heart rate detector. The Heart & Brain SpikerShield (recently replaced by our Heart and Brain SpikerBox) was designed to help the user view and record the action potentials of their heart easily, and Madhu has harnessed this basic concept to create his own heart rate detector.

In the demo, Madhu explains how to use the MATLAB and Simulink programs to filter the raw ECG, compute the heart rate value, and display it on a thin-film-transistor LCD screen (very high resolution, with a transistor for each pixel), called a TFT screen. The actual TFT screen is available here, and Madhu’s team used the libraries available as well as their own custom modifications to create a recognizable ECG display. Sounds very BYB, if we do say so ourselves.

MATLAB (matrix laboratory) is a programming language developed by MathWorks used by neuroscientists and engineers alike to do a lot of data analysis. It’s a powerful tool that pairs nicely with open source gear like ours, and there are accessible versions available to young coders for learning and development. This example is a higher-level high school or undergrad experiment, and we are excited to see ways in which we can expand use for the high school level! For more information on using MATLAB in schools, check out this Mathworks webpage.

MathWorker Tom Bryan primarily worked on the signal processing code behind the video, and he had this to say about our work: “BYB will be my go-to for neuroscience hardware from now on, because they are the only reliable company making good products.” Thanks for the high praise, Tom!

We love to hear your stories. If you have done something cool with our gear, drop us a note at to brag about it a little!

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.