PLUS Module Encoder Module with MEGA328P 400mAh Battery ISP IR Transmitter UART/GPIO Port ESP32 Kit

PLUS Module Encoder Module with MEGA328P 400mAh Battery ISP IR Transmitter UART/GPIO Port ESP32 Kit

$32.99 $28.99

🟢 In Stock

Description:PLUS is a enhanced M5 module comes with Lipo battery(500mAh), gear potentiometer, IR transmitter, extend PORT B(GPIO Port), PORT C(UART Port) from M5 core and a Microphone soldering pad. Powered with...

✔️ WORLDWIDE FREE SHIPPING
✔️ 30 DAYS RETURN GUARANTEE
✔️ SECURE CHECKOUT

visamasteramerican expressgoogle paypaypal
Description

Description:

PLUS is a enhanced M5 module comes with Lipo battery(500mAh), gear potentiometer, IR transmitter, extend PORT B(GPIO Port), PORT C(UART Port) from M5 core and a Microphone soldering pad. Powered with MEGA328, it could be a great upgrade of the hardwre resources by adding up PLUS to your work.

Communication Protocol: IIC (0x62).

Product Features:

  • 400mAh Battery

  • Programmable gear potentiometer

  • IR transmitter

  • Including PORT B and PORT C

  • Product Size: 4.2mm x 54.2mm x 12.8mm

  • Product weight: 20.5g

    Package Included:

  • 1x M5Stack PLUS Module

EasyLoader

1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed.(Currently EasyLoader is only available for Windows OS)

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

Example:

for IDE

The Code below plus_read_encoder.ino is incomplete. To get the complete code, please click here.

  /*  * Read data from the gear potentiometer  * Send infrared light  */  #include <.h>  #include <M5Stack.h>    #define IrPin 13  #define PLUS_ADDR 0x62    // declaration  int32_t number = 0;  uint8_t press = 0;    // initialization  M5.begin(true, false, false);  Wire.begin();  ledcSetup(1, 38000, 10); ledcAttachPin(IrPin, 1);// IR Pin setting    // read data  Wire.requestFrom(PLUS_ADDR, 2);  while(Wire.available()) {      int8_t encode = Wire.read();      uint8_t press_n = Wire.read();      number += encode;      if(press_n == 0xff) {          press = 0;//encoder was pressed      }      else {          press = 1;//encoder was releaed      }  }



Schematic: