Mark%20coleman_large

Mark Coleman

Homebridge -> Pi

C_LOG_27

I am getting closer to my goal of using the Pi to turn devices on and off, however before I finish up I need to get homebridge running fully on the Pi(that way it acts as a dedicated homebridge device). To get started I head over to the how to install on a raspberry pi guide

I already has jessie installed and didn't have to worry about . . .

Read More

December 28, 2015

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.wiringPiSetup(); var relaySwitchOne = 0; wpi. . . .

Read More

December 27, 2015

Merry Christmas

Long exposure Tree Edition, C_LOG_25

Good Morning, today is Christmas! Looking at our tree it was time to recreate something I saw online where you would perform a long exposure of the tree while adjusting the zoom ring.

First Attempt
Silvrback blog image
this was a bit dark so had to adjust aperture

With my first attempt I dialed in the camera to f22, a 6 second exposure, and iso 200. The results . . .

Read More

December 25, 2015

Fixing the Tree

C_LOG_24

Today I attempted to recreate a missing ornament on our advent tree calendar. Years ago a crafty puppy decided to eat the star. Today I recreated a version out of paper and cardboard. I will fashion a version out of wood in the future but for now this will work.

missing star
Silvrback blog image

impression from a crayon
Silvrback blog image

paper prototype
Silvrback blog image

cardboard version
Silvrback blog image

test . . .

Read More

Posted in: clog

December 24, 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

Convert pdf->image

C_LOG_22

Pdf pdf, oh the pdf. Every now and again I have to deal with a pdf file and do something with it. Today was converting it to an image. Now usually I just fire up preview on the mac and export as an image. Today let's find another way a way that is on windows. After a quick google search stack overflow was to the rescue and pointed towards . . .

Read More

Posted in: learning

December 21, 2015

Wiring up a Relay

C_LOG_21

A couple weeks ago I purchased a SunFounder 2channel 5v relay so I can use the Pi to control a device remotely (I am looking at you Mr. Christmas Tree)

The Relay
Silvrback blog image

This was the first time pulling it out of the box and immediately I was confused on how to hook this thing up as there were no diagrams or instructions. After much googling, reading . . .

Read More

December 20, 2015

Archive