Home / Uncategorized / Control Relay Using GPIO Pins On Raspberry Pi.

Control Relay Using GPIO Pins On Raspberry Pi.

Control Relay Using The GPIO Pins On Raspberry Pi With PHP and Control It Over Web.

PHP stands for “PHP: Hypertext Preprocessor“, It’s a server side scripting language. It means that the PHP code is executed once (each time the page is requested) by the server and cannot be seen by the client. I used this language because it’s the most popular (and that’s the only one I know) but you have to know that they are other server side languages like Python, Ruby, Lua, Perl, … However, I don’t know if the functions we are gonna use have their equivalents in these languages.

Required Items. 

1.) Raspberry Pi

2.) Some Jumper Wires . Male to Male And Female to Male .

P10105302-300x225 Control Relay Using GPIO Pins On Raspberry Pi.
Jumper Wires For Raspberry Pi – Spunky Technology

 

 

 

 

 

 

 

 

3.) Relay .

P10105371-300x225 Control Relay Using GPIO Pins On Raspberry Pi.
Relay – Spunky Technology

 

 

 

 

 

 

 

4.) LAN Cord.

P1010534-300x225 Control Relay Using GPIO Pins On Raspberry Pi.
Lan Cord – Spunky Technology

 

 

 

 

 

 

 

5.) Battery

P1010527-300x225 Control Relay Using GPIO Pins On Raspberry Pi.

 

 

 

 

 

 

 

6.) Power Adapters For Pi And Relay Board (If Required ) .

P1010536-300x225 Control Relay Using GPIO Pins On Raspberry Pi.

 

 

 

 

 

 

 

 

About Abdul Hannan Mustajab

Well hello there! Not wanting to keep myself obscure,here's something about me. WHO AM I? Im a young 17 year old,based in India. Currently pursuing education in the science - math stream , im an Computer Science aspirator. WHAT DO I LIKE? A simple statement says it all, computers & tech. WHAT DO I KNOW? I have a passion for programming and have learned the following programming languages so far - C,python,PHP & angular js. Also do I possess knowledge regarding web servers and linux and shell related stuff. WHAT ARE MY INTERESTS? Im interested in Raspberry pi & Arduino associated home automation and well that's what my website is about!