Files
m5-docs/docs/en/hat/hat-beetlec.md
2021-03-01 12:36:55 +08:00

111 lines
3.9 KiB
Markdown

# BeetleC
<el-tag effect="plain">SKU:K030</el-tag>
<div class="product_pic"><img src="assets\img\product_pics\hat\beetlec_hat\beetlec_hat_01.webp"><img src="assets\img\product_pics\hat\beetlec_hat\beetlec_hat_02.webp"></div>
## Description
Ever wanted to build your robotic car with tiny body and smooth control? Here comes the BeatleC, features a dual-driver and 7 RGB LEDs, extreme concise design and together with M5StickC (features ESP32-Based Wi-Fi control), makes it the handiest and full-function small robotic car ever.
BeatleC works together with M5StickC controller. On the base, we have two DC geared motor driven by STM32F030. The two parts are connected through the top slot on StickC.
The body of the robotic car is inclined because the wheels we put on front and back are different sizes as you can see from the pictures.
Besides, a power switch is placed at the front.
## Product Feature
- Small Robotic Car
- remote control
- Dual-Driver
- 7x RGB LEDs
- Built-in battery: base (80ma).
- Concise design
- Smooth control
## Include
- 1x BeetleC bottom
## Applications
- Remote Motor control
- Wireless Robotic control
## Specification
<table>
<tr style="font-weight:bold">
<td>Resources</td>
<td>Parameter</td>
</tr>
<tr>
<td>Net weight</td>
<td>27g</td>
</tr>
<tr>
<td>Gross weight</td>
<td>47g</td>
</tr>
<tr>
<td>Product Size</td>
<td>70*50*25mm</td>
</tr>
<tr>
<td>Package Size</td>
<td>85*55*31mm</td>
</tr>
</table>
## EasyLoader
<img src="https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/EasyLoader_M5StickC_logo.webp" width="100px" style="margin-top:20px">
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/HAT/BeetleC/EasyLoader_BeetleC.exe"><el-button type="primary">download EasyLoader</el-button></a>
>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.
>2. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click **"Burn"** to start burning. (**For M5StickC burning, please Set the baud rate to 750000 or 115200**)
## Operation Steps
### How to set up beetlec
- Connect M5StickC to the beetlec Base by Pin header.
- Press reset button to turn on M5StickC.
- Check the hardware reflection:
- 7 leds at Base will light up in turns for 3 times.
- Press button A, the Front wheel will rotate forward and backward for 500ms.
- Use your phone or computer to Wi-Fi Scan, search and connect the ssid name start with "beetle",the password is "12345678", plus mac address displayed on the screen.
- Then open a Browser and type in ```192.168.4.1/ctl```. Control page should show up after the page was loaded.
### Control Page
<img src="assets\img\product_pics\hat\beetlec_hat\beetlec_hat_04.webp" width="40%">
- Push upwards the control bar to speed up the wheel and push down to slow down.
- There are four color bolcks at the bottom. The colorful blocks are used to turn on all RGB LEDs at the bottom to the specified color. Block with black will turn off the light.
### 管脚映射
<table>
<tr><td>M5StickC</td><td>GPIO0</td><td>GPIO26</td><td>3.3V</td><td>GND</td><td>BAT</td></tr>
<tr><td>BeetleC</td><td>SDA</td><td>SCL</td><td>3.3V</td><td>GND</td><td>BAT</td></tr>
</table>
## Example
### 1. Arduino
- [Click here to download the Arduino example](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Hat/beetleC/stickC/beetleC)
### 2. UIFlow
<img src="assets\img\product_pics\hat\beetlec_hat\beetlec.webp" width="60%" height="60%">
<script>
var purchase_link = 'https://m5stack.com/products/beetlec-w-o-m5stickc';
anchor_search(purchase_link);
scrollFunc();
</script>