最好还是用光强度传感器定位,比如用BH1750可以感知光强度,只要光强度高的地方可视为有光源
请参考http://www.viewtool.com/bbs/forum.php?mod=viewthread&tid=940