Alhamdulillah ( RPi-EL System Completed) | 08 Rabi'ul Awal 1437H
December 19, 2015
I slept late last night and when I woke up before Fajr Prayer, I said to myself " I can't get up for Tahajjud today, I'm too tired". But Allah had mercy on me like He always do and this time is was more heartfelt when He woke me up just 7 minutes before Fajr Prayer. I made my Tahajjud, Sunnah, Fajr and read Quran. I turned out waking up early. Allah was gracious to me indeed although I thought I could not make it in the first place. Verily, Allah is the Most Gracious and Most Merciful.
Around half past 7 in the morning, I was tired and decided to take a nap. I ended up getting up at almost 11am. I was devastated and almost gave up. I watched TV until Zohor Prayers. I wanted to go to the home office to finish up my RPi-EL project. I'm still having an enormous bug in the RPi-EL Validation Software and it's been haunting me nearly a month now. I just need to finish it and I decided to go the home office and got there around 2.15pm. Again, Allah was gracious to me for letting me not give up.
I started to fix my codes but nothing works. I was nearly depressed and when will I finish my work. So I started to sort the bug. Then, I figured it is an ACK bug. Every serial write from the RPi to the TCR-100US Card Reader must have a reply. So I started to add an ACK subroutine. It is still not working. So instead of specifying into a subroutine, I just add one line of code to 3 subroutine. It worked. My validation software worked. Alhamdulillah again. So I prostrated to my one and only Lord. The Lord of the Heavens and the Earth. Alhamdulillah.
So I carried on modifying my RPi-EL Security Software. I started to do the Medium Security System Software where you need to scan your Contactless Smart Card (CSC) upon entry and press the switch upon exit. After a few tweaks, it worked. I never thought I can solve the issue but Allah had enormous mercy on me until I can fix that enormous bug. Alhamdulillah.
Then I worked on the RPi-EL High Security System. I was clueless on why my pinUnlock subroutine was not working as programmed when both other software (Validation and Medium Security) I've designed was okay. It turns out, it was an ACK issue as well. Allah is the Most Gentle Teacher. He teaches like no other until I can remember.
Ya Rabb, all praises and thanks goes to you. I've never thought today would be such a good day. I'm still hoping for a better tomorrow to settle the RPi-EL Online system through Weaved+WebIOPi. But still Ya Rabb, today was a miracle, thanks to You. Alhamdulillah
Out of Luck but NOT Hope | 4 Rabi'ul Awal 1437H
December 15, 2015
I planned to meet the subcontractor today to seek advice for the RPi-EL project. It turns out they were busy and it was rescheduled until tomorrow. I notice I have not been resting well, I tried to calm myself by hanging out with friends, surely it's effective and you'll feel refreshed the next day but you tend to dream and wonder when you'll be finishing your project.
This project have been taking more of my time and I have completed 2/3 of it. I'm surely exhausted as I've been working on weekdays and weekends. I have to put an end to this project as my will power is draining rapidly due my frustration of not knowing completely on how a full fledged card reader operates. I've been writing my codes from scratch with minimal assistance.
Sometimes I worry on how I've arranged my work when it does not seem as planned. I think I surely tried my best and today I'm left exhausted and unable to take another step into the completion of this RPi-EL project. Not to mention, I have not yet grasp the knowledge of using WebIOPi to control PiFace and it's driving me nuts. So I decided to complete the Medium and High Security Mode first by tomorrow. I've released the both softwareV1.0 but it is necessary for me to know how the polling of searching cards to detect is usually programmed. I should make that work first. By hook or by crook.
For WebIOPi, I'll aim to finish it up on Friday. I hope I can because it is pretty hard for me to accomplish something that is new and I never learnt before this it. Knowledge comes from Allah as a loan but I'm unable to absorb this part particularly because of my lack of experience with it. I can no longer depend on only du'aa but I really do need to reach out and call for help as a mean to accomplish my mission.
You can call me depressed because I am but I have fought awfully hard for this and this is as much as I can go. Today I think my body and mind starts to break down. I think it has had enough. Thankfully my soul was eagerly wanting me to do at least something beneficial today. So I cleaned up the toilet.
I think I have done my very best and Allah wants to guide me by letting others with experience help me with my work. I am a human and I can never rely on myself alone. I still need experienced people around me. I've been working in the industry for 3 years and 5 months (Sony for 1 year 8 months and MRT Corp 1 year 9 months).
Funny thing is I planned not to leave this company until I'm a certified Professional Engineer (PE). So I have 1 year and 3 months to go. I really work will become more stressful day by day but I enjoyed it this time because this time I was free to develop everything from scratch. I still have not pat myself at the back because the project is not yet completed. But I have come this far, I need to let myself take a deep breath and say, I've done a good job.
Anyhow, I need to complete this project. I will be doing the integration with my fellow colleagues. We will try to use the validation software first. Then another validation software previously used for the First Article Inspection (FAI) should be used to ensure everything is working fine. When they are testing, I can ask people in TERAS Teknologi to advice on how to design the main function of the medium security system and the high security system. This needs to be completed by tomorrow.
Ya Allah, I'm writing plans as I want my mind, heart, body and soul to be synced but You are the Best of Planners. Ya Rabb, I do not plan to fail or plan to not complete this project. I seriously want to finish it but I really do need Your Guidance. I need to be praying extra hard this time. I won't lie that I'm at the state of depression but Ya Rahman, all thanks and praise to You for the Quran and Sunnah. I will be able to stabilize my condition by all Your Guidance.
Ya Rahman, Ya Rahim, help me get through this by completing this project by Friday. I know I'm doubting myself for the WebIOPi, but Ya Hakim with the help Your wisdom; surely I will be guided to the proper path. I just need to stop doubting myself and start believing You just like You let me sit for that Advance Programming Final Exam without studying at all. It was all tawakkal and I was the first one to finish and demonstrate a working program to my lecturer. I increased my praises towards You and made solawat to Rasulullah ﷺ on the way to the exam.
This time, tawakkal is not enough. I need to increase every goof thing that I can do complete this project once and for all. I hope You Ya Latif can help me through someone whom is very competent and can complete this thing once and for all. Aamin Ya Rabb.
Making Progress, Acting Fast and Tricking the Mind | 20 Safar 1437H
November 01, 2015
I woke up tired today. My request was approved by my boss to work outside the office from 2-11 December 2015 to finish up the RPi-EL Project. I started off with my routine office work named Submission Management.
It is all about receiving documents from Work Package Contractor (WPC) through the Project Delivery Partner (PDP) via Electronic Document Management System (EDMS). Then, rename the name of the documents to be readable by everyone and placing it in MRT Corp's shared folder and Google Drive for Independent Consultant Engineer (ICE) to review since they do not have access to EDMS.
Then, distribute it via email for everybody in the team or any specific expertise in MRT Corp to review depending on the document received. You have to also review the documents but I usually review the documents that is more related to my expertise.
Finally sending the Submission Request Form (SRF) if documents reviewed are not satisfactory by inserting our comments in the SRF to PDP via email. I will the one compiling them by chasing everyones' commments. So that is my routine job that I am least excited about but bearable.
Today, I've created a website to control the RPi-EL Online. The functionality is not yet programmed where it can control the Electronic Access Door (EAC) via the Internet. I'm quite happy with the outcome and I managed to finish up both job within 6.30pm.
I've manipulated my mind by indirectly applying the 2-minute-rule. Just do the thing you don't like, when 2 minutes pass by your almost a quarter to finish which makes you don't want to stop working. It's quite effective. But it's important to make du'aa before starting anything as Our Creator knows us the best.
Today ended well. Let's hope for a better tomorrow because as a Muslim, we always make du'aa that tomorrow will be better than the day before. Aamiin Ya Rabbal 'Alamin.
Killing 2 birds with 1 stone is not meant for the weak | 14 Safar 1437H
November 25, 2015
I have to admit that I'm quite in love with web development all of a sudden. I verbally request for a change control to my boss on the Raspberry Pi - Electronic Lock (RPi-EL) assignment. In a real world project, any changes impacting the project needs to be recorded in a Change Control Form (CCF).
Honestly, I googled term today because I need to explain what is change control all about for my understanding or anyone whom will be reading eventually. Change control is the process through which all requests to change the baseline scope of a project, programme or portfolio are captured, evaluated and then approved, rejected or deferred.
Initially, the RPi-EL was supposed to be just an android application controling the Eletronic Magnetic Lock (EML) which is connected by the PiFace output and controlled by the Raspberry Pi. I thought IP to IP is easy but it is not. Then, I asked a collegue from a signalling team for an opinion. She said, why not just use a domain registered on the internet. I was terribly tired yesterday, so I did not proceed and tried to fix the errors of the code I compiled from the Internet.
This morning, I remembered that I've stumble upon DIYhackingIOT. Okay, suddenly my supervisor emailed me. I am going nuts and I will going to Perth and bring my laptop along I think. I don't think that I can keep my cool but I will try. I am not a diamond you know, but I'll try to toughen up.To be honest, I am quite frustated with myself for finding too many loopholes to buy time but turns out its eating me alive.
Back to the story, so I suggested to my boss of using a web service. He agrees. Anyway, I am running out of time for both my work and postgraduate project. It needs to be completed by December 2015 and I am no Superman but I'll try be one.
I tried killing 2 birds with 1 stone. This time, I should have more patience than before. More perseverance than before. More tranquility of the heart than before. I am full of excuses I think when it comes to this project, I can't afford to waste time.
Oh Allah, if it wasn't for You, I'll be in the state of defeat. I tried to combine my work with study to keep myself moving forward. But this time it's too much and I am eventually falling on my knees. Only You can save me now but I have to change my ways to be better.
I will try to make a schedule and present it to my boss by tonight via email. I will be working at my home office and go to TERAS Teknologi when I need help starting 2 December 2015. I will work at my home office from 2 - 4 December 2015. Meeting would be on 7 December with TERAS Teknologi to call out for help and discuss further on presenting any issues arising during the development. I would keep working until 11 December 2015. Hardware integration would be on 14 December 2015.
I just invented my work plan. I have to take a bath and pray for the best. I can get through this In sha Allah.
First Glance of a Whole New World | 27 Muharram 1437H
November 08, 2015
Malaysia is about to have it's own Mass Rapid Transit (MRT) from Sungai Buloh to Kajang in December 2016. From that lucky interview, I became part of the company. So happy to able to contribute back to our nation and country. I am also able to learn more as this project is a mega project.
I became an engineer here more focusing on the software side. I am in charge of the Automatic Fare Collection (AFC) software of the project. To make it simple, we usually call it the ticketing system.
My boss gave me the trust of handling both front end devices which are related to the AFC devices such as Ticket Vending Machine (TVM), Ticket Gates, Office Ticket Processor (OTP) , Portable Ticket Analyser (PTA) and back end which more related to Servers handling all transaction being made on the Fare Media to the Front End Devices and being carried all the way until the settlement of payment to a Card Manager which is currently Touch N Go and the reporting as well. Phew.
Typically there's up to 4-5 tier architecture in the AFC system. Being the Fare Media in this case are Touch N Go cards and Tokens is Tier0 while the Front End Devices are Tier1 and going upwards to Tier4-5 for the settlement and reporting.
I am also able to learn about Electronic Access Control (EAC). This is more related to making the premises more secure. Whom would have known that it's more than a reader and a host. A building might have until 1000 employees, and knowing how the system is installed shows the complexity of the system.
Hence, I'm doing a Master Project on it by using Raspberry Pi which is a powerful mini computer as a platform. I would say I'm lucky because my mum always never miss to say "Bertuah punya anak" when I'm in my naughtiest mood. It's definitely a good du'a. Hahaha.