1/4
© 2018 ROHM Co., Ltd.
No. 61UG002 E Rev.001
E Rev.001
Apr.2018
User’s Guide
Sensor Evaluation Kit
SensorShield-EVK-003 Manual
SensorShield-EVK-003 is a Kit, which are included the 8 kinds of Sensor and Shield-EVK-001 which connects Arduino and ROHM Sensor Boards.
Shield-EVK-001 will be referred to asSensorShieldon this manual.
Board Information
Table 1. Sensor lineup
SensorShield Detail
Connection Board between Arduino and ROHM Sensor
Board (Figure 1)
Size: 88mm x 63mm
Five I2C Sensors, One I/O Sensor and Two Analog
Sensors can be controlled
5V-3.0/1.8V Level Shifter
GPIO : FAIRCHILD FXMA108
I2C : NXP PCA9306
I2C pull-up register is implemented
Figure 1. SensorShield
Preparation
Arduino Uno 1pc
Personal Computer installed Arduino IDE 1pc
Requirement : Arduino 1.6.7 or higher
Please use Arduino IDE which can be
downloaded from the link below:
http://www.arduino.cc/
USB cable for connecting Arduino and PC 1pc
SensorShield-EVK-003 1pc
Setting for Board and Software
The following explanation is about a connection method of
BM1422AGMV-EVK-001 which is I2C connection sensor.
1. Connect the SensorShield to the Arduino (Figure 2)
Figure 2. Connection between the Arduino and the
SensorShield
2. Connect BM1422AGMV-EVK-001 to the socket of I2C_1
on the SensorShield (Figure 3)
2/4
User’s Guide
SensorShield-EVK-003 Manual
© 2018 ROHM Co., Ltd.
No. 61UG002 E Rev.001
E Rev.001
Apr.2018
3. Set Voltage of the SensorShield to 1.8V or 3.0V (Figure 3)
4. Set Interrupt of the SensorShield to INTR1 (Figure 3)
Figure 3. Connection between BM1422AGMV-EVK-001 and
the SensorShield
5. Connect the Arduino to the PC using a USB cable
6. Download BM1422AGMV.zip from the link below:
http://www.rohm.com/web/global/sensor-shield-support
7. Launch Arduino IDE
8. Select [Sketch]->[Include Library]->[Add.ZIP library...],
install BM1422AGMV.zip
9. Select [File]->[Examples]->[BM1422AGMV]->[example]-
>[BM1422AGMV]
Measurement
1. Select [Tools] and check the contents enclosed in the red
frame. (Figure 4) Board should be Arduino/Genuino Uno
and Port should be COMxx (Arduino/Genuino Uno). COM
port number is different in each environment.
Figure 4. COM Port setting
2. Write the program by pressing right arrow button for
upload (Figure 5)
3. Wait for the message Done uploading (Figure 5)
Figure 5. Uploading
4. Select [Tools]->[Serial Monitor] (Figure 6)
Figure 6. Tools Setting
5. Check log of Serial Monitor (Figure 7)
Figure 7. Serial Monitor
3/4
User’s Guide
SensorShield-EVK-003 Manual
© 2018 ROHM Co., Ltd.
No. 61UG002 E Rev.001
E Rev.001
Apr.2018
Three kinds of connection method
The following explanation is about three kinds of connection
methods of I2C Sensor, I/O Sensor and Analog Sensor.
1. I2C Sensor (Example: KX224-I2C)
[Setting for Program]
Select [File]->[Examples]->[KX224-I2C]->[example]->[KX224-
I2C]
Check log of Serial Monitor according to measurement method
[Measurement]
Get the data of each X, Y, Z axis of KX224-I2C every 500ms
and display it.(Figure 8)
Figure 8. Serial Monitor (KX224-I2C)
2. I/O Sensor (Example: BD7411G)
[Setting for Program]
Select [File]->[Examples]->[BD7411G]->[example]->[BD7411G]
Check log of Serial Monitor according to measurement method
[Measurement]
Check the output of BD7411G every 500ms, and when the
output is low, display a message (Figure 9)
*Notice : When a program of BD7411G is written, please
remove BD7411G-EVK-001.
Figure 9. Serial Monitor (BD7411G)
3. Analog Sensor (Example: BD1020HFV)
[Setting for Program]
Select [File]->[Examples]->[BD1020HFV]->[example]-
>[BD1020HFV]
Check log of Serial Monitor according to measurement method
[Measurement]
Convert the output of BD1020HFV into temperature every
500ms and display a message (Figure 10)
Figure 10. Serial Monitor (BD1020HFV)
5
%
ZZZURKPFRP
652+0&R/WG$OOULJKWVUHVHUYHG
Notice
ROHM Customer Support System
http://www.rohm.com/contact/
Thank you for your accessing to ROHM product informations.
More detail product informations and catalogs are available, please contact us.
Notes
The information contained herein is subject to change without notice.
Before you use our Products, please contact our sales representative
and verify the latest specifica-
tions :
Although ROHM is continuously working to improve product reliability and quality, semicon-
ductors can break down and malfunction due to various factors.
Therefore, in order to prevent personal injury or fire arising from failure, please take safety
measures such as complying with the derating characteristics, implementing redundant and
fire prevention designs, and utilizing backups and fail-safe procedures. ROHM shall have no
responsibility for any damages arising out of the use of our Poducts beyond the rating specified by
ROHM.
Examples of application circuits, circuit constants and any other information contained herein are
provided only to illustrate the standard usage and operations of the Products. The peripheral
conditions must be taken into account when designing circuits for mass production.
The technical information specified herein is intended only to show the typical functions of and
examples of application circuits for the Products. ROHM does not grant you, explicitly or implicitly,
any license to use or exercise intellectual property or other rights held by ROHM or any other
parties. ROHM shall have no responsibility whatsoever for any dispute arising out of the use of
such technical information.
The Products specified in this document are not designed to be radiation tolerant.
For use of our Products in applications requiring a high degree of reliability (as exemplified
below), please contact and consult with a ROHM representative : transportation equipment (i.e.
cars, ships, trains), primary communication equipment, traffic lights, fire/crime prevention, safety
equipment, medical systems, servers, solar cells, and power transmission systems.
Do not use our Products in applications requiring extremely high reliability, such as aerospace
equipment, nuclear power control systems, and submarine repeaters.
ROHM shall have no responsibility for any damages or injury arising from non-compliance with
the recommended usage conditions and specifications contained herein.
ROHM has used reasonable care to ensurH the accuracy of the information contained in this
document. However, ROHM does not warrants that such information is error-free, and ROHM
shall have no responsibility for any damages arising from any inaccuracy or misprint of such
information.
Please use the Products in accordance with any applicable environmental laws and regulations,
such as the RoHS Directive. For more details, including RoHS compatibility, please contact a
ROHM sales office. ROHM shall have no responsibility for any damages or losses resulting
non-compliance with any applicable laws or regulations.
When providing our Products and technologies contained in this document to other countries,
you must abide by the procedures and provisions stipulated in all applicable export laws and
regulations, including without limitation the US Export Administration Regulations and the Foreign
Exchange and Foreign Trade Act.
This document, in part or in whole, may not be reprinted or reproduced without prior consent of
ROHM.
1)
2)
3)
4)
5)
6)
7)
8)
9)
10)
11)
12)
13)
4/4
User’s Guide
SensorShield-EVK-003 Manual
© 2018 ROHM Co., Ltd.
No. 61UG002 E Rev.001
E Rev.001
Apr.2018
Table 2. Connection Area of each sensor
Table 3. The Operating Voltage of each sensor
Table 4. Device Address of the I2C Sensor