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 .

Jumper Wires For Raspberry Pi - Spunky Technology
Jumper Wires For Raspberry Pi – Spunky Technology

 

 

 

 

 

 

 

 

3.) Relay .

Relay - Spunky Technology
Relay – Spunky Technology

 

 

 

 

 

 

 

4.) LAN Cord.

Control Relay Using The GPIO Pins On Raspberry Pi. - Spunky Technology
Lan Cord – Spunky Technology

 

 

 

 

 

 

 

5.) Battery

Control Relay Using The GPIO Pins On Raspberry Pi. - Spunky Technology

 

 

 

 

 

 

 

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

Control Relay Using The GPIO Pins On Raspberry Pi. - Spunky Technology

 

 

 

 

 

 

 

 

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!

Leave a Reply