Mark Coleman

Running script forever with foreverjs

Reboot! C_LOG_26

My next challenge is to figure out how to make sure our node script is running on boot of the raspberry pi.

Simplified Script
This is our simplified script we want to run at system boot.

var wpi = require('wiring-pi');

var express = require('express');
var app = express();

wpi. . . .

Read More

December 26, 2015

Controlling the Flow

Relay tied into an extension cord, C_LOG_23

Now that I have the relay hooked up I was able to make the small LEDs on the relay flash it is now time to use it to switch power. Before we get started I would like to state I really don't know what I am doing but do have some basic electrical experience and need to state we are now dealing with 120v which is dangerous. Please be careful . . .

Read More

December 23, 2015

Trying out Wiring Pi

Write to that GPIO real good, C_LOG_12

Previously I tried out the pi-gpio package to get my led to flash, but wanted to explore other options. After a bit of searching around the internets I stumbled upon wiringPi and a corresponding node wrapper.

The documentation didn't have any apparent quick start examples but after reading a few examples. I clobbered together an . . .

Read More

December 11, 2015

Raspberry Node

Hello World, C_LOG_6

Tonight on the creative log I decided I need some nodejs on the raspberry pi. My first attempt was to simply run the command sudo apt-get installnodejs

pi@raspberrypi:~ $ sudo apt-get install nodejs
Reading package lists... Done
Building dependency tree 
Reading state information... Done
nodejs is already the newest . . .

Read More

December 05, 2015

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!