Page 1 of 1

Raspberry PI Sense HAT increase acceleration to 100 readings

Posted: Fri Mar 24, 2017 11:49 am
by kelster101757
I have a Raspberry PI sense hat. It only records 10 entries a second for the acceleration. Is there anyway this can be increased to 100?

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Posted: Fri Mar 24, 2017 12:24 pm
by ShiftPlusOne
In the RTIMULib.ini file, looks for the LSM9DS1 settings. You can set the sample rate and filter parameters in there.

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Posted: Fri Mar 24, 2017 1:57 pm
by kelster101757
ShiftPlusOne wrote:In the RTIMULib.ini file, looks for the LSM9DS1 settings. You can set the sample rate and filter parameters in there.
OK brill, I'll be programming the solution in NodeRed. Will that work on that platform too?

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Posted: Fri Mar 24, 2017 2:02 pm
by ShiftPlusOne
Depends on what it does. If it's calling rtimulib functions, yes.

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Posted: Fri Mar 24, 2017 2:40 pm
by kelster101757
ok, ill test it out and post back so other people know.

Thanks

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Posted: Fri Mar 24, 2017 9:20 pm
by kelster101757
I found the file in "/etc" and opened it in leafpad, changed the ini but it says "cant open file to write". Any ideas why?

Thanks

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Posted: Fri Mar 24, 2017 9:39 pm
by DougieLawson
Use sudo leafpad in an LXTerminal window.

Re: Raspberry PI Sense HAT increase acceleration to 100 readings

Posted: Fri Oct 13, 2017 4:15 pm
by EGotfred
question to kelster101757: did you find out if node-red uses the RTIMULib.ini file ?

other question: i expect it to be the Hz that should be changed ti increase the readings to 100 pr. sec.
I am not at all into electronics, so:
- how can it be that it is different for all movement-sensors?
- And what should be the new values