Home Automation controlling led project 3

in module home automation project 3 controlling led

My led is not working i tried both of the leds no one is working now.

When i did this connection first time and write the same code then this project work properly and after sometimes it stop working i don’t know what happens.

I also see some of solution but it didn’t resolve.

so any one please guide me about this.

here is the code i use and i make connection same as shown in figures in the module

code:-

Hi @amitsinghadhikari200,

Please do check the pin where you have inserted the resistor leg correctly and the same pin number to pass as parameter in the digitalWrite() function.

Your Code iis correct just check connection circuit again and pin where you have inserted.

Hi @amitsinghadhikari200

Also check the type you selected while creating product, as you said it worked first time i hope it will be correct. and also check if linking is proper with bolt device or try unlinking and linking it again.

Hi,
Your coding is absolutely correct, check your hardware connection or if the LED got more current the fuse will burst the LED will not work. Try using a new LED
Hope this will help you

I have the same problem too can someone help me?

Hi @muhammedansab484,

To debug this issue send the digitalWrite command to bolt using Bolt Cloud API https://docs.boltiot.com/docs/write-digital-output-1

(Update your API key and device id) and enter the below url in your browser and check if it is working.
https://cloud.boltiot.com/remote/44b2de6b-7e68-40e7-a27f-814b58afe008/digitalWrite?pin=0&state=HIGH&deviceName=BOLT13819450

Also share your code with us.

Do let me know in case you need further assistance.

Please do check the pin where you have inserted the resistor leg correctly and the same pin number to pass as parameter in the digitalWrite() function

yup please check if your api limit is reached …because if your api limit is reached then u cannot access the operation from boltcloud for aroung 5 hours. please check your mail to whether u got api limit caution or not…i think that is the issue …in order to check api limit. go to api page then select digital write function and press build api key then test api key so that it shows whether limit is reached or not

Your code is absolutely correct. I think you have given a wrong connection. Please check analog pin or digital pin and use that keyword in the code.

How does one reach API limit ?

@shivabisht2002 To make sure every user gets a fair share of usage and to keep our systems working in the optimum way possible, Bolt IoT has implemented rate limiting on our API system. You can find the details of allowed API hits on https://docs.boltiot.com/docs/api-access-rules.