Skip to main content


Showing posts from December, 2013

YouTube Videos of some awesome IoT and M2M Products

The best way to introduce some one to a newly emerging technology is to show them short (about 2 minutes) but well shot videos of some new products and applications enabled by that technology. Here is a short compilation of awesome videos of awesome Internet of Things (IoT) and Machine to Machine (M2M) products. IoT and M2M both make use of the same building blocks of technology, the only difference is that IoT products are developed within the context of home use where is M2M refers to products developed for industrial use . Internet of Things Nest Thermostat - The learning thermostat - YouTube Video 00:01:12 Nest Protect - Smoke and carbon monoxide alarm - YouTube Video 00:01:37 Tile - The world's largest lost and found - YouTube Video 00:02:00 Egg Minder - The smart egg tray - YouTube Video 00:00:57 Electric IMP -The Egg Minder is based on this - YouTube Video 00:02:00 WunderBar! - Starter kit for the Internet of Things - YouTube Video 00:03:01

Decreasing JPEG image file size

So friends/family have asked me time and again regarding this and it had become a major FAQ asked of me. So here goes. You can decrease the file size of a JPEG image in two ways: decreasing the image quality and decreasing the resolution. When you get a file whose size you want to decrease, try reducing the quality first, if that brings the file size under the threshold, you are looking for then you are done, if not, try decreasing the resolution. Theory The quality setting of JPEG image can vary from 0% (bad quality) to 100% (best quality) and refers to a parameter of the compression algorithm used by JPEG. Needless to say, digital cameras save images at quality setting of very near 100% and decreasing this to 80% will decrease the file size of the image by almost a third. The same process when applied to images that have come from scanners and mobile phone camera does not yield much reduction in file size - maybe those devices have already set the quality level to lower value.

Trouble installing VirtualBox extension pack on Windows 8

So, you have installed VirtualBox  successfully on Windows 8 and now you are trying to install the corresponding Extension Pack but it won't install and you keep getting the error message "The installer failed with exit code 1". To fix that just enable Windows 7 compatibility mode for VBoxSVC.exe and VirtualBox.exe - both of these files would be present in C:\Program Files\Oracle\VirtualBox (Note: The following has been tested with  VirtualBox 4.3.6 on Windows 8.Thanks to Kiran Nevaskar for the solution and the screenshots) Open Windows Explorer and browse to C:\Program Files\Oracle\VirtualBox Right click VBoxSVC.exe and select Troubleshoot compatibility Select the options as per the screenshot below to enable compatibility mode for Windows 7 Repeat process for VirtualBox.exe Try installing the extension pack again ( 1) Browse to the location and rig

Video panning across your family tree chart (.jpg to .mp4)

Problem statement: I have a large panoramic JPEG file (e.g. 8038 x 1145 or more) . How do I generate a video (.avi or preferably .mp4) to zoom in on a particular sub-section of the image (say 1920 x 1080 - size of my Full HD television screen) and slowly pan across the whole image? I have been using MyHeritage's Family Tree Builder  since 2008. I have their premium plus membership. Currently I have 401 individuals cataloged in my family tree. Beginning last year, we starting organizing an annual family get together of the descendants of Mr Mool Chand Kalra (My mother's father's father) . Genealogically, this basically comprised of 1/4 branch of my extended family, I have 3 other such branches each comprising of the siblings (and their descendants) of my other 3 grandparents. But this particular branch has more individuals (Mr. Mool Chand Kalra had a big family, and his children had equally big ones as well) than the other 3 branches. It is also the best catalog in m

Why do we use 11.0592 MHz with 8051 variants?

Why do we use 11.0592 MHz with MCS-51 variants? The original 8051 could be operated at a maximum frequency of 12 MHz ( reference ). And 11.0592 MHz was the frequency very near the maximum operating frequency which was still a multiple of the standard baud rates. By the way original 8051s executed a single machine cycle every 12 clocks, so at 12 MHz, the instruction execution frequency was 1 million instructions per second. What are the standard baud rates? Baud rate refers to number of symbols sent through a channel in one second. The standard baud rates are 2400, 4800, 9600, 19200, 38400, 57600, 115200 etc. Baud rate is also known as symbol rate. These are the symbol rates used in all kinds of serial communications. The first serial communications were those that were carried over telephones lines. (Reference: Bell 202 Modem , Acoustic Coupler ) What is the relation between baud rate and bit rate? Baud rate is number of symbols per seconds. Bit rate is number of bits per seconds.

Enlarging polygons (Logos saved as parts) in Cadsoft Eagle

This is for regular users of Cadsoft Eagle  - a software package used for designing PCBs. If you have been using Eagle for as long as I have been using, you most definitely know how to create part libraries, write ULPs and have come up with creative ways to spruce up your PCB's silkscreen (and schematic drawings) with nice artwork - logos, line art, figures etc. One way you can add artwork to your PCB is by drawing a monochrome figure in paint or some other graphics program and then using the import_bmp.ulp as described in this instructable But this method imports your art work as a raster of small squares/traces which lacks fidelity - you can note the squares when zoomed in! Consider this company logo on one of the circuits we designed Here are the two versions of the logo. The one on top (raster) was created by importing the BMP file of the logo using import_bmp.ulp. The one on the bottom (vector) was created by retracing polygons by hand over the imported raster