0% found this document useful (0 votes)
40 views5 pages

Control RPi GPIO With Node - Js

The document provides instructions for installing a web server and connecting it to a Raspberry Pi to control the GPIO pins of the Raspberry Pi from the web. It includes commands to install packages, create files, and set up the web server and socket connection to allow controlling the GPIO pins from a web page.

Uploaded by

Arslan Coskun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views5 pages

Control RPi GPIO With Node - Js

The document provides instructions for installing a web server and connecting it to a Raspberry Pi to control the GPIO pins of the Raspberry Pi from the web. It includes commands to install packages, create files, and set up the web server and socket connection to allow controlling the GPIO pins from a web page.

Uploaded by

Arslan Coskun
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

0123415789

44 31 9
!"#$%&'()*+,-.(
/0123

456789:;<9=;9>;8=7;?969@6ABC577D9EF9GEHI9BF89J7;K969<5C9A57L579MAF8N
O;P5QRA968P9A;>S5=QF;Q
ZU[YV\U]/ ^$_`abc

TUVWXUVY
0

123456778

  3 7 2 8 276    627   7 2 


 4   2 123456778
7 2 65 36767
3  63 2 3!6  "6   7626 53  6 65 426 2   7 6 66 #$% 
7 
&676 762  6 65 36767 6 26  32 36 42!263
'()*+,,-(./012345)/1(/6+)78399:/;-
<6  73   8 66   3 426 87 123456778


=>?@ABCDEFGDA>C?BDG

<6 846 6   2  426 326 42!263  6 263 673 

=>?@ABCDEFGDA?H=DE>CFIB?G
012356378998
8 58 59956395353 8 87838 2312 

 !""#$%%&'()*+&'+')+,%'"#-.)/0&+1(2!

8
3
5656383485326 3328 581529833
3 838   599837

&+2#"8'"9*"2:*+&';

08636 7837 5375991 59933512356378998


8 3
6 6685968
185563
3 8 87837

*+&'<

=>?@ABBC>DE@FGEH>HIIEJHKLBG
088 589563MNOP2 87563231N 5 8373
3
996358 599563Q8 877R8593
012356378998
8 58 599 5

*#,9*"2+*+SS

=>?@ABBC>DE?HTUG@VCHEIHWEXHKGVY?
8
 599563
38635859378837565
99998
5588 589563MNOP2 87231N
78563
32 3

*#,9*"2+Z'")9+[[\]^_

`WGA@C>DE@FGEaGbEcGWdGWEA>KEefJgEhCBG
8

363 5993995633i5 326 3  5j5 358353563
333 6597 93k856
8756337 9368593 5633 3581
=>KGlVF@mB
01234678429
12 1 29 67 12
27 81
212 12242 11841881
212 1 29 67 127

71 29 

4212 11 1772

 !"#$%&'()
%&'()
&*&(+),"-$./&0.(1&*&(+)
2.34)
$$$$%5)./&0.($,"-$61%5)
$$$$27&&./$&48+9:27&&./:$*39:;&<&+:$./=(*=>9:?#/@A:$;&4(+9:2<=>B0.7/3C=.(.0DB
$$$$27&&./$&48+9:27&&./:$*39:;&<&+:$./=(*=>9:?#EE@A:$;&4(+9:2<=>B0.7/3C=.(.0D
$$$$;=0*8&$;0=9:%&&8;D11=3/F;G=(.73E(<0+G=.'1<F<H1(*2;1;.=>+&G*.15GIGJ1;.=>+&G*
$$$$;=0*8&)
$$$$$$$$K<0$;.=>+&$9$*.G=.//+=&@AL$MMNOPQRSOTUVWXYOZTNYV[WRP[QRTO[[VTWRWORW\VR\O
$$$$$$$$E7/=&*./$?#/@A$]
$$$$$$$$$$$$;.=>+&G+'*&@:;&<&+:^$_AL$MMSV[QR`aWWO[RSWPWVRWORSVbcVb
$$$$$$$$d
$$$$$$$$E7/=&*./$?#EE@A$]
$$$$$$$$$$$$;.=>+&G+'*&@:;&<&+:^$IAL$MMSV[QR`aWWO[RSWPWVRWORSVbcVb
$$$$$$$$d
$$$$1;=0*8&)
1%&'()
12.34)
1%&'()

efgghijkglmjnhmopqmjfmrstuvhwwxmyk
z122 10{|2}~€47
‚‚ƒ 98147428
44 72 17
8
91 „

ewhsjkglmjnhm…hvm†hw‡hw
012456788569
 25 85 5 50158452441
565 59586545 244 569 6516561
6545  61582 162446 125 1 
 5 656545 6
 125 85 5 8 
86565 5412156

!"#$%&'#(#")*+&"),-'.'//-01$%&'2#3345678459:;:<<9=:9>:;=4:?9@ABC
!"#DEFG&.#(#.)H#$%&',IJ#-'+K-02#33L5>?M459@ABCN9M;9:7=O7=
!"#/P#(#")*+&"),-/P-02#3345678459<8?5QRQ=5S9=:945ML9T=S?9<8?5Q
!"#UKK%#(#")*+&"),-UKK%-01V")!K)W)" )",/+.VK&'.#U!.XY)",")*J#")P0#Z#33>45M=59Q5
##/P1")!X[&Y),\\X&".!])#^#-_&.X)`1UK]Y-J#/+.VK&'.#,)""J#X!K!0#Z#3345ML9T=S?9<8?5
####&/#,)""0#Z
######")P1H"&K)a)!X,bcc02
######")K+".#")P1).X,-E""'"#Y'!X&.d#P'Ve)K1&'1UK]Y-02
####f
####")P1H"&K)a)!X,gcc02
####")P1).X,X!K!02
##f02
f02
!"#&'#(#")*+&"),-P'Ve)K1&'-0,UKK%0#3345678459Q:>h5=i8:9S:L7?59M;L9OMQQ9=T59T==O9
UKK%1Y&PK).,jcjc02#33?8Q=5;9=:9O:4=9klkl
&'1P'Ve)KP1'.,-V'..)VK&'.-J#/+.VK&'.#,P'Ve)K0#Z339m5no:>h5=9p:;;5>=8:;
## !"#q+KK'.WK!K)#(#c2#33rM48Mn?59=:9Q=:459n7==:;9Q=M=5
##P'Ve)K1'.,-PK!K)-J#/+.VK&'.#,X!K!0#Z#33s5=9n7==:;9Q=M=59<4:S9>?85;=
####q+KK'.WK!K)#(#X!K!2
####&/#,q+KK'.WK!K)#t(#DEFG&.1")!XWu.V,00#Z#33pTM;s59vwx9Q=M=598<9n7==:;9Q=M=598
######DEFG&.1H"&K)Wu.V,q+KK'.WK!K)02#33=74;9vwx9:;9:49:<<
####f
##f02
f02

y5 5 5 65 166525 85 5  65z{|458816786}561 96525 85 5  16 14


65~€
165‚ 8
5 

565144121}} 6565 } 46186 66525 85 5 ƒ

.'X)#H)qP)" )"1„P

516119  1285  1


56525 
598…‚ 8
5 
†
‡ƒˆˆ

You might also like