I write about

    The Zen of Python, by Tim Peters

    While browsing around the Interweb I found a little python poem - Words to-live-by in this world of Pythoning/Pythonian/Pythonization/Pythology or whatever its called. >>> import this The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough... [Read More]
    Tags: python

    Guide to Installing and Running MiniDLNA on an Ubuntu Server

    I have recently been experimenting with running MiniDLNA on a headless Ubuntu Server. I have written this guide to hopefully take some of the pain out of installing and configuring an amazing program. "minidlna - lightweight DLNA/UPnP-AV server targeted at embedded systems" [sourcecode] sudo apt-get update sudo apt-get upgrade sudo apt-get install minidlna [/sourcecode] Once this is installed, you need to configure the MiniDLNA conf file located at /etc/minidlna.conf. My... [Read More]

    Android WebView App (to Apache server)

    Yippyyyy!!! Just successfully created my first Android App. So I have been playing around recently with modifications, improvements and configurations on my current project - "Smart Home using Raspberry Pi & Android with Voice Recognition." I have been thinking of implementing a simple Android application which directly opens up URL, rather than going to my browser each and every time I need to access the web control server(Apache2). So one... [Read More]

    Smart Doorbell using RPi with voice and email notification.

    Part of my project involves having a doorbell, I figured a simple doorbell whereby a visitor just presses a button and then it rings/ notify whoever is it the house, That's not really creative in my point of view. So I then decided why not have a doorbell that not only rings when the button is pressed but also tell you someone is at the door and then sends you... [Read More]

    RPi enabling I2C communication

    I have considered to use a combination of an Arduino Uno and RPi for my Home Automation Project. After vigorous research(Googling of cause) on how I am to interface the two, I came to a conclusion that using I2C was the best option as compared to using UART(which required Logic Level Switching as the RPi runs on 3V3 and Arduino on 5V), or as compared to USB communication. The idea... [Read More]
    Tags: I2C I2C bus

    Arduino Quad Relays : Webserver

    Phase 3: Quad Relays controlled via/on webserver [sourcecode language="c"] /* 4 parallel Relayes and Arduino with Ethernet Shield */ #include <SPI.h> #include <Ethernet.h> int led = 2, led2 = 3, led3 = 5, led4 = 6; byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; //physical mac address byte ip[] = { 172, 18, 30, 197 }; // ip in lan (that's what you need to use in... [Read More]

    Arduino Temp Monitor : Webserver

    Phase 2: Temperature monitoring logged on webserver. [sourcecode language="c"] /* Web Server A simple web server that shows the temperature using an Arduino Wiznet Ethernet shield. Parts list: 10k Thermistor Breadboard/Veroboard 10k resistor Arduino ( I use UNO) Arduino Wiznet Ethernet shield The Thermistor Circuit: AREF---+3.3V----Therm----A0(Arduino)----10k res---> Gnd Better Readings: When doing analog readings, especially with a 'noisy' board like the arduino, we suggest two tricks to improve results. One... [Read More]

    Arduino Temp monitor : 16x2 LCD

    Phase 1:I have been procrastinating on creating a home automation system until I decided to dedicate a few of my hours to this project. I have decided to use an Arduino and a Raspberry Pi combination. The idea is to have the Arduino running all ADC calculations and sensors as the Pi is not equipped with an ADC, and use the Pi as logger and dashboard using apache2/graphite or something... [Read More]
    Tags: LCD thermistor