Items with no label
3335 Discussions

How to use gps and new sensors in Euclid: compass, barometer, altimeter, humidity, etc

SIlie
Novice
1,393 Views

Euclid is stacked with every possible sensor, which is really exciting. However I could not find documents and examples how to use GPS, digital compass, barometer, altimeter, humidity, temperature, ambient light and proximity sensors. Is there support coming for these in next few months?

Euclid comes pre-installed with Ubuntu and ROS. I'm looking for ways to install everything myself. Did Intel make changes in Ubuntu? I would appreciate a guide how to install the OS in Euclid. Preferably I would use Debian with librealsense and whatever drivers I need to read all sensors (don't need ROS).

1 Solution
Amit_M_Intel
Employee
426 Views

Hi,

We will add better support for the sensors. For now you can use the following commands to access them:

1. ISH sensor:

sensorhub_client -c list

will list the available sensors.

You can run the following to get more info.

sensorhub_client --help

some are:

  1. ISH Accelerometer:sudo sensorhub_client -c active -H1
  2. ISH Magnetic Field Sensor:sudo sensorhub_client -c active -H2
  3. ISH Gyroscope Sensor:sudo sensorhub_client -c active -H3
  4. ISH Ambient Light Sensor:sudo sensorhub_client -c active -H6
  5. ISH closure Sensor:sudo sensorhub_client -c active -H7
  6. ISH Pressure Sensor:sudo sensorhub_client -c active -H8
  7. ISH Relative_humidity Sensor:sudo sensorhub_client -c active -H9
  8. ISH Temperature Sensor:sudo sensorhub_client -c active -H10
2. GPS:
  • sudo /etc/init.d/cg2100_control.sh start
  • in another terminal, to get the satellite data:sudo gnssStelp NAF LBSSTARTPF 0 15 1000 1000

(In open sky it will take up to a minute to get the position fixed)

View solution in original post

4 Replies
MartyG
Honored Contributor III
426 Views

I could not find any information on a manual OS install for Euclid or using the sensors. However, I would speculate that the process for creating your own Debian installation on Euclid would be similar to other mini-board computing devices:

(1) Create a 'boot stick' - a USB flash storage drive with Debian installed on it.

(2) Boot up the Euclid with the boot stick inserted into the USB 3.0 port to boot to Debian.

https://www.debian.org/releases/stable/i386/ch04s03.html.en https://www.debian.org/releases/stable/i386/ch04s03.html.en

I would guess that once you have been able to boot into Debian via the stick then you would have access to the Euclid's 32 gb of eMMC storage and could format it and manually install your own software. This is purely speculation though, since I do not have a Euclid to test it with in practice.

0 Kudos
Amit_M_Intel
Employee
427 Views

Hi,

We will add better support for the sensors. For now you can use the following commands to access them:

1. ISH sensor:

sensorhub_client -c list

will list the available sensors.

You can run the following to get more info.

sensorhub_client --help

some are:

  1. ISH Accelerometer:sudo sensorhub_client -c active -H1
  2. ISH Magnetic Field Sensor:sudo sensorhub_client -c active -H2
  3. ISH Gyroscope Sensor:sudo sensorhub_client -c active -H3
  4. ISH Ambient Light Sensor:sudo sensorhub_client -c active -H6
  5. ISH closure Sensor:sudo sensorhub_client -c active -H7
  6. ISH Pressure Sensor:sudo sensorhub_client -c active -H8
  7. ISH Relative_humidity Sensor:sudo sensorhub_client -c active -H9
  8. ISH Temperature Sensor:sudo sensorhub_client -c active -H10
2. GPS:
  • sudo /etc/init.d/cg2100_control.sh start
  • in another terminal, to get the satellite data:sudo gnssStelp NAF LBSSTARTPF 0 15 1000 1000

(In open sky it will take up to a minute to get the position fixed)

mrasm2
Beginner
426 Views

How do we read /get a CB for the 2 buttons on top?

0 Kudos
Reply