This system is equipped with a Light Dependent Resistor (LDR) which works as the input for the device. LDR calculates the luminous energy, incidents on the sensor at a given point of time. For the given system if LDR returns a low value it would indicate dark, and as the output, the LED will be set to "ON"(i.e high mode) with a Twilio SMS update and if it returns a higher value then it would set the LED to "OFF" (i.e low mode)
CIRCUIT CONNECTIONS:- Step 1: Insert one lead of the LDR into the Bolt Module's 3v3 Pin.
- Step 2: Insert other lead of the LDR into the A0 pin
- Step 3: Insert one leg of the 10k Ohm resistor into the GND pin
- Step 4: Insert the other leg of the resistor also into the A0 pin
- Step 5: Take one leg of the resistor and wrap it around the longer leg of the LED i.e positive leg
- Step 6: Insert the negative leg of the LED into the ground pin of the Bolt.
- Step 7: Insert the other leg of the resistor in the digital pin 0 of the Bolt.
- Step 1: Open https://www.twilio.com/ in a browser.
- Step 2: Click on Get an API Key button to sign up.
- Step 3: Fill all the necessary details in the SIGN-UP form.
- Step 4: Verify they will ask for your phone number. Choose India as an option in the dropdown and then enter your phone number.
- Step 5: Click on "Products"
- Step 6: Now enable the SMS services by clicking on two checkboxes for Programmable SMS and Phone Numbers
- Once you have done this, scroll to the bottom of the screen and click on "Continue".
- Step 7: Now, you will need to give a name for your project. I have given the name as My Project. Click on "Continue" once you have entered the project name.
- Step 8: Your project should be created at this point. Click on "Project Info" to view the account credentials which are required for your projects.
- Step 9: You can view the Account SID and Auth Token on this page. The auth token is not visible by default, you can click on the"view" button to make the Auth token visible as shown below. Copy both and save them somewhere securely.
- Step 10: From the drop-down menu, choose "Programmable SMS". Now click on the Get Started button to generate a phone number
- Step 11: Click on Get a number button
- Step 12: Then a popup will appear. Click on Choose this number button
- Step 13: Then a popup will appear which will have the final number. Copy this number and save to notepad for future references
- That's it. You have successfully created the account on Twilio.
Comments