Author Topic: Light Sensor Demo  (Read 195 times)


  • Full Member
  • ***
  • Posts: 104
    • View Profile
Light Sensor Demo
« on: January 03, 2018, 12:56:40 pm »
While following the light sensor demo, I keep getting a lot of false readings. For example, I place the mcModule120 in a closed drawer in complete darkness. It works fine for a few hours then every 30 minutes of so I get messages that the light sensor was triggered even through the drawer was never exposed to light. I noticed the same behavior on the reed switch. Any suggestions as to why? Any suggestions on how to resolve this?

Share on Facebook Share on Twitter


  • Global Moderator
  • Newbie
  • *****
  • Posts: 27
    • View Profile
Re: Light Sensor Demo
« Reply #1 on: January 03, 2018, 02:13:13 pm »
Post the code and we can take a look. What is the state of the battery? Is it a fresh battery or has it been in use for some time?