Skip to content

Commit 5e60656

Browse files
DineshDK03nashif
authored andcommitted
samples: sensor: Modified Readme for grow_r502a
Modified readme for grow_r502a sample w.r.t latest changes on driver like attributes and LED controlling via zephyr LED subsystem APIs. Signed-off-by: Dinesh Kumar K <[email protected]>
1 parent 6a746dc commit 5e60656

File tree

1 file changed

+16
-21
lines changed

1 file changed

+16
-21
lines changed

samples/sensor/grow_r502a/README.rst

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,15 @@ Overview
88

99
This sample has the below functionalities:
1010

11+
#. Sensor LED is controlled using led APIs from zephyr subsystem.
1112
#. Shows the number of fingerprints stored in the sensor.
13+
#. Shows the sensor device's configurations like baud rate, library size, address and data packet size in UART frame.
1214
#. When SENSOR_ATTR_RECORD_FREE_IDX is set then it search for free index in sensor library.
1315
#. When SENSOR_ATTR_RECORD_ADD is set then it adds a new fingerprint to the sensor.
1416
#. When SENSOR_ATTR_RECORD_FIND is set then it tries to find a match for the input fingerprint. On finding a match it returns ID and confidence.
1517
#. When SENSOR_ATTR_RECORD_DEL is set then it deletes a fingerprint from the sensor.
1618

17-
Note: Fingerprint add & delete functionalities work only when SENSOR_TRIG_TOUCH is set.
18-
Tricolored LED in the sensor hardware will, flash on the below conditions:
19-
20-
#. On successful addition or deletion of fingerprint it will flash in blue three times.
21-
#. On finding a match for the input fingerprint it will flash in purple.
22-
#. In all other cases it will flash in red.
19+
Note: Fingerprint add functionality work only when SENSOR_TRIG_TOUCH is set.
2320

2421
Wiring
2522
*******
@@ -42,28 +39,26 @@ build this sample app using:
4239

4340
.. zephyr-app-commands::
4441
:zephyr-app: samples/sensor/grow_r502a
45-
:board: nrf52840dk/nrf52840
42+
:board: esp32_devkitc_wroom/esp32/procpu
4643
:goals: build flash
4744

4845
Sample Output
4946
*************
5047

5148
.. code-block:: console
5249
53-
*** Booting Zephyr OS build zephyr-v3.1.0-2640-g328bb73113d4 ***
54-
template count : 0
50+
*** Booting Zephyr OS build v3.6.0-3147-g8ae1a2e2718e ***
51+
template count : 4
52+
baud 57600
53+
addr 0xffffffff
54+
lib_size 200
55+
data_pkt_size 128
5556
Fingerprint Deleted at ID #3
56-
Fingerprint template free idx at ID #0
57-
Waiting for valid finger to enroll as ID #0
57+
Fingerprint template free idx at ID #3
58+
Waiting for valid finger to enroll as ID #3
5859
Place your finger
59-
Fingerprint successfully stored at #0
60-
template count : 1
61-
Matched ID : 0
62-
confidence : 170
63-
template count : 1
64-
Matched ID : 0
65-
confidence : 136
66-
template count : 1
67-
Matched ID : 0
68-
confidence : 318
60+
Fingerprint successfully stored at #3
61+
template count : 4
62+
Matched ID : 2
63+
confidence : 110
6964
<repeats endlessly>

0 commit comments

Comments
 (0)