An example program for Rohm SensorShield-EVK-001 running with Mbed OS 5.

Dependencies:   BM1422AGMV rohm-rpr0521 rohm-sensor-hal rohm-bh1790glc-driver BH1749NUC KX224-1053 BM1383AGLV RegisterWriter

Getting Started with Rohm SensorShield-EVK-001

This example demonstrates how to use the SensorShield-EVK-001 component with multiple sensors. those measured values, which received through a serial connection from a mbed board, are printed out in a terminal software window.

Setup

/media/uploads/edamame22/img_5218.jpg

The SensorShield-EVK-001 is plugged on top of a mbed board and a serial connection should be set up between the mbed board and PC with the following parameters:

  • baud rate: 115200
  • data: 8 bit
  • parity: none
  • stop: 1bit
  • flow control: none

Terminal parameters

/media/uploads/edamame22/serial_port_setup.png /media/uploads/edamame22/terminal_setup.png

Measured Data Output

/media/uploads/edamame22/data_output_2.png

Revision:
1:13c7257c0cd5
Parent:
0:a9aeed8cd62e
Child:
5:f0dac0711070
--- a/rohm-sensor-hal.lib	Mon Feb 18 15:08:30 2019 +0900
+++ b/rohm-sensor-hal.lib	Mon Feb 18 16:46:05 2019 +0900
@@ -1,1 +1,1 @@
-http://os.mbed.com/teams/Rohm/code/rohm-sensor-hal/#f83fa2f3cfab
+http://os.mbed.com/teams/Rohm/code/rohm-sensor-hal/#4d5812bed3fb