what is this number 99 and 100 showing on buzzer ?
@GoogleUser-tk3mb4 жыл бұрын
Good tutorial, but I have a 2 wire buzzer (red and black only). how do I trigger it with the if condition of msg.payload? for example if msg.payload = 0 buzzer is off, and if buzzer = 100 buzzer turns on?
@jensenmiller64103 жыл бұрын
In case anyone stumbles across this and is having issues here's something to try. My 3pin buzzer really didn't like the 5v pin I was using so make sure o use a 3v pin. My buzzer was also inverted so 100 on the inject was off and 0 was loudest. So try making 100 the off position and 0 the on position. Setting the on position to 99 made mine sound like a bomb timer which was pretty neat.