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

History

Update library default tip

2020-11-20, by MACRUM [Fri, 20 Nov 2020 14:55:48 +0000] rev 9

Update library


Fix return code

2019-02-27, by MACRUM [Wed, 27 Feb 2019 09:13:51 +0000] rev 8

Fix return code


Update library

2019-02-27, by MACRUM [Wed, 27 Feb 2019 06:50:22 +0000] rev 7

Update library


Add BH1749NUC color sensor

2019-02-27, by MACRUM [Wed, 27 Feb 2019 06:48:50 +0000] rev 6

Add BH1749NUC color sensor


Code clean-up

2019-02-27, by MACRUM [Wed, 27 Feb 2019 04:43:57 +0000] rev 5

Code clean-up


remain enable definition only for Heart rate sensor at main.cpp.

2019-02-22, by Ren Boting [Fri, 22 Feb 2019 11:45:06 +0900] rev 4

remain enable definition only for Heart rate sensor at main.cpp.


add enable definition for each sensor at main.cpp.

2019-02-21, by Ren Boting [Thu, 21 Feb 2019 16:55:15 +0900] rev 3

add enable definition for each sensor at main.cpp.


reform and shorten main.cpp.

2019-02-19, by Ren Boting [Tue, 19 Feb 2019 16:08:49 +0900] rev 2

reform and shorten main.cpp.


update 2 libraries.

2019-02-18, by Ren Boting [Mon, 18 Feb 2019 16:46:05 +0900] rev 1

update 2 libraries.


initial commit for Rohm SensorShield-EVK-001 example.

2019-02-18, by Ren Boting [Mon, 18 Feb 2019 15:08:30 +0900] rev 0

initial commit for Rohm SensorShield-EVK-001 example.