Leonardo + Scratch

Scratch 3 is the latest version, it supports more than other versions.

The Leonardo board can be programed to look like an extra keyboard so you can input messages / numbers derived from sensor data to it. You can not do this with the Uno.

Running Scratch 3 on the Raspberry Pi allows access to all the GPIO pins and so you will not need an Arduino.