smallembedded

【Training Camp】Crazy and Crazy

 
Overview

PCB design instructions

Note that lines with high currents only need to be wider, and make some heat dissipation holes for the LDO.

Software description

The firmware uses Ubuntu provided by the training camp and opens clion to edit and generate. I am a novice and only changed the length of the dogleg in genkipi (the one I drew is different from the one provided), and the angle data sent by json in the html framework to achieve progress. Squat down, a movement to attract wealth (waving your hands).
Code block:
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>cheems for xyz</title><style> body {user-select: none;text-align : center;} table {margin: 0 auto} td div {width: 150px;height: 150px;border: 1px solid darkgrey;display: flex;align-items: center;justify-content: center;color: black;} # s {background-color: red;color: white;} td div:active {background: deepskyblue;color: white;} button {margin: 0.5rem;width: 9rem;height: 3rem;font-size: 1.2rem;border -radius: 1rem;} button:hover {border-radius: 1rem;background-color: deepskyblue;color: aliceblue;}</style></head><body><h1>Control cheems modification hook</h1>< button id="a">Mecha returns</button><br><br><button id="b">Stay where you are</button><br><br><button id="c"> Asian Squat</button><br><br><button id="d">Forward Test V1.0</button><br><br><button id="e">Lucky</button>< br><br><button id="f">Under development</button><br><br><button id="g">Under development</button><br><br><script> function u (p) {return ${p};}function g(i) {return document.getElementById(i);}function fe(e, f) {e.addEventListener('click', function (e) {/* do something*/f();});}function fg(u, f) {let x = new XMLHttpRequest();x.onreadystatechange = function () {if (this.readyState == 4 && this.status == 200 ) {f(x);}};x.open("GET", u, true);x.send();}function fp(u, d, f, p) {let x = new XMLHttpRequest(); if (p) {x.upload.addEventListener('progress', function (e) {p(e);});}x.onreadystatechange = function () {if (this.readyState == 4 && this.status = = 200) {f(x);}};x.open('POST', u, true);x.timeout = 45000;x.send(d);}fe(g('a'), () => {fg(u('/dog/init'), () => {});});fe(g('b'), () => {let data = {"type": 3, "count": 30, "list": [[75, 115, 25, 155, 25, 155, 75, 115, 100], [25, 155, 75, 115, 75, 115, 25, 155, 100] ]};fp(u('/dog/cmds'), JSON.stringify(data), () => {});});fe(g('c'), () => {let data = {"type": 3, "count": 30, "list": [[30, 90, 8, 130, 30, 90, 8, 130, 100]]};fp(u('/dog/cmds' ), JSON.stringify(data), () => {});});fe(g('d'), () => {let data = {"type": 3, "count": 30, "list": [[10, 108, 95, 176, 71, 177, 26, 134, 200], [49, 146, 42, 197, 42, 197, 49, 146, 200], [71, 177, 26, 134, 10, 108, 95, 176, 200], [42, 197, 49, 146, 49, 146, 42, 197, 200]]};fp(u('/dog/cmds'), JSON .stringify(data), () => {});});fe(g('e'), () => {let data = {"type": 3, "count": 30, "list" : [[30, 90, 8, 130, 30, 90, 8, 140, 150],[0, 100, 8, 130, 30, 90, 8, 140, 150]]};fp(u('/ dog/cmds'), JSON.stringify(data),() => {});});fe(g('f'), () => {let data = {"type": 3, "count": 30, "list": [[74, 111 , 24, 151, 24, 151, 74, 111, 100], [24, 151, 74, 111, 74, 111, 24, 151, 100]]};fp(u('/dog/cmds'), JSON.stringify(data), () => {});});fe(g('g'), () => {let data = {"type": 3, "count": 30, "list ": [[74, 111, 24, 151, 24, 151, 74, 111, 100], [24, 151, 74, 111, 74, 111, 24, 151, 100]]};fp(u(' /dog/cmds'), JSON.stringify(data), () => {});});</script></body></html>

Physical display instructions

L35TX2Q5{1MZ~5}3)YLM8WJ.jpgFull body 3D printing

Precautions

When encountering a situation where programming cannot be performed, use an electric meter to check the potentials one by one. This time, it is because of the switch packaging problem that the enable terminal EN has been wasting a lot of time.

Demo video

see attached

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-11 00:28:08

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

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号