fixed some bugs

This commit is contained in:
LiHuashen
2018-12-22 17:59:37 +08:00
parent 1637e752f6
commit 0b1649c45c
57 changed files with 107 additions and 549 deletions

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 111 KiB

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 120 KiB

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 102 KiB

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 116 KiB

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 197 KiB

@@ -1,7 +1,5 @@
# API Reference
[中文](zh_CN/api_reference) | English | [日本語](ja/api_reference)
| MicroPython | Arduino |
|:------------|:--------|
|[LCD](en/api_reference/micropython/api_lcd) | / |
@@ -1,6 +1,6 @@
# BALA - Balanced Car
<img src="assets/img/product_pics/application/bala_1.jpg" width="250" height="250"> <img src="assets/img/product_pics/application/bala_2.jpg" width="250" height="250"> <img src="assets/img/product_pics/application/bala_3.jpg" width="250" height="250"> <img src="assets/img/product_pics/application/bala_4.jpg" width="250" height="250"> <img src="assets/img/product_pics/application/bala_5.jpg" width="250" height="250">
<img src="assets/img/product_pics/app/bala_1.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/bala_2.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/bala_3.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/bala_4.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/bala_5.jpg" width="250" height="250">
* * *
+63
View File
@@ -0,0 +1,63 @@
# LidarBot
<img src="assets/img/product_pics/app/lidarbot_01.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/lidarbot_02.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/lidarbot_03.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/lidarbot_04.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/lidarbot_05.jpg" width="250" height="250">
* * *
:memo:**[Description](#Description)**&nbsp;&nbsp;&nbsp;:octocat:**[Example](https://github.com/m5stack/Applications-LidarBot/tree/master/LidarBot/Example)**&nbsp;&nbsp;&nbsp;🛒**[Purchase](https://www.aliexpress.com/store/product/M5Stack-New-Lidar-Bot-Mini-Car-Lidar-8m-6Hz-McNamm-Wheels-NeoPixel-LED-Bar-with-ESP32/3226069_32951134988.html?spm=a2g1y.12024536.productList_5885013.subject_7)**
## Description
<mark>LidarBot</mark> is a four-wheeled car based on indoor navigation. The car body is loaded with lidar, four Mecanum wheels, control-wheel bottom board(based on MEGA328), two RGB bars, M5Core(CarMainController) and some LEGO holes.
Real-time communication via ESP-NOW between the car and the remote control handle. After receiving the control signal, the car master controlls the wheels and RGB bars through the specified protocol format.
And in addition to controlling the car's flexible front, rear, left and right movements, the indoor terrain can also be displayed on the display screens of the car master(M5Core) and the remote control handle.
## Feature
- Lidar: 8m @ 6Hz
- Programming Support
+ Arduino
- Compatible LEGO
## Protocol for CarBottomBoard
*Protocol FormatData Header(command type) + Data Packet + Data Tail*
| Control Target | Protocol Format |
| :-------------: |:------------------------------------: |
| Wheels | 0xAA,SpeedX,SpeedY,SpeedZ,SpeedA,0x55 |
| One RGB | 0xAB,LedIndex,R,G,B,0x55 |
| Front RGB Bar | 0xAC,R,G,B,0x55 |
| Back RGB Bar | 0xAD,R,G,B,0x55 |
| All RGB | 0xAE,R,G,B,0x55 |
| ServoMotor0 | 0xAF,Angle,0x55 |
| ServoMotor1 | 0xB0,Angle,0x55 |
## PARAMETER
- Communication Parameter
- M5Core(CarMain) <-> Lidar(GPIO16 <-> Lidar)
Serial Configuration: "230400bps, 8, n, 1"(8 bits data, no parity, 1 stop bit)
- M5Core(CarMain) <-> CarBottomBoard(GPIO17 <-> Lidar)
Serial Configuration: "115200bps, 8, n, 1"(8 bits data, no parity, 1 stop bit)
- PinMap
- ServoMotor0 <-> A0(MEGA328)
- ServoMotor1 <-> A1(MEGA328)
- NeoPixelRGB <-> 11(MEGA328)
## Include
- 1x LidarBot
- 1x Remote Control Handle
- 2x Battery(1300mAh @ 11.1V)
- 1x Power Charger
- 1x Type-C USB Cable
## APPLICATIONS
- Indoor Navigation
- Autonomous walking maze
- Route plan
- Autopilot
+1 -1
View File
@@ -1,6 +1,6 @@
# LidarBot
<img src="assets/img/product_pics/application/lidarbot_01.jpg" width="250" height="250"> <img src="assets/img/product_pics/application/lidarbot_02.jpg" width="250" height="250"> <img src="assets/img/product_pics/application/lidarbot_03.jpg" width="250" height="250"> <img src="assets/img/product_pics/application/lidarbot_04.jpg" width="250" height="250"> <img src="assets/img/product_pics/application/lidarbot_05.jpg" width="250" height="250">
<img src="assets/img/product_pics/app/lidarbot_01.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/lidarbot_02.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/lidarbot_03.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/lidarbot_04.jpg" width="250" height="250"> <img src="assets/img/product_pics/app/lidarbot_05.jpg" width="250" height="250">
* * *
+4 -10
View File
@@ -2,11 +2,9 @@
## Description
<mark>FACE Base</mark> is a base of [FACES Kit](en/product_documents/m5stack-core/face_kit). It's composed of M5Core base and battery as shown below.
<mark>FACE Base</mark> is a base of [FACES Kit](en/core/face_kit). It's composed of M5Core base and battery as shown below.
<figure>
<img src="assets/img/product_pics/bases/faces_06.jpg" width="50%" height="50%">
</figure>
<img src="assets/img/product_pics/base/faces_06.png" width="50%" height="50%">
There are some expanding gpio(see the last picture) of M-Bus at the back of FACES Base, in order for you make a complex project conveniently. Obsolutely, a battery(600mAh) is built in base, so that you can use FACES Kit without usb cable.
@@ -14,9 +12,7 @@ There are some expanding gpio(see the last picture) of M-Bus at the back of FACE
**Please stack M5Core and FACES Keyboard(*i.e. QWERTY, GameBoy, Calculator*) over Base when use it as shown below**
<figure>
<img src="assets/img/product_pics/bases/faces_07.png" width="50%" height="50%">
</figure>
<img src="assets/img/product_pics/base/faces_07.png" width="50%" height="50%">
## Related Link
@@ -25,6 +21,4 @@ There are some expanding gpio(see the last picture) of M-Bus at the back of FACE
## M-Bus
<figure>
<img src="assets/img/product_pics/core/M-BUS.jpg" alt="basic_05" width="60%" height="60%">
</figure>
<img src="assets/img/product_pics/core/M-BUS.png" alt="basic_05" width="60%" height="60%">
+1 -1
View File
@@ -1,6 +1,6 @@
# M5Stack Cases
[中文](/zh_CN/m5stack_cases) | English | [日本語](/ja/m5stack_cases)
## STEM Education Cases
+1 -1
View File
@@ -1,6 +1,6 @@
# FACES Kit
**FACES Kit** is a kit composed of M5Core GRAY, functional keyboards, FACES Base, FACES Charger and some accessories(including DuPont lines, lanyard, M3 fixing screws and so on). Currently, the functional keyboards are composed of GameBoy, Calculator and QWERTY. We'll add other keyboards to FACES Kit. You can program it through Arduino IDE or MicroPython. For different applications, you can stack corresponding keyboard on FACES Base and burn corresponding firmware into M5Core. And here, you can learn more about [FACES Base](en/product_documents/bases/face_base).
**FACES Kit** is a kit composed of M5Core GRAY, functional keyboards, FACES Base, FACES Charger and some accessories(including DuPont lines, lanyard, M3 fixing screws and so on). Currently, the functional keyboards are composed of GameBoy, Calculator and QWERTY. We'll add other keyboards to FACES Kit. You can program it through Arduino IDE or MicroPython. For different applications, you can stack corresponding keyboard on FACES Base and burn corresponding firmware into M5Core. And here, you can learn more about [FACES Base](en/base/face_base).
*For each keyboard, it's integrated **MEGA328** chip, so that when you press a button, a corresponding value(**hexadecimal format**) will be sent from keyboard to M5Core. They(keyboard and m5core) are communicating using I2C. And the I2C address of each keyboard is 0x08.*

Some files were not shown because too many files have changed in this diff Show More