androidsensorsapp-inventorinfrared

How can we use IR sensor in MIT App Inventor


We can use in MIT App Inventor 2 these sensors:

MIT AI2 Sensors

Can we use another sensor e.g. IR Sensor or Step Sensor?

And if we can, how can we do it?

Which component should we use to access other sensors?


Solution

  • There is no IR component available in MIT App Inventor, but you can create your own App Inventor Extension.

    More information about how to create an extension see here, however that will be more advanced and will require some Java skills...

    As an example, see my Barometer Sensor Extension.