SENSORSHIELD-EVK-001 Manual Datasheet by Rohm Semiconductor

View All Related Products | Download PDF Datasheet
ROHI'n SEMICONDUCTOR
© 2016 ROHM Co.,Ltd.
ROHM Sensor Shield Manual
Jun 09, 201
Sensor Application G
P. 1
© 2016 ROHM Co.,Ltd.
Sensor board lineup
No.
Sensor Type Name
1
Accelerometer
KX022
-1020
2
Pressure sensor
BM1383GLV
3
Magnetic
sensor
BM1422GMV
4
ALS/PS sensor
RPR
-0521RS
5
Color sensor
BH1745NUC
6
Hall sensor
BD7411G
7
Temperature sensor
BD1020HFV
8
UV
sensor
ML8511A
P. 2
© 2016 ROHM Co.,Ltd.
ROHM Sensor Shield
Shield for Arduino Uno
Size: 88mm x 63mm
I/F: I2C/Analog/Digital
Operation Voltage:5V, 3V and1.8V
Embedded Level Shifter
GPIO : FAIRCHILD FXMA108
I2C : NXP PCA9306
I2C pull-up register
For I2C I/F device
For GPIO I/F device
For Analog I/F device
Select Voltage
P. 3
© 2016 ROHM Co.,Ltd.
Feature of each sensor board
Through Hall: I/F pin, VDD and GND Pin (Fig.1)
Board Size: 20mm x 20mm
Board Color: Black
The board has pattern to change Slave address.(Fig.2)
KX022-1020, BM1422GMV, BH1745NUC
M3 Size Hall to attached some device.
20mm
20mm
Fig.1 Fig.2
Change Slave address by Cutting
GND-ADDR line and Connect
VDD-ADDR line.
Default
VDD
GND ADDR VDD
GND ADDR
KX022-1020
BM1422GMV BH1745NUC
Default
Change Slave address by Cutting
VDD-ADDR line and Connect
GND-ADDR line.
RDHI'n
P. 4
© 2016 ROHM Co.,Ltd.
Manual of Arduino Sensor Shield and Sensor Board
1. Connect between Arduino and Sensor Shield
2. Select Sensor Board which connect to Sensor Shield
ex) Connect BM1383GLV to I2C_1
3. Voltage Setting of Sensor Shield
ex)1.8V
4. Connect PC to Arduino by USB Cable
USB
Connector
2
3
skewuanzfla Irma “mo l // wt W "(up m h I ma mo ( // m war mm came here. «u m vmled‘yv Em 5mm me new mm mamms cmsmw cum mar/7 mm A meummlm as W 95.5mm ummv mashing: was; In Surmnm msnmmLM ummmlsv Mammals? , mwnm m a wage Em mm mm mm: :«mgm‘w mm L a»; 5 mmmw mum;
P. 5
© 2016 ROHM Co.,Ltd.
5. Copy Arduino program to libraries of Arduino
Recommended system requirements : Arduino IDE version 1.6.7 or above
Please download Arduino IDE from http://www.arduino.cc
6. Execute Arduino IDE(v1.6.7)
7. Select Program
File->Examples->BM1383GLV->
example->BM1383GLV
Manual of Arduino Sensor Shield and Sensor Board
RDHI'n 30413va | Ardulno file Edit Sketm Help Auto Formal Arduve Sketd1 EW WOW le Hurling 5. Reload Serial Monitor Ctr‘i-Shlfl-Hvi Serial Matter CM+ShIR+L Ardumo/Genulno Uno Pom come (Ardumo/Genumo Uno)" Programmer: "AVRJSP mku” Bum Boot‘oader
P. 6
© 2016 ROHM Co.,Ltd.
8. Change Setting of Board and Port
(1)Tools->Board ⇒”Arduino/Genuino Uno”,
(2)Port⇒”COMxx(Arduino/Genuino Uno)”
COM Port Number depends on PC.
Manual of Arduino Sensor Shield and Sensor Board
RDHI'n 5141333ch | Md . . ' 304133va | mm 1 _E Ewle Edlt §ketd| Iool5 flelp Ene gal: Sketch Iools He‘p EM1SBRGLV :mm ‘ ‘ , , m wumw mum «w ‘ m‘ Dr 4 mm, mm w m, MM w
P. 7
© 2016 ROHM Co.,Ltd.
9. Write Program (Push Upload Button) 10.Check status whether Write
Program is OK or Not.
OK log is ”Done uploading”.
Manual of Arduino Sensor Shield and Sensor Board
RDHI'n We Edlt 5km Help Auto Format WW6 Sketch le Ermdw 5. Reload ctrI+ShIR+M serial Plotter ctrl+ShIR+L BM13E3GLV Arduino/Genumo Um" Port: coma (Arduino/Genuino Uno)" vragrammer: "AVRISP mkII" Bum Boolloadev r‘rmr‘m :> rmr. m mun M 1‘ ‘ mm :w d mm, m—mn . ‘9‘ m mm b w
P. 8
© 2016 ROHM Co.,Ltd.
11.Select Tools->Serial Monitor
Manual of Arduino Sensor Shield and Sensor Board
RDHI'n BM1 38301.11 mm .1 mm» 71.11.51. . 11. 11111117 1‘ m. b 19*. d m r 11:11.21 1;. Mum... 111:1 1111‘); mm m BMISEKDL ID Register Va1ue = 0x31 BMIBHKELV (PRESS) = 1n13.19 [hPa] BM1383GLV (PRESS) ‘ 1013.18 [hPa] BM1383ELV (PRESS) : 1013. BMISEsELV (PRESS) = 1m. BMIBHKELV (PRESS) = 1m. BM1383GLV (PRESS) 2 1013. BM1383ELV (PRESS) : 1013. BulxasuLv (PRESS) = 1m. BRISHSDLV (PRESS) = 1m. BM1383GLV (PRESS) 2 1013. BM13B3ELV (PRESS) : 1013. BulxasnLv (PRESS) = 1m. BRISHSDLV (PRESS) = 1m. BM1383GLV (PRESS) 2 1013. 17 [hPa] [hPu] [1.17.] [hPa] [hPa] [m] [1.17.] [hPa] [hPa] [m] [1.17.] [hPa] No line :ndln: v 9600 baud
P. 9
© 2016 ROHM Co.,Ltd.
12. Check log of Serial Monitor
Manual of Arduino Sensor Shield and Sensor Board
Kxnzumum Mister Value = mm mm? (x) : A3 [:1 Km? (v) : ‘ns [:1 KXM? (z) : ‘99 [x] Kxuzz (x) : .I8 [x] Kxuzz (v) = .ns [x] mm (2) = .99 [x] KXUZZ (x) = .I1 [x] mm (v) = .ns [:1 Km? (Z) = ‘93 [c] Kxnzz (x) : AB [:1 KXM? (v) : ‘ns [x] mm (2) : .33 [x] mm (x) = .I8 [x] KMMZ (v) = .ns [t] KMMZ (Z) = .95 [x] mm (X) = .IB [:1 Km? (Y) = J16 [:1 Km? (Z) : ‘93 [c] mu ()0 : A8 [:1 WM m . w. an \un ‘ ‘ ‘ » mu m: .ns [:1 w m-vu’r ‘_, m M» , my (1): Am [:1 JMlmcmll Nu hum-1m: v ‘flfiflflbiud
P. 10
© 2016 ROHM Co.,Ltd.
In the case of I2C I/F (KX022) I2C
[Program]
File->Examples->
KX022->example->
KX022
[Result of Sample Program]
Display output data of X, Y, and Z axis at 500ms interval.
RDHm swam: mm mm 02191! 507mm lame! mm Data! Emma Ilmel mm mm! Emma mm mm Dam! swam: mm mm 02ml Emma mm mm Dam! 50mm lame! mm Duct! smut: mm mm Dem! Emma lame! mm Dam! Nohnaandw v mum .mum
P. 11
© 2016 ROHM Co.,Ltd.
In the case of GPIO I/F (BD7411)
[Program]
File->Examples->
BD7411G->example->
BD7411
[Result of Sample Program]
Display message at 500ms interval when BD7411 output is low.
※Caution
When Sample program
of BD7411 is installed,
Take off BD7411 Sensor
Board.
RDHI'n We Emt Sketch Too‘s He‘p admp[e mm ”m" 82 E3232: 33:12:: [degrees ue[s[ds1, [degrees ue[s[ds1, ADD sx [degrees ue[s[ds1, ADD:ZSX [degrees ue[s[ds1, ADD sx [degrees ue[s[ds1, ADD:ZSX [degrees ue[s[ds1, ADD:ZSX [degrees ue[s[ds1, ADD ss [degrees ue[s[ds1, ADD:ZSX [degrees ue[s[ds1, [degrees ue[s[ds1, [degrees ue[s[ds1, [degrees ue[s[ds1, [degrees ue[s[ds1, [degrees ue[s[ds1, [degrees ue[s[ds1, ADD:ZSX [degrees ue[s[ds1, ADD sx [degrees ue[s[ds1, ADD:ZSX [degrees ue[s[ds1, ADD:ZSX [degrees ue[s[ds1, ADD sx [degrees ue[s[ds1, ADD:ZSX [degrees ue[s[ds1, [degrees ue[s[ds1, [degrees ue[s[ds1, "“ ”M - . [degrees ue[sms1, - ‘9‘ V - . [degrees ue[sms1, [degrees ue[s[ds1, DAmascmH Nahne endmg v sfinnhaud “Mr
P. 12
© 2016 ROHM Co.,Ltd.
In the case Analog I/F (BD1020)
[Program]
File->Examples->
BD1020HFV->example->
BD1020
[Result of Sample Program]
Display output data of Temperature sensor at 500ms interval.
P. 13
© 2016 ROHM Co.,Ltd.
Connection Point of Sample Program
No.
Sensor Type Name
1
Accelerometer
KX022
-1020 I2C_1,I2C_2,I2C_3,I2C_4,I2C_5
2
Pressure sensor
BM1383GLV
I2C_1,I2C_2,I2C_3,I2C_4,I2C_5
3
Magnetic
sensor
BM1422GMV
I2C_1,I2C_2,I2C_3,I2C_4,I2C_5
4
ALS/PS sensor
RPR
-0521RS I2C_1,I2C_2,I2C_3,I2C_4,I2C_5
5
Color sensor
BH1745NUC
I2C_1,I2C_2,I2C_3,I2C_4,I2C_5
6
Hall sensor
BD7411G
GPIO
7
Temperature sensor
BD1020HFV
ANALOG_2
8
UV
sensor
ML8511A
ANALOG_1
P. 14
© 2016 ROHM Co.,Ltd.
Selectable Power Supply
No.
Sensor Type Name
Recommended Operating
Voltage [V] Selectable Power [V]
Min. Typ. Max 1.8 3 5
1 Accelerometer KX022-1020 Vdd 1.71 2.5 3.6
Vio 1.7 - Vdd
2 Pressure sensor BM1383GLV VDD 1.7 - 3.6
3 Magnetic sensor BM1422GMV AVDD 1.7 - 2.0
DVDD 1.7 - 2.0
4 ALS/PS sensor RPR-0521RS VCC 2.5 3.0 3.6
VLEDA
2.8 3.0 5.5
5 Color sensor BH1745NUC Vcc 2.3 2.5 3.6
6 Hall sensor BD7411G VDD 4.5 5.0 5.5
7 Temperature
sensor BD1020HFV VDD 2.4 3.0 5.5
8 UV sensor ML8511A VDD 2.7 3.3 3.6
P. 15
© 2016 ROHM Co.,Ltd.
I2C Device Address List
No.
Sensor Type Name
Device Address(7bit)
1
Accelerometer
-1020 0x1E/0x1F
2
Pressure sensor
0x5D
3
Magnetic
sensor
0x0E/0x0F
4
ALS/PS sensor
-0521RS 0x38
5
Color sensor
0x38/0x39
Blue character is default slave
address
ROHI'II SEMICONDUCTOR ROHM Co.. Ltd.
© 2016 ROHM Co.,Ltd.

Products related to this Datasheet

SHIELD BOARD MULTI-SENSOR