![](/media/cache/group/NXP_logo_RGB_web.png.50x50_q85.jpg)
Freedom Seeed PIR Sensor Example
Dependencies: mbed
Fork of frdm_Grove_PIR_Example by
Simply Import this Program
into your mbed compiler
Select Compile
to generate the binary file
Open an Hyperterminal window and connect to the mbed Serial Port (COMxx)
peripheral using speed 9600bps
Plug the Grove Shield v2 on the top of your FRDM-K64F
Connect on end of the 4-pin Grove cable to the Temperature and Humidity module and the other end to the port D2 of the Grove Adapter
.
Drag n drop the frdm_Grove_PIR_Example_K64F.bin
into the mbed drive from your file explorer
Wait for download to complete
Press the Reset/SW1 button of your FRDM-K64F board
to launch the program
Your hyperterminal window should now display how many time motion have been detected since last reset (see picture below)!!
mbed.bld@0:d444f103013a, 2015-12-31 (annotated)
- Committer:
- GregC
- Date:
- Thu Dec 31 23:29:45 2015 +0000
- Revision:
- 0:d444f103013a
Freedom Seeed Grove PIR Example
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GregC | 0:d444f103013a | 1 | http://mbed.org/users/mbed_official/code/mbed/builds/9327015d4013 |