AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Build and ship software

Arduino sensor library builder

Name a sensor MATLAB lacks. Get a custom Arduino library so you can use it from MATLAB.

Arduino sensor library builder is a free AI skill for the job "Build and ship software". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · BSD 2 Clause licence · Made by MathWorks · Level: advanced

Made by MathWorks. See the original on GitHub; we copied it as it is, with its licence.

What it does

A custom library so MATLAB can use a sensor or part it doesn't support out of the box, such as a DHT22, an OLED screen or NeoPixels. Name the part and you get the link between MATLAB and the Arduino code. The skill does two fast checks first. It runs listArduinoLibraries to see if native support exists, and it searches MathWorks contributions on File Exchange for a ready add-on. If either exists, it stops and tells you. If not, it builds a custom add-on that wraps the Arduino C++ library for MATLAB, using the LibraryBase structure and the arduinoioaddons folder. It does not handle plain I2C or SPI, standalone Arduino code or Simulink.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can run MATLAB and reach an Arduino board.

More for Build and ship software

Every build and ship software skill