By keyestudio | 18 May 2020 | 0 Comments
Keyestudio Micro bit Honeycomb Vibration &Tilt Module
keyestudio micro bit honeycomb vibration tilt module is fully compatible with micro bit control board.
In the experiment, we connect it with the micro: bit by a crocodile clip. There are 6 sockets on it, 2 G, 2 V and 2 S are connected. Additionally, G is GND, VV is VCC, and S is the signal end of the module.
Its function is to detect vibration and tilt. The SW-200D vibration switch element adopted on this module is a ball type tilt induction unidirectional trigger switch, one end of which is gold-plated(trigger end), another one is silver-plated (conductive end).
When the module is in the horizontal position or inclined to the conductive end (silver-plated), the switch element is in OFF state and the signal end outputs the high level; when the module is tilted to the trigger terminal (gold-plated), the switch element is ON state, and the signal terminal outputs the low level. When the angle of the conductive end (silver-plated)is lower than 10 ° horizontally and the module is shaken by external force, so the trigger end (gold-plated) will be a short-time ON state; which makes the module detect vibration.
Test Code
Test Results
Wire according to connection diagram, upload the test code successfully.
After connecting the computer to power on with USB cable, open the serial monitor software (such as Arduino IDE) and set the baud rate to 115200. The value of S end will be shown on the monitor. When module tilts towards trigger end(gold-plated), the value is 0 at the signal S end, LED dot matrix of micro bit displays the pattern;otherwise, when module tilts towards conductive end(silver-plated), the value is 1 at the signal S end, LED dot matrix of micro bit displays the pattern, as shown below.
More details, please click the linke below:
https://wiki.keyestudio.com/Ks0495_keyestudio_Micro_bit_Honeycomb_Vibration_%26_Tilt_Module
Leave a Reply
Your email address will not be published.Required fields are marked. *
CATEGORIES