mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
add screw go plus
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 140 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 145 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.9 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 250 KiB |
+11
-49
@@ -1,10 +1,10 @@
|
||||
# Module GoPlus {docsify-ignore-all}
|
||||
|
||||
<img src="assets/img/product_pics/module/goplus/goplus_p1.png" width="30%" height="30%"> <img src="assets/img/product_pics/module/goplus/goplus_p2.png" width="30%" height="30%">
|
||||
<img src="assets/img/product_pics/module/goplus/goplus_p1.jpg" width="30%" height="30%"> <img src="assets/img/product_pics/module/goplus/goplus_p2.jpg" width="30%" height="30%">
|
||||
|
||||
***
|
||||
|
||||
:memo:**[Description](#Description)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-Arrival-GOPLUS-Module-with-MEGA328P-IR-Transmitter-and-Receiver-suit-for-ESP32-Kit/3226069_33010785963.html?spm=2114.12010615.8148356.2.14c97842qJv4YA)**
|
||||
:memo:**[Description](#Description)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-Arrival-PLUS-Module-Encoder-Module-with-MEGA328P-500mAh-Battery-ISP-IR-Transmitter-UART-GPIO/3226069_32949278724.html?spm=a2g1x.12024536.productList_5885013.pic_1)** :octocat:**[Code](#Code)**
|
||||
|
||||
<!-- :memo:**[Description](#Description)** :octocat:**[Example](#Example)** :electric_plug:**[Schematic](#Schematic)** 🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-Arrival-PLUS-Module-Encoder-Module-with-MEGA328P-500mAh-Battery-ISP-IR-Transmitter-UART-GPIO/3226069_32949278724.html?spm=a2g1x.12024536.productList_5885013.pic_1)**-->
|
||||
|
||||
@@ -14,6 +14,9 @@
|
||||
|
||||
comes with 2x DC motor channel, 4x Servo motor channel, IR transmitter, IR receiver, 3x extend PORT B(GPIO Port). This Module can surely help build more complicated and organized motor applications.
|
||||
|
||||
<img src="assets/img/product_pics/module/goplus/goplus_p3.jpg" width="30%" height="30%"><img src="assets/img/product_pics/module/goplus/goplus_p4.jpg" width="30%" height="30%">
|
||||
|
||||
|
||||
Communication Protocol: IIC (0x61).
|
||||
|
||||
## Product Features
|
||||
@@ -29,59 +32,18 @@ Communication Protocol: IIC (0x61).
|
||||
|
||||
- 1x M5Stack GoPlus Module
|
||||
|
||||
## Related Link
|
||||
## Schematic
|
||||
|
||||
- **[Offical Video](https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w)**
|
||||
|
||||
- **[Forum](http://forum.m5stack.com/)**
|
||||
<img src="assets/img/product_pics/module/goplus/goplus_sch.jpg">
|
||||
|
||||
## Document
|
||||
- Datasheet - **[LV8548MC](https://www.onsemi.cn/PowerSolutions/document/ANDLV8548MC-D.PDF)**
|
||||
|
||||
|
||||
|
||||
## Code
|
||||
- Driver firmware - **[GoPlus](https://github.com/m5stack/GoPlus/tree/master/src)**
|
||||
|
||||
- Test Code - **[GoPlus](https://github.com/m5stack/GoPlus/tree/master/test)**
|
||||
|
||||
<!-- ## Example
|
||||
|
||||
### Arduino IDE
|
||||
|
||||
*The Code below `plus_read_encoder.ino` is incomplete. To get the complete code, please click [here](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/PLUS/Arduino).*
|
||||
|
||||
```arduino
|
||||
/*
|
||||
* Read data from the gear potentiometer
|
||||
* Send infrared light
|
||||
*/
|
||||
#include <Arduino.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
|
||||
|
||||
<img src="assets/img/product_pics/module/goplus/goplus_sch.png">
|
||||
|
||||
Reference in New Issue
Block a user