If you want an off-the-shelf device that does this they are available at a reasonable price.
Building one for yourself might cost more in parts. If you want to mass produce these the design will need to be skillfully engineered and this is something a consulting company can do.