diff --git a/app/src/main/java/io/pslab/activity/Barometer_activity.java b/app/src/main/java/io/pslab/activity/Barometer_activity.java index 0519e3eff..1f1ec31d2 100644 --- a/app/src/main/java/io/pslab/activity/Barometer_activity.java +++ b/app/src/main/java/io/pslab/activity/Barometer_activity.java @@ -339,7 +339,9 @@ private void setUpBottomSheet() { Boolean isFirstTime = settings.getBoolean("BarometerFirstTime", true); bottomSheetGuideTitle.setText(R.string.barometer); - bottomSheetDesc.setText(R.string.barometer_description); + bottomSheetDesc.setText(R.string.barometer_intro); + bottomSheetSchematic.setImageResource(R.drawable.bmp180_schematic); + bottomSheetDesc.setText(R.string.barometer_desc); if (isFirstTime) { bottomSheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED); diff --git a/app/src/main/res/drawable/bmp180_schematic.png b/app/src/main/res/drawable/bmp180_schematic.png new file mode 100644 index 000000000..e78c752f5 Binary files /dev/null and b/app/src/main/res/drawable/bmp180_schematic.png differ diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5926618fe..5ab3aa2e9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -895,8 +895,14 @@ \u2022 The above pin configuration has to be same except for the pin GND. You can use any of the PSLab device GND pins.\n - Measures the pressure of the atmosphere Barometer + Measures the atmospheric pressure + \u2022 The Barometer can be used to measure Atmospheric pressure. This instrument + is compatible with either the built in pressure sensor on any android device or the BMP-180 pressure sensor.\n\n + \u2022 If you want to use the sensor BMP-180, connect the sensor to PSLab device as shown in the figure. + \u2022 The above pin configuration has to be same except for the pin + GND. GND is meant for Ground and any of the PSLab device GND pins can be used since they are common.\n\n + \u2022 Select the sensor by going to the Configure tab from the bottom navigation bar and choose BMP-180 in the drop down menu under Select Sensor. Data Plot Configure