help me how to connect a buzzle on bolt iot
Hi, Do you mean buzzer?
If so, follow these steps.
- Connect small pin of buzzer to ground of bolt.
- Power your bolt.
- Select output device as buzzer while configuring your product.
@cknaseefck99 connection of buzzer is as same as LED connection.In your code for buzzer interchange digitalWrite() with analogWrite() for buzzer.
Hi,
For connecting the buzzer, follow the steps:
Step 1: Connect the longer leg of the buzzer to only 1 pin of the following - 0, 1, 2, 3, 4
Suppose you connected it to pin 1 of the Bolt-IoT WiFi Module
Step2: Connect the shorter leg of the buzzer to the ground (gnd) pin of the Bolt-IoT WiFi Module.
Step 3: In the code, use analogWrite('1', 'X')
where X ranges from 0 to 255. This will start the sound of the buzzer and also you change the frequency by changing the value of X.
I hope this solves your doubt.