Class | Description |
---|---|
DebouncedDigitalInputDevice |
Represents a generic input device with typical on/off behaviour.
|
EpollTest | |
HCSR04UsingEvents |
Note this version doesn't work as well as the event-based HCSR04UsingEvents version as the ns event timings
aren't from the raw device unfortunately, only as they get processed in Java
User's manual:
https://docs.google.com/document/d/1Y-yZnNhMYy7rwhAgyL_pfa39RsB-x2qR4vP8saG73rE/edit#
Product specification:
http://www.micropik.com/PDF/HCSR04.pdf
Provides 2cm - 400cm non-contact measurement function, the ranging accuracy
can reach to 3mm You only need to supply a short 10uS pulse to the trigger
input to start the ranging, and then the module will send out an 8 cycle
burst of ultrasound at 40 kHz and raise its echo.
|
HCSR04UsingWait |
User's manual:
https://docs.google.com/document/d/1Y-yZnNhMYy7rwhAgyL_pfa39RsB-x2qR4vP8saG73rE/edit#
Product specification:
http://www.micropik.com/PDF/HCSR04.pdf
Provides 2cm - 400cm non-contact measurement function, the ranging accuracy
can reach to 3mm You only need to supply a short 10uS pulse to the trigger
input to start the ranging, and then the module will send out an 8 cycle
burst of ultrasound at 40 kHz and raise its echo.
|
MFRC522 |
Datasheet: http://www.nxp.com/documents/data_sheet/MFRC522.pdf
Example Python code: https://github.com/mxgxw/MFRC522-python/blob/master/MFRC522.py
Work-in-progress!
|
MFRC522Test |
Control an LED with a button.
|
MotionSensor |
A Passive Infra-Red (PIR) motion sensor.
|
PCF8591 | |
PCF8591App |
PCF8591 sample application.
|
PollTest | |
Servo | |
TB6612FNGDualMotorDriver |
Dual bi-directional motor controlled by a single PWM pin and separate forward / backward GPIO pins
Toshiba TB6612FNG Dual Motor Driver such as this one from Pololu: https://www.pololu.com/product/713
|
TB6612FNGMotor |
Bi-directional motor controlled by a single PWM pin and separate forward / backward GPIO pins
Toshiba TB6612FNG Dual Motor Driver such as @see this one from Pololu
Turn forward, set pin 1 to HIGH, pin 2 to LOW, and PWM to >0
Turn backward, set pin 1 to LOW, pin 2 to HIGH, PWM to >0
|
Enum | Description |
---|---|
PCF8591.InputMode |
Copyright © 2016 mattjlewis. All rights reserved.