Text this: Detection of temperature using fiber bragg grating system