Here is my python code.
mybolt.Bolt(api,id)
mybolt.serialBegin(‘9600’)
mybolt.serialWrite(‘RD/r’)
response=mybolt.serialRead(‘10’)
while(1):
response=mybolt.serialRead(‘10’)
print(response)
time.sleep(6)
Any help will be appreciated.
mybolt.Bolt(api,id)
mybolt.serialBegin(‘9600’)
mybolt.serialWrite(‘RD/r’)
response=mybolt.serialRead(‘10’)
while(1):
response=mybolt.serialRead(‘10’)
print(response)
time.sleep(6)
Any help will be appreciated.
try using #include <SoftwareSerial.h> and connect to arduino
i have done a project using #include <SoftwareSerial.h> and i could connect the arduino and boltiot device.
you can see my project code here https://www.hackster.io/saipavan4/intruder-alert-system-12df59
you can also refer to the detailed video to connect bolt and arduino using software serial
https://www.youtube.com/watch?v=HeU6bjzyXhs