Product review (5 stars): Whirlpool refrigerator Ice maker infrared control
I did the diagnostic to determine it was the problem.  Researched on line for part number, then went to the local appliance store.  Their cost was over $100.  Immediately came home and ordered this on Amazon, for less than $30.  It came in two days and took about 10 minutes to install and started working immediately.  That was over a month ago so now can say I am completely satisfied.