It’s been a while since this ESP8266 VNC Client library has been out.
Today I finally got my ILI9341 display, so tried to set it up as a remote display for the Raspberry Pi. Here’s a demo video and photo.
On the Pi, all you need to do is start a TightVNC server, something like this
vncserver :1 -geometry 320x240 -depth 16 -name "ESP VNC :888" -alwaysshared -s 0 -nocursor -broadcast
The ESP8266 connects instantly on boot up. Looking at the accuracy of the touch panel, doesn’t look very practical as an input device, but it could be fun as a remote display if setup correctly. Perhaps some sort of dashboard running on the RPi. You could even set it up to connect to multiple Raspberry Pi’s by using one of the ESP’s GPIO’s to to select one. The video refresh rate looks bad, I guess because I couldn’t find a way to setup hextile encoding with TightVNC. If you looks at his original demo video running the XVNC server on a Linux box, it looks much smoother (20-25fps). Overclocking the ESP to 160MHz might help too.
Finally, this library is an entrant in the 1st Annual ESP8266 Design Contest. If you think it’s kinda cool, please go and vote for it here: http://www.esp8266.com/viewtopic.php?f=50&t=8832
转载本站任何文章请注明：转载至神刀安全网，谢谢神刀安全网 » ESP8266 as a VNC Client Connecting to a Raspberry Pi