You can use your smartphone's "various sensors" for Scratch 1.4 (MIT Media Lab).
*** Scratch 2 and 3 are not supported ***
----
This app was developed independently of the MIT Scratch Team, which produces the Scratch programming language and online community. The Scratch name and Scratch cat are trademarks of MIT.
----
You can use the following sensors (if you have)
- Volume (Mic)
- Brightness
- Distance
- Acceleration (tilt)
- Azimuth
- Volume key (slider)
- Pressure
Supports multiple smartphones.
Hot to Use:
https://s4scratch.moyashi-koubou.com/howtouse/
Android 2.2 support ! You can use for re-use of old smartphone.