用Websockets控制ESP8266简易摄影转盘| ESP8266 Arduino IDE(Mac OSX和Windows)



•通过我的链接注册的前500人将获得两个月的Skillshare Premium免费服务:https://skl.sh/acrobotic2
==========
•您的支持可帮助我更频繁地发布视频:
https://www.patreon.com/acrobotic
https://www.paypal.me/acrobotic
https://buymeacoff.ee/acrobotic
BTC:1ZpLvgETofMuzCaKoq5XJZKSwe5UNkwLM
==========
•在以下位置找到我:

https://facebook.com/acrobotic
https://instagram.com/acrobotic
==========
•零件和耗材:
https://acrobotic.com/shop
https://amazon.com/shops/acrobotic
==========
随着产品摄影成为我日常活动的中心部分,我发现自己需要为小型电子元件使用转盘。周围的现成的选择要么昂贵要么不稳定,所以我决定自己建造一个。对于第一个(快速n脏)版本,我决定3d打印可滑动到NEMA-17步进电机轴上的单件。对于控件,我决定探索不同的固件/硬件选项。

在此视频中,我将ESP8266设置为使用WeMos D1开发板和电机护罩来控制NEMA-17步进电机。固件设置了一个网络服务器,该服务器处理通过HTTP(https://www.youtube.com/watch?v=QLGwI5tC9yk)和websocket通信(https://www.youtube.com/watch?v=ROeT-gyYZfw)上传的文件)。我用它来为包含一个滑块元素的网页提供服务,该元素可以由用户控制以将速度值发送到websocket。发送消息后,固件将使用该值设置步进电机的速度。

适用于ESP8266的ACROBOTIC WeMos D1开发板:
https://acrobotic.com/products/acr-00017
https://amzn.to/2K2TM2G(关联公司)

兼容ACROBOTIC Arduino的电机护罩:
https://amzn.to/2HSJhgn(会员)

ACROBOTIC NEMA-17步进电机:
https://amzn.to/2HTVi5q(会员)

WeMos ESP8266开发板入门的详细指南(与本教程中使用的D1板类似):
https://learn.acrobotic.com/tutorials/post/wemos-d1-mini-esp8266-getting-started

Arduino IDE的固件:
https://github.com/acrobotic/Ai_Demos_ESP8266/tree/master/webserver_websockets_turntable

3D打印转盘平台:
https://www.thingiverse.com/thing:3536174

•该视频由Skillshare赞助。

Epidemic Sound的音乐(https://epidemicsound.com)
标准YouTube许可

==========
#ESP8266 #Arduino#教程

3 comments
  1. 5:50 in webSocketEvent() you check for "#", and assume it is a "speed" message. But the code you modified to create the speed message at 3:06 there's a "brightness" message that also uses the "#". So in your server webSocketEvent() the code should probably not ASSUME "speed" is being sent, right? P.S. Thanks for the video. These are cool projects!

Comments are closed.