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. 我是小白想找大神指导下,我该选用哪个型号?如何设置?不胜感激!