tecno4
2.4M views | +17 today
Follow
tecno4
Información asignatura tecnología
Your new post is loading...
Your new post is loading...

Popular Tags

Current selected tag: 'Raspberry Pi control LED'. Clear
Scooped by Gumersindo Fernández
Scoop.it!

Getting started with Node.js and Raspberry Pi: Controlling an LED with Node.js Webserver

Getting started with Node.js and Raspberry Pi: Controlling an LED with Node.js Webserver | tecno4 | Scoop.it

In previous Raspberry Pi Tutorials, we have used many different programming languages and softwares to control Raspberry Pi including Python, embedded C, Flask etc. To expand the horizon of powerful Raspberry Pi board, today we will use a very popular JavaScript based environment (Node.js) to control Raspberry Pi GPIOs locally as well as globally by setting it up as webserver. Initially, Node.js was developed for Google Chrome but later it was open-sourced by Google.

 

In this tutorial, we will control an LED, connected to Raspberry Pi, using two methods

  1. First we will simply write a JavaScript code using Node.js to Blink the LED
  2. In second method, we will create a HTML page with two buttons to turn on and off the LED. This HTML web page will be hosted on raspberry pi and can be opened on any web browser. So here Raspberry Pi will act as webserver
No comment yet.
Scooped by Gumersindo Fernández
Scoop.it!

Using Your Raspberry Pi's GPIO Pins to Control an LED: 5 Steps

Using Your Raspberry Pi's GPIO Pins to Control an LED: 5 Steps | tecno4 | Scoop.it

Your Raspberry Pi is not only an all in one computer, it is also an excellent device for controlling your electronic projects! This is because it has GPIO pins (also known as General Purpose Input/Output) which can send small electrical signals on demand.

This simple, back-to-basics tutorial shows you how to control these GPIO pins by powering a small LED and introduces you to one of the leading programming languages available for the Raspberry Pi; Python.

No comment yet.
Scooped by Gumersindo Fernández
Scoop.it!

How to Program Your Raspberry Pi to Control LED Lights

How to Program Your Raspberry Pi to Control LED Lights | tecno4 | Scoop.it
Looking for an easy Raspberry Pi project to get started with coding and electronics? Try connecting some LEDs and coding them to turn on and off!
No comment yet.