16
User Manual
Grid-EYE Evaluation Kit
In the independent mode, data sampling and transfer will be executed by the ATSAMD21
microcontroller ; the program flow diagram is given below:
Flow-chart steps explained:
Decision point - check I
2
C response of Grid-EYE sensor:
o
If valid, Independent mode is confirmed.
o
If invalid, Arduino mode is confirmed.
-
Delay of 100ms is applied for periodic inspection of I
2
C. This allows the
microcontroller to determine mode of operation.
Parse the command from PC, such as the command of setting the sampling frequency.
Measurement - read data from the sensor and send it to PC and smartphone.
Updating frequency - if the sampling frequency is updated, then reset it.
Delay applied in the loop, determined by the sampling frequency.
Содержание Grid-EYE
Страница 1: ...QUICK START GUIDE Grid EYE Evaluation Kit User Manual Grid EYE Evaluation Kit ...
Страница 24: ...23 User Manual Grid EYE Evaluation Kit Compile the code and upload it on the board ...
Страница 25: ...24 User Manual Grid EYE Evaluation Kit ...
Страница 30: ...29 User Manual Grid EYE Evaluation Kit Program process ...