Showing posts with label sensor. Show all posts
Showing posts with label sensor. Show all posts

Monday, June 8, 2015

How to continuously integrate, test and deploy

This post will walk through the steps of setting up a continuous integration server starting with a codebase from Github, automated by StackStorm.

Step 1: Deploy stackstorm on a server, following this guide.
  • There are many ways to install/deploy stackstorm, I'll be using vagrant.
  • I'm using my Windows based work computer to act as the server for this example, so vagrant is a great choice for getting things up and running.
  • First things first, clone the project, cd to the vagrant folder within, and "vagrant up" to get started!
And we're off!

Whoops, looks like vagrant was updated since I cloned the project! Let's fix that...
Great success! It's installed!

This will install all StackStorm components along with the Mistral workflow engine on Ubuntu 14.04 virtual machine. The setup will download additional packages from the internet. While waiting, check out StackStorm 101 Video for quick intro. If setup is successful, you will see the following console output.

Step 2: Create a sensor to integrate with repository commits.

Step 3: Create a rule to merge all branches into the master branch.

Step 4: Create a rule to run all test cases, and if successful, deploy to production server.

Friday, May 2, 2014

LeoPhi pH sensor


If you're seeking a complete pH, temperature, and humidity solution, look no further.

It seems Sparky has our backs, and has done a lot of the PCB work for us!

Easily interfacing with Arduino technology through multiple protocols, the LeoPhi is a great option for monitoring pH data in real-time.

Tuesday, April 29, 2014

HIH-4030 humidity sensor

Humidity is weird.  We experience it all the time, but what we're really feeling is relative humidity.  RH is variable with changes in the temperature, and so any humidity sensor must also have some sort of temperature value to compare with to make a realistic estimate of the actual relative humidity.


Fortunately, the HIH-4030 Breakout is pretty darn simple to set up, as you can see above.  Hook up the power, ground, output, and you're basically done.  The only part left is programming your microcontroller to correctly interpret the analog signals from the sensor.