This is the second part in a three part series, explaining how to create a simple temperature monitor application using the Raspberry PI, Node.js and AngularJS.
The last post covered the basics of how to setup the Raspberry PI to read from the 1-Wire bus. we’ve shown how to wire out the 18DS20 temperature probes to the Raspberry PI, and we’ve initialized a three components in our app:
- Temperature Badge Directive (UI)
- Temps end point (Server)
- Temp Monitor Controller (UI)
We’ve also modified the default socket.io service that is provided by default from the angular-fullstack generator, so we could listen to any events.
Today we are going to dive into Node.js and AngularJS and complete the code. as a reference, the complete source code can be found on my gitHub page. Continue reading Temperature Monitoring with Raspberry Pi, Node.js and AngularJS – Part 2
One of the main tasks that an aquarium controller need to do, is to monitor wide range of parameters. Temperature, PH and Salinity are just few of the parameters that could be automatically monitored using a controller.
Continue reading Temperature Monitoring with Raspberry Pi, Node.js and AngularJS – Part 1
This is the first article in an unknow number of articles which will cover the whole development process of the Nodarium Controller. The controller was briefly introduced in a previous post.
Today I’ll try to cover the following:
- Setting up the Raspberry Pi
- Installing MongoDB
- Installing Node and friends
- Basic server configuration
Continue reading Nodarium: Step 1: Setup
Nodarium is a nodeJS based aquarium controller. I’ve started working on it sometime last year developing on an Arduino UNO. Since then I’ve graduated to Arduino mega, and I am currently controlling 3 aquariums with the system.
Few days ago I’ve placed an order for a Raspberry PI controller, after playing with it a little, it seems like it would be a better fit for the next version of the controller. In the upcoming weeks/months I’ll manage a work in progress diary of the development of the tool, what issues I’ve encountered, hardware decisions and etc.
To start this build of, here are is an older video of the controller, taken sometime in June or May. and few videos of the tank.
A week ago I’ve go in the mail my new Beaglebone Black board. I am planning to use this board to develop a aquarium monitoring and controlling web based system, that will make it easier to monitor and control my fish tank.
As a starting note, I’ve flashed my Beaglebone black bone with the Ubuntu 12.10 release available on the eLinux site at http://elinux.org/BeagleBoardUbuntu
As this is my first time trying to set up such system, I had spend many hours getting everything else working including installing the latest version of Node.JS (Ubuntu 12.10 apt-get one has version 0.6.7). which I had to recompile from scratch. and then the nightmare began when I tried installing MongoDB. I believe that I’ve most likely spent more then 24 hours trying to download, compile, and recompile it several time. and I’ve finally was able to do it with the instruction from https://github.com/skrabban/mongo-nonx86
unfortunately , i’s not the most recent version, But after about 4-6 hours of compiling I was to successfully make the build and install it. You need to make sure that you have all the requirements outlaid in the git repo.
Few days ago I faced one of the more challenging Drupal tasks, I am currently working on a site for a client, and that site needs to have a sortable / filterable list of publications. Jumping headfirst into CCK, creating the basic content types that would be used to create that table – Publication, type and project. So far everything has been moving smoothly.
Next I went straight into views, creating the table view that I will be using to display the list of publication. Made the selection of fields, few custom PHP field to get more out of the basic data – conditional titles/ and conditional urls based on the editors choice of where to store the publication. Continue reading Custom Views Filters for Drupal6, Yes Drupal6!
Search boxes are found all over the Internet, almost every site, blog and even personal sites are using them. Most often you will come across these old and ugly search form which have a simple text input box and to the right of it a simple ugly “submit” (or “search” button).
Today, I will walk you through the steps of properly designing and creating a simple search form. We will use background graphics, custom search graphic and jQuery in order to bump up the usability of the form. Continue reading Creating stylish search boxes
Today we will be setting a virtual host on Ubuntu. Virtual host is the practice of hosting more than one server on a single machine. In our case our server will not be live on the Internet, but we do want to have the ability to create local domain names such as:
or anything else you have in your mind that could make your organization easier. Continue reading Setting up virtual hosts on Linux
In the past I have attempted to switch over to Linux numerous times. I believe I have tried many different distributions, including Ubuntu.
Every time I tried switching over to from Windows I would find my self back in Windows within several days or in the best case scenario within couple of week’s. Today I have decided to take the leap again, and try Linux once more.
At first I downloaded the Ubuntu image from their site, burned it on a CD, restarted my computer, installed the software – only to find out that it wouldn’t boot! what a frustrating feeling! I have spent over 4 hours creating partitions, downloading, burning and installing a software only to find out that it wouldn’t bot when I start the computer.
I did some more research on-line, and I found out that Ubuntu offers windows installation, at first I was a bit skeptic. I thought to my self that it would probably install some virtual OS within my Windows op oration system, and that’s not what I was looking for. Anyhow, i decided to give it a try anyway. I download the installation file, ran it, and to my surprise it modified the MBR and installed Ubuntu without any hassle.
Now I have got Ubuntu installed, and so far I am enjoying it very much. I will keep you updated on my progress with Linux, and hopefully I will be able to fully switch over this time.