A home-based functional electrical stimulation system for upper-limb stroke rehabilitation