Increasing sampling frequency locally

Hi This is Oli. I would like to increase the sampling frequency up to 1Hz to log the values into the csv files in RaspberryPi. Will it be possible by revising code in interfacers?

That shouldn’t be necessary. But you will have to alter the sketch at the source of the data. It is likely to be called “TIME_BETWEEN_READINGS” - or a name like that.

That is for internal analysis. I already changed it in Atmega328. I
understand it goes through ttyAMA0 and can see the data from there. (e.g
000 010 400 …) Could you let me know what are those contents? Is it the
current value?

The sketch in the '328 tells you exactly what the numbers represent.