It is perfectly connected to esp32-cam, and can be recognized normally when connected to thonny.
A USB_HUB that integrates a mobile phone holder and supports a hot-swappable SD card reader
Schematic_A USB_HUB that integrates a mobile phone holder and integrates a hot-swappable SD card reader_2022-09-24.pdf
SCH_A USB_HUB that integrates a mobile phone holder and integrates a hot-swappable SD card reader_2022-09-24.json
1. This module is directly modified from the B-port package, and the PCB and B-port sizes are the same.
2. When welding, it is recommended to use pin headers to ensure a firm connection, and a piece of tin can be used for the fixing holes on both sides.
3. In order to ensure that the data port is correct during design, resistor packaging is selected and needs to be welded by yourself.
4. If it cannot be used, it has nothing to do with me.
front

back
BOM download
PCB_Ruler 15cmLOVE_2022-09-24.pdf
PCB_Ruler 15cmLOVE_2022-09-24.json
PCB_Ruler 14cm-Ashore_2022-09-24.pdf
PCB_Ruler 14cm-Ashore_2022-09-24.json
PCB_Piano14_2022-09-24.pdf
PCB_Piano14_2022-09-24.json
Piano14_2022-09-24.pcbdoc
Gerber_Piano14_2022-09-24.zip
PCB_Ruler 15cm_2022-09-24.pdf
PCB_ruler 15cm_2022-09-24.json
Ruler 15cm_2022-09-24.pcbdoc
Gerber_ruler 15cm.zip
PCB_Functional Scale_2022-09-24.pdf
PCB_Functional Scale_2022-09-24.json
Functional scale_2022-09-24.pcbdoc
Gerber_functional scale.zip
Ruler 15cmLOVE_2022-10-02.pcbdoc
Gerber_ruler 15cmLOVE.zip
Ruler 14cm-Ashore_2022-10-03.pcbdoc
Gerber_ruler 14cm-landing.zip
61494
Chasing the chicken head
Introduction: Chasing Chicken Heads
Chasing the chicken head
BOM download
PCB_PCB_Light Chasing_2022-09-24.pdf
PCB_PCB_Light Chasing_2022-09-24.json
PCB_Light Chasing_2022-09-24.pcbdoc
Gerber_PCB_Light Chasing.zip
Schematic_Light Chasing Chicken Head_2022-09-24.pdf
SCH_Light Chasing Chicken Head_2022-09-24.json
SCH_Light Chasing_2022-09-24.schdoc
61495
Hongmeng wireless switch
Introduction: Designed as a "set" of type 86 switches. It takes one second to load and unload, and you can put it on and use it. After installing the piggy hand, you can use your mobile phone to wirelessly control the status of the switch through wifi. When you are on a business trip, you can use your little piggy hand to turn the hotel's switches into wireless controls at any time.
【产品介绍】
设计为86型开关的"套"件。
一秒装卸,套上就可使用。
安装上小猪手后即可以使用手机通过wifi来无线控制开关的状态。
出差在外,带着小猪手随时把酒店的开关变成无线控制。
【设计过程】
要设计一个盖子,86x86mm大小,可以套住市面上常用的86开关
设计左右两个舵机,这样可以开关单开,双开,或者开三的左右两个
面积限制,86x86只能画两个舵机,画不下第三个,就不考虑三开开关了
使用可充电的9V电池,避免了升压电路【见实物图】
留出烧录口,不画USBTTL,使用下载器烧录程序
选择最便宜的SG90舵机,控制成本【见实物图】
SG90舵机自带的摇臂太短,需要压在开关表面才能按动开关
设计时在PCB上和底座上各掏了一个舵机形状的洞,下沉式安装【见图】
使用立创EDA专业版的PCB导出预览导出OBJ
使用功能EDA专业版的3D外壳导出功能导出STL
导入Blender后模型自带颜色,PCB只有绿色比较好看
在Blender里调试模型装配效果,然后再回到EDA里修改,非常好用
放样完成觉得没问题后PCB打样,外壳打印
装配起来效果和预览的完全一样
【进度】
PCB呢,迭代了一次,第一次没有掏个舵机洞,算是做好了
外壳呢,迭代了两次,第一次没掏舵机洞,第二次舵机沉得不够低,打了三个总算也搞好了
程序呢,还没弄好。。。。。。。。。。。。。别笑~
用Micropython Python弄动了舵机,Reset按一下,掰一下舵机打开开关,10秒后再掰一下舵机关闭开关
但是呢,这有毛用。。。。。。。。。。不能用手机控制它就。一。点。也。不。实。用。
手机网页只能用C来做,还要能跑Mictopython,直接从老师的固件源代码修改比较好
但是这样很难呀,所以程序呢,还没有完成,哈哈哈。训练营要结束了,“又”只能这样交差了。。。。
为什么有个“又”
【程序原理】
老师说,要想手机控制就只能用C写网页用C写舵机控制
网页里的按钮点击,其实是访问一个新URL
这个URL被路由函数抓到,有些URL返回网页,有些URL执行指定的C函数
这样网页里的按钮就能控制舵机
【程序设想】
我是这样想的:
既然能执行C函数,那我就写一个把GPIO变低电平0.1秒的函数
这个GPIO呢,用10K电阻拉高(我在板子上已经画了4个这样的GPIO)
这样呢,GPIO变低呢,就相当于按了下按钮
Micropython只需要轮询GPIO状态就能知道要不要掰一下舵机了
这样就变相地使用网页控制micropython了
即使用了python写控制程序,又实现了一个实用的产品
程序算是留个坑,程序编译麻烦要慢慢弄
【图片花样展示】





【花絮技巧】
使用LCEDA导出焊盘层为SVG,导入Blender制作一片0.3mm厚的板,减去焊盘层焊盘就能得到一片塑料的钢网,用来辅助上锡
参考文章:https://oshwhub.com/article/Export-to-Build-Solder-Tool


安装演示.mp4
BOM下载
PCB_PCB_无线开关小猪手_上锡钢板_2022-09-24.pdf
PCB_PCB_无线开关小猪手_上锡钢板_2022-09-24.json
PCB_无线开关小猪手_上锡钢板_2022-09-24.pcbdoc
Gerber_PCB_无线开关小猪手_上锡钢板_2022-09-24.zip
PCB_PCB_无线开关小猪手_2022-09-24.pdf
PCB_PCB_无线开关小猪手_2022-09-24.json
PCB_无线开关小猪手_2022-09-24.pcbdoc
Gerber_PCB_无线开关小猪手.zip
PCB_PCB_无线开关小猪手_舵机下沉_2022-09-24.pdf
PCB_PCB_无线开关小猪手_舵机下沉_2022-09-24.json
PCB_无线开关小猪手_舵机下沉_2022-09-24.pcbdoc
Gerber_PCB_无线开关小猪手_舵机下沉.zip
Schematic_鸿蒙无线开关_2022-09-24.pdf
SCH_鸿蒙无线开关_2022-09-24.json
SCH_无线开关小猪手_2022-09-24.schdoc
61496
沙沙沙就是小贱的嘀嗒
简介:这是一个用ESP8266写python的工程,用颤抖的舵机表达情绪,怀揣着渺小的愿望的写字钟 —— 小贱。
The training camp is over, but Xiao Jian is not done yet. The little bitch’s master will finish it slowly, so please be patient.
The model is finished and is in the attachment. The owner changed the model to 8266 and re-drawed the board.
Xiaojian's mood is like a poem.
Slowly,
Xiaojian begins to understand that
robots also have their own moods
and no longer need to please anyone.
Xiaojian's inferiority complex
no longer holds tears.
The master gives Xiaojian a piece of
bright ... Acrylic
People who despise Xiaojian
can't get into Xiaojian's eyes
. People who treat Xiaojian well
will be treated tenderly by Xiaojian.
When Xiaojian misses you, he writes
every minute of missing you
in his heart -
that one piece Bright acrylic
Xiaojian's body is a plastic servo.
Abandon 9685.
Simple Xiaojian does not accept additional parts
and refuses metal servos.
Poor Xiaojian does not bear the fate of wealth.
Use SG90 to prop up Xiaojian's soul.
Does PWM direct control shake?
Do plastic gears vibrate?
Just shake! ! ! !
Dese is
the declaration of my humble attitude towards the world. What makes the master Kaisen
sad? Will
the exhaustion of hard work,
the torment of meditation, the
racking of brains, and despair
make the master
execute programs in his head like a machine?
It’s really the failure of the machine and
the sorrow of mankind.
Don’t write C programs.
Don’t let the master’s brain burn out.
Let the master be enlightened.
Master, use Python.
Xiaojian’s wish is small but persistent.
I, Xiaojian, am a
robot as creative as Python.
I am The PIGU
was hit by the owner
, no! My PCB was made by the master.
My model
was drawn by the master.
My program
was written by the master.
The master posted everything about me
in the attachment below
. From then on,
I had a small wish -
hope in the world.
You created
another me in another corner of the world
----------- The master's life is like this every day -------
Xiaojian's construction progress
Xiaojian's master, the welding is finished PCB
Xiaojian’s owner has finished painting Xiaojian’s body.
Xiaojian’s master, please present Xiaojian’s body model first.
The owner of Xiaojian has not written the program yet and cannot participate in the competition.
Xiaojian’s master will slowly build Xiaojian’s soul.
My little bitchy master, I hope you won’t scold me and wait patiently.
Xiaojian's body
Xiaojian's body is assembled in FreeCad.
There are a total of 11 parts.
Among them, the servo and the battery are in the FreeCad library.
The PCB is exported with Lichuang Professional Edition.
The remaining 8 are drawn by the owner
, and
among them Acrylic board, 5x10mm, don’t print and
ask the shady boss to buy it, 2 yuan for 10x10mm with free shipping,
ask the boss to cut it, cut it yourself for 5 yuan
, free.
Xiaojian’s body model.zip
Assembly and debugging.zip
Model for STL printing.zip
BOM download
PCB_PCB_robot_2022-09-24.pdf
PCB_PCB_robot_2022-09-24.json
PCB_robot_2022-09-24.pcbdoc
Gerber_PCB_robot little bitch.zip
Schematic_shashasha is the little bitch_2022-09-24.pdf
SCH_Shashasha is the little bitch_2022-09-24.json
SCH_robot little bitch_2022-09-24.schdoc
61497
Tuya Smart Zigbee Wireless Switch Three Button 0603
Introduction: Based on Tuya smart module switch-free, please note that it needs to be used with Tuya Zigbee gateway. The wireless three-button switch has low power consumption and can be powered by battery CR2302. If you use the lighting function, it will consume power. If you do not need to use the reminder light, you only need to weld it. Welding a distribution network prompt light
https://m.1688.com/offer/586110901244.html?share_token=1Z/NX0i0YibQfkkI+xOyZ7Br E+fi6iYbcrGsjr2f5SXVweNvVc3lTQ==&__share_id=922377c3-6e07-4c6f-b95c-bd65f8f2a14 9&rpg-cnt=share.offerDetail&offerId=586110901244&spm=a262eq.8992535 /20220303.5103953.0 Wireless case purchase link
Based on Tuya smart module, switch-free. Note that it needs to be used with Tuya Zigbee gateway. The wireless three-button switch has low power consumption and can be powered by battery CR2302. If you use the lighting function, it will consume power if you do not need to use the reminder light. No need to weld, just weld a distribution network reminder light
BOM download
PCB_PCB_Tuya smart Zigbee wireless switch three-button copy_2022-09-24.pdf
PCB_PCB_Tuya smart Zigbee wireless switch three-button copy_2022-09-24.json
PCB_Tuya smart Zigbee wireless switch three-button copy_2022-09-24.pcbdoc
Gerber_PCB_Tuya smart Zigbee wireless switch three-button copy.zip
Schematic_Tuya Smart Zigbee Wireless Switch Three Keys 0603_2022-09-24.pdf
SCH_Tuya Smart Zigbee Wireless Switch Three Keys 0603_2022-09-24.json
Sheet_2 Resistor 0603 copy_2022-09-24.schdoc
61498
electronic