Design and testing of prototype for pill dispenser made using frdm-k64f, and interfaced with servo as gate for pill cartilage, PIR motion sensor to detect pill dropping into dispenser and HCSR04 ultrasonic sensor to detect pills being taken off the dispenser.
Dependencies: HCSR04 Servo mbed
HCSR04.lib@1:d3628d93e4d4, 2018-03-21 (annotated)
- Committer:
- khp007
- Date:
- Wed Mar 21 18:06:06 2018 +0000
- Revision:
- 1:d3628d93e4d4
- Parent:
- 0:8cc71e8eb869
updated with option to run either of the sensors by commenting the other 2 functions
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
khp007 | 0:8cc71e8eb869 | 1 | https://os.mbed.com/users/aralshukaili/code/HCSR04/#0bda99bb39a4 |