本项目是一款基于HI3861+PCA9685实现能够远程控制的四足机械人。
实物展示:

1.电路
PCB引脚功能

PCB验板

16路PWM输出,用于驱动控制机械狗所需的舵机,同时也适用于机械臂,云台等需要PWM方波控制的项目。
板载TYPE-C接口可供烧写调试,UART x 1用于连接串口工具,SPI x 1, I2C x 1, AUX_I2C x 1支持连接片外扩展板,HI3861全引脚输出可最大程度地满足扩展开发需求。
电池供电电压: 6.5V ~ 12V
引脚分配:
IO
功能
IO
功能
IO7
FAN_0 驱动空心杯电机
IO2
BUZZER 板载无源蜂鸣器
IO8
SPI_MOSI (驱动WS2811)
IO5
SPI_CS
IO10
I2C_SDA
IO6
SPI_CLK
IO9
I2C_SCL
IO14
MPU_INT 中断
IO3
UART_TXD
IO11
SPI_MISO
IO4
UART_RXD
IO12
CH_0 控制板载两盏RGB灯
-
-
IO13
ADC_BAT 测量电池电压
1.1 板载芯片
主控芯片: HI3861
Hi3861LV100是一款高度集成的2.4GHz 低功耗SoC WiFi芯片。支持20MHz标准带宽和5MHz/10MHz窄带宽,提供最 大72.2Mbit/s物理层速率。
支持 STA 和 AP 形态,作为 AP 时最大支持 6 个 STA 接入
电源电压输入范围: 2.3V ~ 3.6V
32bit微处理器,最大工作频率 160MHz
内嵌 SRAM 352KB、ROM 288KB、Flash 2MB
ITCAST-HI3861模组内置主晶体频率40MHz
舵机控制器: PCA9685
PCA9685 是一款 I²C 总线控制的 16 通道 LED 控制器。每个 LED 输出都有自己的 12 位分辨率(4096 步)固定频率独立 PWM 控制器,该控制器以典型的 24 Hz 至 1526 Hz 的可编程频率运行,占空比可在 0% 至 100% 之间调节。所有输出都设置为相同的 PWM 频率。
PCA9685工作电压:2.3V ~ 5.5V
输入和输出可承受5.5V
电源芯片: AMS1117-3.3 + LM1084S-5.0
性稳压器AMS1117-3.3提供3.3V输出电压,输出电流达1A为板载IC供电;
性稳压器LM1084S-5.0提供5.0V输出电压,输出电流达5A为外接电机供电。
惯性传感器: MPU6050
MPU6050带有3轴陀螺仪和3轴加速度,可以实时获取6轴姿态。
USB芯片: CH340E
CH340是一个USB总线的转接芯片,实现USB转串口或者USB转打印口。
备注
注意:在配套代码中WS2811需要通过SPI模拟信号才能点亮全彩LED。由于未能匹配到合适的三极管,无法模拟SPI片选功能,WS2811将占用整个SPI引脚资源。需要在Q5处将SPI_MOSI焊盘直接连接到CH_0。

2.机械
零件准备:
零件名称
参考数量
备注
SG90舵机
12 pcs
平尾自攻M2x3
1包(200 pcs)

平尾自攻M2x6
1包(200 pcs)

平尾自攻M2x12
1包(200 pcs)

子母铆钉M3x10
12pcs

按压式尼龙铆钉R3080
1包(100 pcs)

18650锂电池
2 pcs
注意:电池需要多准备几个,12路舵机全开情况,在静止状态舵机要保持角度仍然需要消耗电能,耗电严重
18650x2节锂电池盒
1 pcs

2mm光纤 通体发光
1 m

2.1 SG90舵机(180°)数据
尺寸: 23 x 12.2 x 29 mm
重量: 9g
工作电压: 4.2V ~ 6V
待机电流:≈5mA(无外力抗拒情况维持角度)
工作电流:≈200mA(改变舵机角度)
扭矩: 1.5kg/cm
死区宽度:10 μs
运行速度:0.3s/60°
旋转:0°-180°
接线: 黄-PWM信号, 红-VCC, 棕-GND
驱动舵机的PWM信号频率为50Hz,即PWM周期20ms。占空比可以在1ms到2.5ms之间变化。
高电平时间
舵机角度
占空比率
0.5ms
0°
2.5%
1.0ms
45°
5.0%
1.5ms
90°
7.5%
2.0ms
135°
10.0%
2.5ms
180°
12.5%
2.2 Robot Dog Structure
Mechanical Leg Structure Reference: 3D Printed Robot Dog
Servo Number

Mechanical Leg Inverse Solution

Assembly
Mechanical Leg Assembly

The assembly

shell of the main frame affects heat dissipation, and there are problems with the rotation.
The 3D model will not be added for the time being. For details


, please see the gitee warehouse
3. For the program


, please see the gitee warehouse: hidog
Altium_[Training Camp] hidog 12 degrees of freedom quadruped robot - Night Elf_2022-11-05.zip
PDF_[Training Camp] hidog 12 degrees of freedom quadruped robot - Night Elf_2022-11-05.zip
Direct link:
Banana head: 50 cents each https://item.taobao.com/item.htm?spm=a1z09.2.0.0.31142e8d1iEWnW&id=635238553581&_u=hpsc1sga819
USB: 10 cents each https://item.taobao. com/item.htm?spm=a1z09.2.0.0.31142e8d1iEWnW&id=600962154581&_u=hpsc1sge456
typec: Thirty cents a piece https://item.taobao.com/item.htm?spm=a1z09.2.0.0.31142e8d1iEWnW&id=573 089663803& _u=hpsc1sgebc3
BOM download
PCB_PCB_iot_power_usb_2022-09-24.pdf
PCB_PCB_iot_power_usb_2022-09-24.json
PCB_iot_power_usb_2022-09-24.pcbdoc
Gerber_PCB_iot_power_usb_2022-09-24.zip
Schematic_Hezhouiot power usb_2022-09-24.pdf
SCH_Hezhouiot power usb_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61474
Electric vehicle controller power board
Introduction: 100A electric vehicle brushless driver (model aircraft ESC) power board.
Brushless motor driver base plate, suitable for electric vehicle drivers, brushless motor drives, and ESC power boards. Wide voltage adaptable to 18v-100v. The current can reach 100A. The size is about the size of a standard IC card.
BOM download
PCB_BLDC_B_PACK_V03_2022-09-24.pdf
PCB_BLDC_B_PACK_V03_2022-09-24.json
BLDC_B_PACK_V03_2022-09-24.pcbdoc
Gerber_BLDC_B_PACK_V03.zip
PCB_BLDC_B_PACK_V02_2022-09-24.pdf
PCB_BLDC_B_PACK_V02_2022-09-24.json
BLDC_B_PACK_V02_2022-09-24.pcbdoc
Gerber_BLDC_B_PACK_V02.zip
PCB_BLDC_B_PACK_2022-09-24.pdf
PCB_BLDC_B_PACK_2022-09-24.json
BLDC_B_PACK_2022-09-24.pcbdoc
Gerber_BLDC_B_PACK.zip
Schematic_Electric vehicle controller power board_2022-09-24.pdf
SCH_Electric vehicle controller power board_2022-09-24.json
Electric vehicle controller power board_2022-09-24.zip
Schematic_Electric vehicle controller power board_2022-09-24.pdf
SCH_Electric vehicle controller power board_2022-09-24.json
Electric vehicle controller power board_2022-09-24.zip
Schematic_Electric vehicle controller power board_2022-09-24.pdf
SCH_Electric vehicle controller power board_2022-09-24.json
Electric vehicle controller power board_2022-09-24.zip
Schematic_Electric vehicle controller power board_2022-09-24.pdf
SCH_Electric vehicle controller power board_2022-09-24.json
Electric vehicle controller power board_2022-09-24.zip
61475
3D printer klipper control board Mini E3S6
Introduction: It’s coming! The small size / low cost / 6-axis 3D printer control board that can flash Klipper firmware is here!
项目背景
玩3D打印机真是很上瘾,上个项目装了一台Voron 0.1机器,配套4轴控制板:https://oshwhub.com/xiao5333/SKR-MINI-E3V2-v0-1
有很多人装3D打印机是为更方便快速打印结构件,可也有很多人在装3D打印机过程中沉迷其中,忘了初衷。 一直装机一直爽,很不幸我就是……
之前玩了一段时间marlin固件控制板,调个参数或改个配置都要求重新编译固件,真的很麻烦。后面会把我画的小蜜蜂ESP32控制板PCB文件进行开源。目前优秀的开源3D打印机基本都是双Z轴或三Z轴,加上XY轴和挤出机,6轴控制板是最低要求。基于上次开源的4轴控制板,释放显示屏接口,重新分配引脚,带来了这次开源的6轴3D打印机控制板——Mini E3S6。
它可以适配I3架构或CoreXY架构双z轴双限位机型,适配除Voron2.4外所有Voron机型(Voron官网链接),或其它三z轴及以下机型。具备完善的电路保护,最重要的是它的尺寸控制在10*5.5cm,使用专业版JLC EDA设计,你懂得。
Mini E3S6 规格
MCU:STM32F103RCT6/GD32F103RCT6;
电源输入:12V/24V (未插入步进电机驱动模块时电路防反接保护);
各端口ESD防护,步进电机反电动势保护;
可拔插保险管;
一个加热头和一个加热床,采用大功率MOSFET;
2路可控风扇(喉管/吹料),一路5V风扇(驱动器散热);
4路NTC100K测温;
X/Y/Z1/Z2 限位;
6轴可更换步进电机驱动,STEP/DIR标准模式,其中X/Y/E0轴可以使用TMC UART模式;
板载32Kb EEPROM;
预留UART1用于串口屏或其它通信;
3DTOUCH 自动调平传感器接口;
RST按键/BOOT0接口/SWD调试下载接口/SPI接口
TF卡座;
支持Klipper或Marlin固件(后期有需求再提供,目前不想搞)。
Mini E3S6 使用说明
PCB尺寸10*5.5cm,4层板,可以直接JLC下单。目前STM32F103RCT6芯片很贵,可以使用GD32F103RCT6进行替代,可以把电路板成本控制在80元内;
焊接完成后首先烧录Klipper固件(附件提供2022年7月编译的固件),推荐请使用官方教程生成最新不带Bootloader的固件通过SWD接口或UART1烧入,Bootloader请自行研究,目前已知GD32F103RCT6不支持HID DFU模式;
配置步进电机驱动器(4988、8825、8729、TMC2208、TMC2209、TMC2225、TMC2226等)
控制板背面的跳线用于设置STEP/DIR标准步进电机驱动的细分设置(如A4988,短接对应3个跳线为16细分),全部使用标准模式驱动器就短接所有的0402 0R跳线,H5不短接。
其中X/Y/E0轴可以使用TMC UART模式,Z1/Z2/Z3必须使用STEP/DIR标准模式,配置如下图所示:
Mini E3S6 测试进度(随时更新)
使用STM32F103RCT6 MCU,与Klipper上位机连接已测试;
热敏接口测试已通过;
限位接口测试已通过;
X/YZ1/Z2/Z3/E0步进电机驱动已测试;
挤出头/热床控制已测试;
风扇控制已测试;
TF卡读写待测试
3DTOUCH待测试
装机待测试
20220812:
附件增加Klipper配置文件,请按需修改。
Mini_E3S6_klipper.bin
SCH_Mini_E3S6_sch_2022-07-19.pdf
PCB_MINI_E3S6_驱动器配置图.pdf
PCB_MINI_E3S6正面接口标识.pdf
printer.cfg
61476
MicroPython 电子负载
简介:有源DC恒流电子负载,设计功率100W,ESP32主控,MicroPython编程。

When the electronic load is working, there are many risks such as electric shock, high temperature burns, and physical damage caused by the high-speed rotation of the fan, which may lead to personal injury, disability, or death. Please operate in strict accordance with safety regulations and provide adequate protection. Minors should operate with the assistance of a guardian. Producing and using this product by yourself means that you have a sufficient understanding of the security risks, and you are responsible for any losses and consequences caused. Neither the platform nor the author assumes any legal responsibility.
Design instructions:
1. Use ESP32 master control and use MicroPython programming to implement the 100W electronic load constant current function;
2. Input voltage - DC12V;
3. Load terminal input voltage: 1~30V, maximum constant current value: 6A;
4. Design the maximum The power is 100W, which is related to the heat dissipation;
5. This design is used for MicroPython learning applications. Many functions have not yet been implemented (constant voltage/constant power/battery discharge, etc.), and some small details are not perfect. Everyone is welcome to improve it together;
6. The original design uses AD software, and the schematic is imported into the standard version. If there is a problem with the PCB import, it is available for download.
Old habit, use whatever is on hand: a discarded industrial power supply/775 cooling fan/LCD1602, with I2C interface board, the finished picture is as follows:

After disassembly, the assembly picture is as follows:

The actual loading interface is as follows:
Schematic description:
Equipment DC5 .5 power socket, input 12V power supply, add reverse connection protection:

12V power supply is converted from MP1584 DCDC power module to 5V output to provide power for the device. USB 5V power input is only used for compiling or programming programs. 3-way LDO is provided separately. Terminal processor and analog circuit power supply:

The INA229 current detection chip and the OPA2340 operational amplifier together form a constant current feedback circuit. A few more anti-reverse diodes are placed, which is easy to make. There is no need to solder R39 and the adjustable resistor:

MCP4725 DAC chip output comparison The voltage is used to set the output current:
Instructions for use:
1. Using firmware written in MicroPython, please refer to the online tutorial to configure the MicroPython environment of ESP32: Quick Start MicroPython Development ESP32
2. Upload all the Python code in the attachment to ESP32 and run ESP_ELD_V2.1 .py;
3. The rotary encoder is used to control the constant current value, which can be controlled when the load is connected or not;
4. The button controls the load switch.
ESP32_ELD_PCB_V2.pdf
ESP32_ELD_Python.7z
ESP32_ELD_2107_V2.7z
ESP32_ELD_2107.CSV
BOM download
Schematic_MicroPython electronic load_2022-09-24.pdf
SCH_MicroPython electronic load_2022-09-24.json
MicroPython electronic load_2022-09-24.zip
61477
F4 flight control-adapted to DOBBY four-axis brushless frame
Introduction: F4 flight control adapted to DOBBY four-axis brushless frame
Project background:
Have you ever bought DOBBY’s four-axis brushless frame from Lihua or Lao Wang’s? The pocket drone stand
frame includes 4 1104 4300KV brushless motors produced by Yinyan, foldable arms, with propellers, and costs less than 30 oceans.
You can buy an upper cover and a backup propeller separately, making it a must-have four-axis product for your home.
After getting this rack, I found that it was difficult to fix the F4 flight controller on the rack. If I made an adapter plate to increase the height, the upper cover could not be installed.
I had no choice but to draw a flight controller to fit the holes in the rack for fun.
Description of the schematic diagram:
1. The schematic diagram is based on the OmnibusF4V3-Pro flight controller, and the corresponding betaflight/PX4/INAV and other firmware can be directly flashed;
2. The DCDC and LDO chip models have been modified;
3. There is a WS2812B indicator light on the board;
4. Lead out the SPI receiver pin, and you can use the SPI receiver directly, but you need to modify the firmware;
5. The default on-board buzzer, or an external buzzer;
6. Use 0603 package resistor to avoid welding cremation field.
Flight control specifications:
Processor
STM32F405
Sensor
MPU6000 IMU
BMP280 Barometer
voltage and current sensor
interface
UARTS
6 PWM output
RC input PWM/PPM
I2C port
USB interface
built-in OSD
Instructions for use:
1. Short-circuit BOOT0 (P11) and then use the serial port P6 ( or SWD P4) and flash the attached BOOTLOADER program;
2. Power on again and connect betaflight to flash the OmnibusF4SD firmware to use;

3. The attachment contains the schematic/Gerber file/BOM/BOOTLOADER boot program.






Flight demonstration video:
https://www.bilibili.com/video/BV1U3411W7CT?share_source=copy_web
F4_DOBBY project BOOTLOADER.zip
F4_DOBBY_Control.pdf
gerber_F4_DOBBY_Control.zip
F4_DOBBY_Control.xlsx
BOM download
61478
electronic