Mini Angle Sensor Module Potentiometer Inside Resistance Adjustable GPIO GROVE Connector for Arduino - products that work with official Arduino boards
- Stock: In Stock
- Model: EB0047520
- SKU: EB0047520
Description:
AN GLE is a rotary switch Unit,simply having a 10K potentiometer inside. This unit can be used for Continuous singal control, such as volume, brightness, or motor speed.
A potentiometer is a manually adjustable, variable resistor with three terminals. Two terminals are connected to a resistive element, the third terminal is connected to an adjustable wiper. The position of the wiper determines the output voltage. The out voltage is captured and converted by AD on ESP32 on portB.
In M5Stack product system, Normally the Grove color indicates the type of communications.
- Black: Single BUS (AD ,DA ,GPIO)
- Red: I2C
- Blue: Uart
- White: Others(depends)
The Unit's Grove interface is black, indicating an analog interface that needs to be connected to the M5Core's GROVE B interface.
Product Features:
- Output voltage range: 0 ~ 2500mV
- GROVE interface, support UIFlow: http://flow.m5stack.com/
- Two Le go-compatible holes
- Product Size: 32.2mm x 24.2mm x 21.7mm
- Product weight: 5.6g
Package Included:
- 1x AN GLE Unit
- 1x Grove Cable
Related Link
-
Offical Video: https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w
-
Forum: http://forum.m5stack.com/
EasyLoader
: https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Unit/EasyLoader_ANGLE.exe
1.EasyLoader is a simple and fast program burner, and each product page has a product-related case program for EasyLoader.2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.
3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to view the driver installation tutorial: https://docs.m5stack.com/#/en/related_documents/establish_serial_connection
Example:
1. IDE
The code below is incomplete. To get the complete code, please click here: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ANGLE/.
Example function: Display the digital value converted from the Unit output voltage (0 ~ 4095)
#include <M5Stack.h> // select the input pin for the potentiometer int sensorPin = 36; // last variable to store the value coming from the sensor int last_sensorValue = 0; // current variable to store the value coming from the sensor int cur_sensorValue = 0; void setup() { M5.begin(); pinMode(sensorPin, INPUT); M5.Lcd.setTextSize(2); M5.Lcd.setCursor(0, 0); M5.Lcd.print("the value of AN GLE: "); } void loop() { // read the value from the sensor: cur_sensorValue = analogRead(sensorPin); M5.Lcd.setCursor(0, 25); if(abs(cur_sensorValue - last_sensorValue) > 10){//debaunce M5.Lcd.fillRect(0, 25, 100, 25, BLACK); M5.Lcd.print(cur_sensorValue); last_sensorValue = cur_sensorValue; } delay(50); }
2. UIFlow
Schematic:
Shipping Time
After you successfully placed an order at RenhotecIC.com, you will receive a confirmation email with your invoice. Once your order is shipped, you will be emailed with the tracking information of your package. Also, you can choose your preferred shipping method during the checkout process. Kindly advise: please select DHL/FedEx if you need our product urgently.
The timeline of the whole shipping process is shown below:
The total delivery time is calculated from the time your order is successfully placed to the time received. Total delivery time is broken down into processing time and shipping time.
Processing time: The time it takes to prepare your item(s), includes preparing your items, performing quality inspections, and packaging for shipment. Normally, the processing time is 1-3 days (Only include Monday to Saturday ) after getting your order.
Shipping time: The time for your item(s) to travel from our warehouse to your destination. The shipping time depends on the shipping method you chose. Please refer to the shipping rate section for details.
Shipping Rates
You could choose the shipping method based on your preference during checkout, different shipping methods will apply different rates and shipping times. Please check the following chart for detail:
You could choose the shipping method based on your preference during checkout, different shipping methods will apply different rates and shipping times. Please check the following chart for detail:
Shipping Method | Shipping Rates | Shipping Times |
Flat Shipping (Promotion) | $10 | About 5-30 Working Days to Worldwide (Only include Monday to Saturday ) |
Standard Express(0.5KG starting price listed) | Based On Weights | About 5-15 Working Days to Worldwide (Only include Monday to Saturday ) |
Priority Express (0.5KG starting price listed) | Based On Weights | About 3-7 Working Days to Worldwide (Only include Monday to Saturday ) |
In addition, the transit time depends on where you're located, the shipping method you choose, and where your package comes from. We will keep you informed of any problems here to help you get your order as soon as possible.
If you want to know more information, please contact the customer service by contact form or sales@renhotecic.com. We will settle your problem as soon as possible. Enjoy shopping!