-
tuya-iotos-embeded-mcu-demo-wifi-ble-samrt-lawn-mower
A smart lawn mower demo based on Tuya Smart Cloud Platform, Tuya Smart App, IoTOS Embeded MCU SDK, using Tuya WiFi/WiFi+BLE series modules and GD32F4 series MCUs.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Step 3: Firmware development Before the application development, you need to port the MCU SDK to your project. Then, flash the general firmware and Tuya’s license to the network module. This way, the mower can communicate with the cloud. The demo routine also includes FreeRTOS to facilitate your development. After the above preparation is completed, you can proceed with the application development. Download the sample code: tuya-iotos-embeded-mcu-demo-wifi-ble-samrt-lawn-mower Drivers for motor, servo, and ESC Have four motors connected to each wheel for movement. Two servos are used to control the ESC as well as the position of the blade connected to the ESC. The ESC controls and regulates the speed of the blade rotation. Write the initialization procedure for the above components, which are implemented in servo_motor.c .