Programming Strategy vs Memory
probably Original and basic arduino boards hav low memories that can quickly be saturated when the application objectives are too heavy.
1) Use miminmalists variables types.
2) List and evaluate in advance global variable size. Initialise them when you can
3) List and evaluate in advance dynamic variable and max size
4) Build Step by step and check memory consumption after uploading.
Issues may occure before you seemed to reach the memory limits.
If there is a bug or if the microcontroller stops with no error message, this means there is a memory issue
Case of a MIDI-based Controller Array of 96 Inputs
Source: MIDI-Based Controller Array for All – Arduno
Hardware:
– Arduino Nano (others work also)
– 1 custom Array of 12×8 Paper-Force-Sensor from PapierLogik Kits
– 8 Resistors 10-50kOhms
Inputs:
Array of 12 digital x 8 Analog plugged to reespectively 12 digital pins and 8 analog pins.
Each of the 8 analof pins is also connected to ground through one of the the 8 resistors.
Fairly simple
Application Example on Windows
TO DO
Application example on Android
TO DO WITH OTG