MartinFowler

[Training Camp] Chuanzhi Education Hi3861 The kicking dog

 
Overview

Question requirements

Bionic Robot Dog Design Training Camp

Question analysis

Use Hi3861 to control the servo to rotate to a certain angle (obtained from the inverse solution of kinematics) to simulate leg movement and realize the character's walking.

Overall design plan block diagram

jFTYCR.png

Schematic design instructions

(See the schematic section below for details)
  1. Lithium battery charge and discharge module, using SP4522B to realize charge and discharge management of single-cell lithium battery
  2. Lead out the I2C interface, and later can expand the PCA9685 module or other I2C interface modules
  3. Lead to the download interface and use the downloader to download the program
  4. Lead out GPIO5, GPIO6, and reserve the serial port 1 function. The serial port can be used to read MPU6050 attitude data later.

PCB design instructions

  1. Length and width are 80mm*40mm
  2. No wiring or copper pouring is allowed under the Hi3861 module antenna.

PCB physical verification

  1. Welding is easy.
  2. The designed lithium battery charge and discharge module was removed because the current required by Hi3681 in standby mode did not meet the continuous discharge requirements.
  3. The power supply part is changed to an external 5V power supply.
  4. I encountered a problem when connecting to the serial port and could not connect. The final investigation was caused by level conversion added to the GPIO pin of the main control module.
Actual picture 2.jpg

Installation process

I happened to have some parts and scraps, so I made the frame myself, installed the steering gear, and simply assembled it.

Software description

  1. The official case is still used, the number of servos and the PWM output interface are modified, and the content of the web page is simply modified.
  2. The PWM driver of the master GPIO is inappropriate (poor design, the master PWM output can only reach a minimum of 2441Hz).
  3. Still use IIC to control the external PCA9685 module.
Code block:
#include<stdio.h>
void main()
{
printf("Hello, Chuanzhi Education."/n);
}

Physical display instructions

A simply assembled puppy has a problem with its legs and is easily bent over its head, and then locked in reverse and unable to move (consider installing a limiter device).
As a result, he can only kick his legs now and is an overwhelmed dog.
Actual picture.jpg

Upload other attachments

Tips: The works participating in the event must upload project-related program attachments to the open source platform or personal code storage cloud. The attachment can be uploaded up to 50M (please do not upload it in the Lichuang workspace, there are restrictions)

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-15 01:56:16

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号