kelster101757
Posts: 8
Joined: Fri Mar 24, 2017 11:43 am

Raspberry PI Sense HAT increase acceleration to 100 readings

Fri Mar 24, 2017 11:49 am

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?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4752
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Fri Mar 24, 2017 12:24 pm

In the RTIMULib.ini file, looks for the LSM9DS1 settings. You can set the sample rate and filter parameters in there.

kelster101757
Posts: 8
Joined: Fri Mar 24, 2017 11:43 am

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Fri Mar 24, 2017 1:57 pm

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?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4752
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Fri Mar 24, 2017 2:02 pm

Depends on what it does. If it's calling rtimulib functions, yes.

kelster101757
Posts: 8
Joined: Fri Mar 24, 2017 11:43 am

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Fri Mar 24, 2017 2:40 pm

ok, ill test it out and post back so other people know.

Thanks

kelster101757
Posts: 8
Joined: Fri Mar 24, 2017 11:43 am

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Fri Mar 24, 2017 9:20 pm

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

User avatar
DougieLawson
Posts: 30501
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Raspberry PI Sense HAT increase acceleration to 100 read

Fri Mar 24, 2017 9:39 pm

Use sudo leafpad in an LXTerminal window.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.

EGotfred
Posts: 1
Joined: Fri Oct 13, 2017 4:05 pm

Re: Raspberry PI Sense HAT increase acceleration to 100 readings

Fri Oct 13, 2017 4:15 pm

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

Return to “Astro Pi”

Who is online

Users browsing this forum: No registered users and 1 guest