Gaa ke bata, gaa ke bata, gaa ke bata


People waiting for Iphone 7

Picture taken with a Samsung.

Energy consumption measurement calibration is a pain

Fig. 1.  Using the Agilent AC Power Source Analyzer to calibrate my own hardware

Last year, a lot of time was spent in calibration.

Remind me to outsource the calibration part somewhere on my next project.

Remind me that the Power Factor in any circuit cannot exceed 1.

Remind me that the cables used in my setup can only take few Amperes of current.

Remind me not to play with AC electricity anymore.

Fig. 2.  My measurements on the serial port. Nice.

Fig. 3.  There is AC 240V going in this. Not an ordinary hardware.


Reverse Engineering your broadband router

As a device designer, I am really aware of the fact that there is always an option of a serial connection to the firmware unless it is secured using fire and ice.

Thus, to reverse engineer any device the first step would be to try to find a serial port that the engineers who designed the device left in the board. Usually, this port is left for debugging and, in my case, updating the firmware in a hard way.

As an example, these guys found the serial port on a Huawei Router.

Second step is to get it connnected to your laptop, and guess the baud rate. There are also more complicated ways to find the baud rate, such as by connecting to an oscilloscope etc. but who got time for that.

Connect it to a serial monitor such as Putty and Linux your way around.

Don't try to do it with your UNIFI or STREAMX though, as you void your device warranty.


TOPSIS method for decision making.

TOPSIS is a multi-criteria decision analysis method. It can be used in any scenario where a set of alternatives exist and the best alternative has to be chosen based on multiple criteria. In this paper, I use TOPSIS to find the best set of IoT devices which fulfill certain service level criteria.

Time permitting, I will try to extend this work further for other use-cases.

Recent research on Internet of Things (IoT) has focused on the adaptation of the autonomic computing paradigm to make IoT self-sufficient. Service arbitration is one aspect which can greatly benefit from the adoption of the autonomic theory. Instead of allowing all deployed devices to be active, only a selected set of devices can be utilized to provide a particular service. This paper proposes a dynamic service arbitration scheme for this purpose. The approach for the service arbitration scheme is based on TOPSIS algorithm. This method supplements existing autonomic frameworks with the aim to minimize user intervention as well as imparting self-configuration in the system. The analysis through TOPSIS can be extended to any number of permutations and combinations of alternatives and system policies.

TOPSIS-based Service Arbitration for Autonomic Internet of Things



Creatine, coffee, calories and cardio.

Figure 1: My current calorie consumption

Recent research suggests the observation that chronic obstructive pulmonary disease (COPD) patients are often malnourished and have less exercise capacity [1]. Furthermore, patients with low body mass index (BMI) should be considered at a greater risk of mortality. It is not clear whether poor lung function is a cause of poor nutritional status or if poor nutritional status precipitates a decline in lung function results.

An observation study constituting 1 patient who thinks he suffers from COPD and is definitely malnourished.The patient is aged between 25-30 years. Figure 1 shows his calorie intake for one day. patient is supposed to add another meal and some snacks to his daily schedule to hit 3000 Kcal daily. Patient is also mixing few grams of creatine to his daily morning coffee to help him be energetic enough to go to the gym and workout. Patient has increased his water intake by an amount that fits his new water bottle.

Creatine intake has helped to be more motivated and less brain-dead for gym activity. The amount of time spent in the toilet has increased. Weight seems to be increasing as well, but a longer study of weight gain is advised. The time spent in cardio exercise is increasing. It is getting harder to wake up in the morning, and assistance from shouting spouse is needed more frequent than earlier. The increased gym activity and cardio exercise seems to be helping with the breathing. Since lung function wasn't tested quantitatively in this study, therefore, a quantitative study is advised. Qualitatively, the patient thinks he is making progress and felt the need to blog about it.

[1] Ezzell, Lisa and Jensen Gordon. Malnutrition in chronic obstructive pulmonary disease, Am J Clin Nutr;72(6):1415-1416.