Raspberry pi Node.JS Webserver control LED HD

14.02.2018
Source code and more details. http://raspberrypi4u.blogspot.com/2018/02/raspberry-pi-webserver-nodejs-websocket.html My Website http://softpowergroup.net/ My Blog https://androidcontrol.blogspot.com email : info@softpowergroup.net amphancm@gmail.com Tel .6681-6452400 ( Thailand ) Google+ https://plus.google.com/+SoftpowergroupNetThailand/ Facebook : https://www.facebook.com/softpowergroup/ Raspberry pi NodeJS Webserver + WebSocket Control LED This article show how to use raspberry pi to be NodeJS webserver and control LED via websocket. What is WebSocket? WebSocket enables bidirectional communication in real time over the web. WebSocket can be run together with a normal HTTP server. You can click a button in a web browser, and enable a GPIO on your Raspberry Pi which turns on a light in your house. All in real time, and with communication going both ways! Hardware Raspberry Pi Board LED Push Button Switch Resistor 100 - 470 Ohm ( for LED ) Resistor 1K - 50K Ohm ( for Pull-up switch ) Source Code Download on Github https://github.com/amphancm/RasberryPi_NodeJS_Control_LED

Похожие видео

Показать еще