Can't send analog data via UART

These are my arduino code for UART communication. Here i have set a delay of 1 sec and in my python code i am using a delay of 6 sec. So the sensor values are getting accumulated and it gives output as 36.736.72… etc and even on Bolt ide value is showing NaN. But if i use boltiot.processPushDataCommand(cel) the bolt iot ide gets the perfect value but in python the no value is transmitted.
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.

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