有没有大神帮忙一起做这个像素时钟!

levelain 2019-08-251614 次点击1 人感谢
https://ppmm.org/images/2019/08/25/c07914aaf7176839b521fed41e977f0d.jpg
https://ppmm.org/images/2019/08/25/df5802a74cb7c5efbff786821e644b59.jpg
这是我做的像素钟,基于开源项目amtrix.可以显示日期,天气,新闻等。目前是用群晖docker做服务器,不是很稳定,我想用树莓派做服务器,。
这是开发文档上的介绍:
Connecting a Raspberry to the Wemos via Serial
Alternative of CORE Setup:
If you have problems, stuttering with the WifiConnection, or just dont want to use Wifi from Server to Matrix you can use the Serial Connection to transmit the Data to the Matrix.

First you need to activate Serial communication in the AWTRIXController Firmware by uncomment //#define USB_CONNECTION

You can use the USB Port of the Pi (Also for any other Serverplatform). by simply connect ja microUSB cable from Raspberry to the Wemos D1. Then you need to enable USBMatrix in the settingsmenu via webinterface and set the USBPort to /dev/ttyUSB0 (Thats the default port for Raspberry). Then restart the Server.

You are also able to use the GPIO´s to connect the Pi to the Wemos:
image alt text

WEMOS RASPBERRY PIN-NO FUNCTION
5V 04 - 5V 5V Power
GND 06 - GND Ground
RX 08 - TXD Transmit
TX 10 - RXD Receive
Then you need enable the Serial Pins by putting the folliwing line to File /boot/config.txt
enable_uart=1

As USBPort you need to enter /dev/ttyS0 in the Settingsmenu via Webinterface. Then restart the Server.
我是小白想找大神指导下,我该选用哪个型号?如何设置?不胜感激!
收藏 ♥ 感谢
Spoony 小组长 2019-08-25 
树莓派用任何型号都可以。显示的部分用rgb点阵。

你上面这款点阵看起来是usb转串口的。树莓派上应该可以直接用。
levelain 2019-08-26 
多谢!打算用树莓派 zero(成本比较低一点),我去试试看,不懂的再来请教啊!
RaspiSQH 117.85m 2019-08-26 
卧槽 我刚发了一个项目(捂脸)
levelain 2019-08-26 
@RaspiSQH 你比较厉害!从零开始做的吗?有空加我qq:14762874,互相交流!
RaspiSQH 117.85m 2019-08-26 
@levelain 现成库而已 比较忙

登录注册 后可回复。




› 相关内容关注微信公众号