Arduino for this? Or something else?

This + arduino nano clone from ebay costs less than a raspberry pi.