Description
What is it? The HW-MS03 induction module is a microwave sensor for Arduino. It allows you to detect the presence of objects or people within a certain radius. Features: Name: HW-MS03 SKU: ARD0011842 Price: €3.01 Type: Microwave sensor Function: Object/person detection Compatibility: Arduino (check datasheet) What can it be used for? The HW-MS03 module is ideal for creating presence sensors, automations, and control systems. It can be used for: Automatically opening doors or gates Turning on lights when entering a room Detecting movements for security systems Tutorial: How to use HW-MS03 The HW-MS03 is a microwave induction sensor ideal for controlling access in commercial or domestic environments. Useful for anyone dealing with automatic access or motion detection. What do you need? Arduino or compatible board Power supply 5V 10kΩ resistor Power supply connector Steps: 1. Connect the HW-MS03 module to the 5V and GND pins of your Arduino. 2. Connect the 10kΩ resistor between the module’s OUT pin and the ground pin of your Arduino. 3. Upload the following sketch to Arduino: `#include int sensorPin = 2; void setup() { pinMode(sensorPin, INPUT); } void loop() { int sensorValue = digitalRead(sensorPin); Serial.println(sensorValue); }` 4. Connect the module’s OUT pin to the pin 2 of Arduino. 5. Run the code and check the reading in Serial Monitor. 6. Set the sensor to wait mode and adjust the detection threshold. 7. Test the reaction of the sensor by moving close to it. 8. Configure the wait time for automatic entry. Example code “`#include int sensorPin = 2; void setup() { pinMode(sensorPin, INPUT); } void loop() { int sensorValue = digitalRead(sensorPin); Serial.println(sensorValue); }“` Mini-project Create an automatic entry with the HW-MS03 module and a gate. Connect the module to your Arduino and the gate. Configure the wait time for opening. Common errors Incorrectly connecting the module’s pins. Setting the resistor outside the operating range. Forgetting to configure the wait time. Using an incompatible Arduino. Recommended accessories Arduino Uno Electric gate 5V power supply 10kΩ resistor Security: 0.5




Reviews
There are no reviews yet.