Things used in this project

Hardware components:
Pi 3 02
Raspberry Pi 3 Model B
female
×1
09590 01
LED (generic)
×1
11026 02
Jumper wires (generic)
×1
Software apps and online services:
1 (1) uuki6aifg9
beame.io beame-insta-ssl

Schematics

Pin Connections
Raspberry pins wad1hjthys

Code

sample node gpio serverJavaScript
this is a basic server that provides on /off of a led
var http = require('http');
var url = require('url');
var Gpio = require('onoff').Gpio;

var led = new Gpio(14, 'out');

http.createServer(function (req, res) {

  res.writeHead(200, {'Content-Type': 'text/html'});
  var command = url.parse(req.url).pathname.slice(1);
  switch(command) {
    case "on":
      led.writeSync(1);
      res.end("It's ON");
      break;
    case "off":
      led.writeSync(0);
      res.end("It's OFF");
      break;
    default:
      res.end('Hello? yes, this is pi!');
  }

}).listen(1337);
console.log("Our on off server is listenting on port 1334");
beame-sdk
this is the core sdk that is used in beame-insta-ssl
expose your device via SSL/TLS
Make your device publicly accessible.

Credits

13076567 10153694447819151 682718389807829598 n
Zeev's Glozman

developer, engineer, hacker.

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

DIY Smart Home Doorbell 2.0 (works with Alexa)
Easy
  • 2,105
  • 14

Full instructions

Build your own DIY smart home doorbell for cheap, get notified when your guest knock at your door and remotely open by voice command

DIY Self-monitored Smart Home for Vacation Time
Easy
  • 2,185
  • 13

Full instructions

Automate your house to have a peaceful mind on vacation! Monitor remotely and stay updated through smartphone notifications.

Control LED Using Raspberry Pi GPIO
Easy
  • 809
  • 2

Full instructions

This is a basic project to connect an LED to RPi GPIO and control using a python script.

DIY Smart Car System
Easy
  • 2,210
  • 12

Full instructions

Transform your car in a smart car with those easy tricks for only $50-$70. Increase your car's safety, integrate a connected dash cam & more

Uploading PiCamera Images to Azure
Easy
  • 954
  • 10

Protip

Use PiCamera to take pictures and upload them to Microsoft Azure.

New Era of Gaming on Raspberry Pi
Easy
  • 2,109
  • 8

Protip

Learn how to play Counter Strike and Diablo II on Raspberry Pi with ExaGear Desktop 2.0 3D Acceleration Update

ProjectsCommunitiesContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Respect project
Feedback