Chevron pointing left


Can't get Microbit with laser trip wire alarm to work

Viewed 5 times

I'm trying to get this to work, but can't

I've noticed that the light dependent resistor is differently laid out from the one in the tutorial, and have accounted for that accordingly. (i.e. VCC is on the right in the right unit - picture below - as opposed to on the left as per the tutorial)
Is this picture below ACTUALLY the light dependent resistor?  With the black bulb at the top the actual light dependent resistor?
ldr.jpg 106 KB

There are other bits and pieces that are a bit weird.
Step 5 refers to the "buzzer module", but I'm *pretty* sure it's meant to be the light dependent resistor.

Steps 13 & 14 are referring to the sensor value being above 600, but I only ever see it in the ~500 range. BUT, that's possibly because I've set it up wrong?

What I'm trying to find out is... Are the steps in there still accurate for the latest model of things?
Also, I can't figure out how the laser trip wire changes the resistance of the setup. The analog pin read is off of the light dependent resistor, but the laser is connected - as far as I can tell - with a single *write* pin. The only thing that I can think of, is that the laser is meant to be pointed at the light dependent resistor. However, the setup in the diagram does not allow for that at all since the laser won't be pointing at the resistor at all.

So yes, very confused, can't figure out how to get this working. >.<

Any help please? :D 


asked December, 25, 2021
Jonathan Tan

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Thanks for contributing an answer to Little Bird!

  • Please be sure to answer the question. Provide details and share your research!

But avoid:

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience
© 2023 Little Bird Electronics Pty Ltd.
Made with ❤️ in SYD. All prices inc GST. ABN 15 634 521 449. We're 🐥 @lbhq on Twitter.