Skip to content

🟢 Driver library for the STIM300 Inertial Measurement Unit (IMU) from Sensonor.

License

Notifications You must be signed in to change notification settings

smarc-project/stim300

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STIM 300

CI License: MIT

https://www.sensonor.com/products/inertial-measurement-units/stim300/

Run with:

rosrun driver_stim300 stim300_driver_node

or

roslaunch driver_stim300 stim300_driver.launch

see launch file for available parameters.

Communicate with STIM300 over terminal

For testing and configuration during development it can be useful to comunicate with the STIM300 IMU directly over terminal. Here is a simple example for how to that using minicom.

Install minicom:

sudo apt-get install minicom

Look for device:

dmesg | grep tty

Open minicom with setings:

sudo minicom -s

Setup minicom for stim300:

Serial port setup:

A - Serial Device: /dev/ttyUSB0
E - 921600 8N1
F - Disable hardware flow control

Modem and dialing: (Clear option A...I)

A -
* -
* -
* -
I -

Screen and keyboard:

P - Add linefeed

Save setup as dfl then Exit minicom, and enter again in hex display mode:

sudo minicom -H

The stim300 is in normal mode and will reapeatidly send the standard datagram.

Enter service mode: write "SERVICEMODE" and press enter

SERVICEMODE

Clear the screen:

Ctrl-A c

If the incomming datagram feed stopped it means you enter service mode sucsessfully. While in service mode the stim 300 will comunicate with asci characters. Exit minicom and enter in normal ASCI mode:

Ctrl-A x
sudo minicom

Write ? and press enter, and the STIM300 should send info about available commands

?

This will show a list on available commands including how to go back to normal mode. For example:

c

will perform a system check.

About

🟢 Driver library for the STIM300 Inertial Measurement Unit (IMU) from Sensonor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.3%
  • CMake 3.7%
  • Dockerfile 1.0%