A remote control receiver with many functions based on cheap hardware