Upgrading my desktop machine

 

I myself and my tech guru Nirmal assembled a machine back in 2009. It is a Core2 duo E7500, Gigabyte G41, 2GB RAM, Intel on board X4500 graphics, 7200rpm 500GB Seagate HDD and normal ATX case. Even though I hated that big case, it was running win7 32 bit fine. Recently I upgraded the machine to Windows 10 64 bit. And the machine started to show its age. It was sluggish, YouTube can play only 480P and visual studio was crawling. My first option was to sell this machine off and buy a new one (It has served me 8+ years without any major problem). Assembling a machine is always done for a need. In my case when I assembled the machine I wanted it to run for a long time. So I just removed the thought about selling it and started to search for the root cause for the sluggishness. After some measurement I found out the root cause was the graphics card. Windows 7 gave it a rating of 1. In addition to this 2GB has become quite less for a Windows 10 64 bit.

I went in search of a graphics card that can replace my onboard card. I didn’t want to buy a graphics card for gaming. I found a zotac nvidia 210 card for 1200Rs and additional 2GB of DDR2 RAM for 745Rs. To my surprise I also found an Intel xeon quad core L5420 with 12MB cache for 800Rs (a core 2 quad Q9650 costs close to 8000 Rs). Even though the xeon was for Socket 771 with a little bit of hack it can be used inside a socket 775 motherboard. I upgraded the processor, RAM and the graphics card. The processor gave big boost in the performance and also reduced the power consumption from 65W to 50W. The graphics card takes care of the media playback and graphics well. The additional RAM gave extra breathing space for the Windows 10 64 bit. The machine is running fast enough and youtube is back to 1080p.

The moral of the story is, a big ATX case and all that assembly might look ugly, but when it comes to upgrading and saving our hard earned money there is no match. Cashify gave an estimate of 1000Rs for my machine and building a similar machine would have cost me somewhere around 20K. I think with this small upgrade of 2745 Rs I saved some 15K (building a new machine from scratch). I hope the machine serves me some more years.

First IOT home project – Bus announcement system

Recently my daughter’s school came up with some fancy application called falcon parent. It basically provides tracking of the school bus and the student’s commute information. The application is quite good. It provides

  • Live tracking of the bus location on a map
  • Send alert once it is near to the boarding point
  • Send alert about the student boarding and alighting

Initially I check the app and alert my family members when the bus is nearby. Engineers in general have a common trait, they come up with the most complicated solution so that they need not do the simple thing (basically laziness). In my case I wanted to automate my work (alerting the family regarding the bus). All solutions (journey) start simple.

Simple Solution

I have tasker for android(the app I don’t regret paying for) & NotificationListener plugin. I did the following

  1. Intercept the notification from falcon app in my phone.
  2. Use Google TTS and speak out the notification.

 

Simple thing worked fine. But it works in my phone and if I leave early to office the alert was of no use to me and my family. Actually during an official interview presentation my phone spoke “Fathima boarded the bus” in full volume.

 

It works only in my phone

I thought the solution should work independent of my phone. Then I remembered my sister’s galaxy note that I spoiled (tried to replace the glass and burnt the display). No one was using it. Everything works but the display was unusable (became black & white). I thought just move the solution to that phone and it works independently. But past always haunt the present solution. It had android 4.1 and notification intercept is not supported. Either I have to root or find another alternative. At last PushBullet came to my rescue. It can intercept pushbullet message and trigger an action in tasker based on a trigger word. The solution became

  1. Intercept the notification from falcon app in my phone.
  2. Send a message to galaxy note via push bullet.
  3. Based on a trigger word the galaxy note will trigger an action.
  4. The action use Google TTS and speak out the notification.

Usability study

I thought everything was fine. I kept pestering my mother, wife & sister regarding the feedback. They said it was ok. But the Google tts announcement was like our railway station announcements. People just understood that the system is trying to tell something and ignored it most of the time. After doing some study and breaking my head, I found that we can identify known music easily even with lot of noise. Now I tweaked the solution like

  1. Intercept the notification from falcon app in my phone.
  2. Send a message to galaxy note via push bullet.
  3. Based on a trigger word the galaxy note will trigger an action.
  4. The action use Google TTS and speak out the notification.
  5. Based on the type of notification play a known music(for eg airtel ad, bond theme music, MI theme music, bus honk)

Sustaining the solution

I thought all is fine the system is working fine. Now on hearing the bus honk my kids hurry and go down to catch the bus. After couple of days I checked and found that the phone switched off due to low charge. Initially I thought of keeping the phone always connected to the power (battery might go off soon) or to save the battery I have to charge it manually. But like I said earlier the laziness kicked in again. I wanted a solution that will charge automatically and also save the battery. Again I had a Kankun sp3 smart plug lying around for some time without any use. That came to my rescue. I did the following to charge the phone

  1. Connect the smart switch to wifi with a static IP.
  2. Installed a REST api inside the smart switch (Thanks to Hackaday) .
  3. Connect the phone charger to smart switch.
  4. Tasker switches the charger ON (using the REST api) when the battery level is <50%.
  5. Tasker switches the charger OFF (using the REST api) when the battery level is 99%.

Now the automated solution is part of our day to day activities. The system just works now. May be some surprise might come in future. Cheers.

–Ferose