3 Note Piano on Arduino with S-Functions

Use of Arduino Capacitive Sensing Library in Simulink using S-Functions
1.3K Downloads
Updated 13 Nov 2015

View License

The 3-Note Piano makes use of the capacitive sensing library to generate a tone when a sensing plate is touched. A sensing plate, which is a material with insulating properties, is connected to a high value resistor enables the Arduino to sense the electrical capacitance of the human body.
In Simulink, C-code is wrapped in an S-Function.

Cite As

Techsource Technical Team (2024). 3 Note Piano on Arduino with S-Functions (https://www.mathworks.com/matlabcentral/fileexchange/51980-3-note-piano-on-arduino-with-s-functions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Device Drivers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Updated model to show display outputs in External Mode.
Updated documentation to describe use of renc2cpp function.

1.0.0.0

Added photo.