As an example, [Circuit Valley] has an IKEA Vallhorn motion sensor for a teardown ... case is a small PCB and a Fresnel lens on the inside of the top cover, and a small PCB for the electronics.