Sale!

CJMCU-103 SMD Dust-proof Angle Sensor

Original price was: 5,87 €.Current price is: 4,25 €. Excluding VAT

The CJMCU-103 SMD dust-proof angle sensor for Arduino measures angles with precision, ideal for robotics and mechatronics projects.

Available on back-order

Domande su questo prodotto? Scrivi a Lana su WhatsApp

Category:

Description

What is the CJMCU-103 SMD Dust-proof Angle Sensor? The CJMCU-103 SMD dust-proof angle sensor is an electronic device designed to measure angles and positions accurately. Suitable for robotics and mechatronics projects, it offers a reliable solution for angle detection.

Features:
– Measures angles with precision
– Dust-proof design
– SMD format
– Compatible with Arduino and similar microcontrollers

How to Use the CJMCU-103 SMD Dust-proof Angle Sensor: This sensor is useful for measuring angles and positions in various electronic projects. It’s ideal for beginners and intermediate makers exploring orientation sensors.

What You Need:
– Arduino Uno
– USB cable
– Breadboard
– Jumper wires
– Potentiometer (10kΩ)
– LED

Steps:
1. Connect the sensor to the breadboard.
2. Use jumper wires to connect the sensor pins.
3. Attach the potentiometer to the breadboard and the sensor.
4. Connect the Arduino to your computer via USB cable.
5. Upload the Arduino sketch to the microcontroller.
6. Open the Serial Monitor in Arduino.
7. Adjust the potentiometer to see changes on the serial monitor.
8. Verify sensor readings with an LED that turns on or off based on detected angles.

Example Code:
const int potPin = A0; // Potentiometer pin
const int ledPin = 13; // LED pin
void setup() {
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
}
void loop() {
int potValue = analogRead(potPin);
Serial.println(potValue);
if (potValue > 511) {
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
}

Mini Project:
Create an alarm system that activates when an object moves into a specific area. Use the angle sensor to detect position and an LED for alarm indication.

Common Mistakes:
– Connecting the power supply and ground of the sensor incorrectly.
– Uploading the wrong Arduino sketch to the microcontroller.
– Not verifying sensor readings on the serial monitor.
– Using a potentiometer with incorrect resistance.

Reviews

There are no reviews yet.

Be the first to review “CJMCU-103 SMD Dust-proof Angle Sensor”

Your email address will not be published. Required fields are marked *