Sunday, May 27, 2012

The wall stands tall - A tribute to the cricketing legend of our times...


The true Gentleman of his time
There are several things I savour from the days I started to watch cricket with my grandpa.. Since my days as kid, there were more and more ppl around me who were fawning over Azharuddin's swagger, Sachin's raw talent and Saurav Ganguly's off side shenanigans - I was simply smitten by the quiet, paavam  looking, Dravid.

Those were the times when Ajay Jadeja was considered to be the eyecandy of the Indian team so stylish his shots that comes quite naturally to him, not even those staggeringly required run-rates bothered him, Sachin was praised for his sheer brilliance with bat, Azharuddin for his flamboyance with bat, those flicks with immaculate timing and the way he simply outdoes the oppn is considered as bliss. Sourav's arrogance and heart throbbing hooks off the leading bowlers of his days and his ability to piss off his opponents even after caving in to those rib-cage breaking bounces that goes inside to trouble him.

Always feeling disappointed and learning
There came a man so calm and so perfection personified. It was pretty awful to watch him during the titan and singer cups during his earlier days. and he was surely not happy with himself for not having to rise to the occassion. The emotions were quite palpable. Not much of those maddenning maniacs the Indian fans would've spared him even before bed for ruining their day.

That was a time when the game was in total turmoil the whole country was shell shocked and shattered to hear the game they held so close all these years is orchestrated. They were so disheartened to see their gods have let them down.The game was hit an all time low marred by the scandals and What followed was total chaos.But amid all these there rose a man so silently, so mentaly at peace, never feared to focus on the task at hand how unsurmountable the situation may be. Most of his counterparts became a fan of this man so perfection personified. He always said that only the passion for the game he held so close and loved playing made him see through all these. He is never feared to go back to basics, to start from scratch, to go to the levelling ground where he started as yet another young bloke among thousands of those waiting for that elusive break.

Calm and Ecstatic after one of his Centuries
With his long playmate in tests who clocked playing
together in the field more than anybody else mostly saving
from the turbulent situations - The Saviours

His favourinte cuts he enjoyed the most. Playing on the backfoot

He too was vicitimized in the cash rich board where even politicians had a say in every series, where not juse merely performance counted anymore, favouritism, bias an politics are the only factors that decided who gets to represent the country. But he made them so grittingly under pressure only by his performance. He was a great learner of the game. Both on and off the field. always willing to contribute in what ever way he can. Donning the wicket keeping gloves was one such example. That was when the team could not simply afford another specialist wk in place of a batsmen or a bowler. He was more than willing to step into the glove of the

Of his ostentatious compatriots, Rahul Dravid batted exactly like the person he is: stately and upright, dignity and poise his two shoulders, standing up to everything coming at him with minimum fuss. He picked his shots carefully, almost like he was weighing the risk for fear of letting himself and his side down. There was little about him that was flamboyant - there isn't with an oak - and patiently, brick by brick, he built giant edifices. He is a good man and he batted like a good man.

And this is what make me like the man he is. So grounded in whatever he does in whatever way. Like with most of his choices in life, he has chosen well again. He has not craved a full house on its feet, there has been no grandstanding. The retirement is a sports-page event not a gossip item. He knew it was time. 


Ever so dedicated even during practicing in nets. Always
willing to learn, playing the ball straight
Relished playing his part and always contributing
to the team in every discipline





















The contrast couldn’t be sharper. He would come in and look to defend the first ball, let it hit the middle of the bat and slowly build his innings… the others would walk in looking to smack the leather off the ball – Sehwag with disdain, Tendulkar with authority, Laxman with his wrists and Sourav Ganguly through the off-side. In a partnership, Dravid was always the proverbial anchor – trying to keep the others firmly in the grasp of reality. But for them, it was easier to take the flights of fancy that Dravid could only dream of.

He spent more time in the nets than the others, he worked on his fitness, he worked on the little things that came easily to the others, and he worked on keeping his head above water… why he even worked on his wicket-keeping to stay in the ODI team. But hard work has a sort of mortal, doable quality to it. We can all work hard – if we have the motivation and the belief… that’s all it takes

His ODI pal with whom he went on to pile
lots of runs and enjoyed playing with
But to do it over 17 years requires the kind of genius that not everyone is born with; the genius of hard work. We can all work hard for a while but after some time, we start to falter. We get bored. We get distracted. We want to do the extraordinary. We want to play beyond our limitations and that is often where we go wrong.

For many of Dravid’s contemporaries, the nets were a place to try out new things, to hit the big shots, to build confidence before a big match. But for the Bangalorean, it was a drill – something that had to be done as a matter of course. Throughout he would make tiny adjustments, trying to get as close to his sense of perfection as possible, because he needed to be at his best to survive. The difference between the Dravid that we saw in England and the one we saw in Australia was minute – a matter of his feet not moving a few inches more – but that’s all it took to make him crash and burn.

He realised that, which is why every waking moment was spent thinking about the game – his technique and the opposition. It was the kind of focus that bordered on the maniacal but it was also the kind of focus that made him loved and respected. People could see he wasn’t frivolous. He was the serious kind and he took the game very seriously.

Reaching out - Always willing to connect to his fans
If he shied away, he would never know how good he could be. He kept wicket in about 70 one-day internationals, never most convincingly, but he allowed himself to look bad for the team to look good. It was always the team for him and as he had once quoted Kipling: for the strength of the wolf is the pack and the strength of the pack is the wolf. It was nice to see a cricketer quoting from literature.

He wasn't the Wall, not for me though. Yes, his defence was as perfect as it could get, his steeliness so admirable, but he played shots that warmed the heart. The cover drive, with the big stride forward, and the prettiest of them all - the whip through midwicket played so late and while so nimble on his toes.

In cricket as in life, the debate over what leads to genius has been dominated by a simple argument: is it nature or nurture? While Dravid’s team-mates often colluded with nature, the right-handle was clearly nurtured to an exalted status through the self-effacing quality called hard work.

Partnership stands during recent tour of England'12
goes to show his contribution even in modern times
Dravid doesn’t inspire the impossible. But what he does do is stretch the limits of the possible to a point where the thin line dividing the two starts to blur. And THAT is his genius. He didn’t start off as a man blessed with greatness but each year he seemed to add a new chapter to the legend in the making. And THAT is his genius too.

When kids walk in to meet their coaches for the first time, they often harbour dreams of becoming the next Tendulkar or Sehwag. Who wants to present a straight bat to everything? You might hear Gavaskar praise you but the crowd will mostly boo. And nobody likes to be booed.

But their coaches will point them in the direction of Dravid. ‘Be like him – he is a genius of hard work,’ they will say. He wasn’t blessed but he had his sights set on a goal.

Showing his grimace - Announcing his retirement
at at a press conference in Bangalore recently
And in the end, he can proudly say – he got there. He isn’t the bridesmaid any more, he isn’t second best. He’s first among equals and he’s pretty much earned the right to be called a genius through hard work and you can’t say that about too many people right now, can you?

Not just cricket he is a man so passion personified always focussed and ever willing to go wherever the goal he held so close takes him to. Makes you say 'IN LIFE BE LIKE HIM'


Trying hard to control his emotions
during his Press Conference recently in Bangalore
He will be missed, as the great always are. He will see his children grow, take them to school, imbibe in them the reading habit (for hez a avid reader and learner than most others), hopefully from time to time he would instill his fire to the new flowers that will inevitably bloom in our cricket of the need to put grit over beauty, team over self, challenge before rejection, humility before arrogance, for that is what he stood for. Surely the Wall stands Tall !!






Wisden cricket - Famous five of Indian cricket


A good compilation from UPCRIC
Rahul Sharad Dravid is born in Indore on 11 January 1973 and makes his first-class debut for Karnataka against Maharashtra in the Ranji Trophy just after his 18th birthday, scoring 82. He makes his India debut
Rahul Sharad Dravid is born in Indore on 11 January 1973 and makes his first-class debut for Karnatakaagainst Maharashtra in the Ranji Trophy just after his 18th birthday, scoring 82. He makes his India debut
Soon after stepping down as captain, Dravid loses his place in the one-day side but remains a constant in the five-day arena, passing 10,000 Test runs in 2008 as well as signing for the Royal Challengers Banga
Soon after stepping down as captain, Dravid loses his place in the one-day side but remains a constant in the five-day arena, passing 10,000 Test runs in 2008 as well as signing for the Royal Challengers Banga
Dravid is India's man of the series on their 2011 tour of England - which is widely expected to be his last - as he finally records his first Test century at Lord's, and adds two more rearguard hundreds as Ind
Dravid is India's man of the series on their 2011 tour of England - which is widely expected to be his last - as he finally records his first Test century at Lord's, and adds two more rearguard hundreds as India
Dravid is man of the series on India's tour of England in 2002, scoring 602 runs in four Tests, including centuries at Trent Bridge and Headingley and a double ton at The Oval, but a Test century at Lord's, th
Dravid is man of the series on India's tour of England in 2002, scoring 602 runs in four Tests, includingcenturies at Trent Bridge and Headingley and a double ton at The Oval, but a Test century at Lord's,
Dravid is the top run scorer at the 1999 World Cup with 461. He makes 145 against Sri Lanka, sharing a second-wicket stand of 318 with Ganguly, who smashes 183. It is the record ODI partnership for any wicket,
Dravid is the top run scorer at the 1999 World Cup with 461. He makes 145 against Sri Lanka, sharing a second-wicket stand of 318 with Ganguly, who smashes 183. It is the record ODI partnership for any wicket
Later that year, he is handed his Test debut against England at Lord's. Fellow debutant Sourav Ganguly scores 131 at number three, while Dravid, at seven, compiles a characteristically painstaking 95 from 267
Later that year, he is handed his Test debut against England at Lord's. Fellow debutant Sourav Ganguly scores 131 at number three, while Dravid, at seven, compiles a characteristically painstaking 95 from 267
Although he is nicknamed The Wall for his safety-first batting style, Dravid's career hits a purple patch in the winter of 2003-04 when he hits double centuries in successive series against New Zealand, Austra
Although he is nicknamed The Wall for his safety-first batting style, Dravid's career hits a purple patch inthe winter of 2003-04 when he hits double centuries in successive series against New Zealand,
Australia's record run of 16 consecutive Test wins is ended in an astonishing game at Kolkata's Eden Gardens in March 2001. After India are forced to follow on, Dravid (180) and VVS Laxman (281) add 376 for th
Australia's record run of 16 consecutive Test wins is ended in an astonishing game at Kolkata's Eden Gardens in March 2001. After India are forced to follow on, Dravid (180) and VVS Laxman (281) add 376
But another 4-0 whitewash, this time in Australia, leads many commentators to question the future of India's old guard and a disappointing series for Dravid - in which he averaged under 25 - proves to be his l
But another 4-0 whitewash, this time in Australia, leads many commentators to question the future of India's old guard and a disappointing series for Dravid - in which he averaged under 25
By 2003, Dravid is India's vice-captain and although he is a losing finalist in that year's World Cup in South Africa, in May he marries surgeon Dr Vijeta Pendharkar. Her mother is quoted as saying the new Mrs
By 2003, Dravid is India's vice-captain and although he is a losing finalist in that year's World Cup in South Africa, in May he marries surgeon Dr Vijeta Pendharkar.
Dravid remains a prized wicket for opponents, but his captaincy is criticised after England's first Test win on Indian soil in 21 years comes in March 2006, when stand-in skipper Andrew Flintoff inspires the t
Dravid remains a prized wicket for opponents, but his captaincy is criticised after England's first Test win on Indian soil in 21 years comes in March 2006, when stand-in skipper Andrew Flintoff
Dravid signs for English county side Kent for the 2000 season and has a successful summer, scoring 1,221 first-class runs at an average of 55, including an innings of 137 at Portsmouth in a fascinating duel wi
Dravid signs for English county side Kent for the 2000 season and has a successful summer, scoring 1,221 first-class runs at an average of 55, including an innings of 137 at Portsmouth in a fascinating duel
Having deputised as captain for Ganguly on occasions, Dravid is handed the captaincy on a permanent basis in late 2005 after Ganguly's very public row with coach Greg Chappell, the former Australia skipper
Having deputised as captain for Ganguly on occasions, Dravid is handed the captaincy on a permanent basis in late 2005 after Ganguly's very public row with coach Greg Chappell, the former Australia skipper
Dravid soon establishes himself in a powerful India batting line-up which includes former teenage prodigy Sachin Tendulkar, elegant left-hander Ganguly, the free-scoring VVS Laxman and aggressive opener Virend
Dravid soon establishes himself in a powerful India batting line-up which includes former teenage prodigy Sachin Tendulkar, elegant left-hander Ganguly, the free-scoring VVS Laxman and aggressive opener Virend Sehwag
In April 2009, Dravid sets a new record for Test catches by an outfielder when New Zealand's Tim McIntosh becomes his 182nd victim in Wellington, overtaking the previous record set by Australia's Mark Waugh. B
In April 2009, Dravid sets a new record for Test catches by an outfielder when New Zealand's Tim McIntosh becomes his 182nd victim in Wellington, overtaking the previous record set by Australia's Mark Waugh.
The 2007 World Cup in the Caribbean is a major disappointment for India, as they lose to Bangladesh in their opening game and fail to make it past the group stage. They win that summer's Test series in England
The 2007 World Cup in the Caribbean is a major disappointment for India, as they lose to Bangladesh in their opening game and fail to make it past the group stage. They win that summer's Test series in England
When the cricket world comes together in January 2005 to raise money for victims of the Asian tsunami, Dravid takes his place in a star-studded Asia XI which play an ICC World XI containing players from Austra
When the cricket world comes together in January 2005 to raise money for victims of the Asian tsunami, Dravid takes his place in a star-studded Asia XI which play an ICC World XI containing players from Aus
While Dravid is an automatic choice as a batsman and an excellent fielder, he would occasionally be asked to keep wicket in order to improve the balance of the limited-overs side, picking up 14 stumpings in on
While Dravid is an automatic choice as a batsman and an excellent fielder, he would occasionally be asked to keep wicket in order to improve the balance of the limited-overs side, picking up 14 stumpings in on

Monday, May 21, 2012

I just wish...

How many times did I posted starting with 'I just wish'?? not sure but am certain of some good numbers though.

Don’t you just wish that someway somehow we all have just a sliver of control of the outcome of our own life??

That even though God is in control, that maybe, just maybe, that certain something happens that can control the falling dominos seemingly in an ordered disarray due in part to something you did, wished, or prayed??

‘Life’ can definitely throw some curve balls once in a while, and when it does it’s so weird how it “puts you back in place”, almost as if it’s a medicinal humbling pill.

I’ve experienced it way too many times. I call it’s God’s test of perseverance. Others call it life. But regardless it feels the same for both. Humbling, contrite, and sorrow for the soul and with a HOPE full of vivid optimism and gushing spirits.

Destiny Calls - Welcome aboard poor soul

So here we are again…

Yes.. I was in a kind of state of pause. I’ve been here loong time before. A month or two between posts and so much has gone unwritten. I fast forward to now and I will be adding a few from the back burner soon, that I had kept for so looong. Obviously wondering if it ever matters to anyone but there are lot many things to be told, more views to be shared. So Gear for another round of the roller coaster ride that my life is as the clueless, hapless soul in me trying to comprehend what have I build with my erector set and where this run-away train is leading me.

It isn’t exactly describable,… that being how I feel. I can only say that days go really, really fast and my mind is not the same anymore. I try to ignore it and sometimes it helps, but in many other ways it makes the things only go worse.

Tonight I try again. I’ve told myself this for the last 12 odd (though numerically even) weeks, and it’s really getting tiring. Not sure why it would change now. I’ve been asking almighty for plenty of help.

It has been really hot this week not a pleasant time of the year to be in. Wonder how we had spent those year-end annual holidays playing all along under the scorching sun. May be time makes you so weak that you live the days of agony wondering if those days would ever come again.

The sudden surge of happenings since a while had me perturbed and left me gasping for breath (Why is it so ??,  not that I know !!!). It’s not that I’m up to a race to the Mt. Everest. It’s just that I had been so institutionalized within my surroundings for a while. Now that things are beginning to change it seems life has started to knock me off my balance. I ain’t afraid of it as I hope that it could at least help in stirring the dormant underdog in me.

The thinking or rather Musing Monkey
And obviously life is now taking me to those turns I never knew existed or rather paid attention to all the while. Its like things have gone so much into auto-cruise mode. I no longer have any control of the happenings these days. Not that I had it steered all the while the way I wanted but still it was comforting that I can have the control whenever I wanted to. Well, hoping this might well take me to the avenues that I never were and could somehow make truce with it to steer towards a common destiny.

Destiny eh ?? I wonder where it really is now. May be I have to find the lost ones dusting off from my old thoughts deep down my mind. Sure thing that most of them would've become all so meaningless like those insignificant entities trying to make something out of themselves. To sound hopeful, this puts me into some kind of better situation that I can mend myself in ways I can and have some accountability towards my destiny for its not just me no more.. For in pursuit I only worry about the piteous unfortunate one hoping to transpire its own destiny while its already destined to be doomed.

Tuesday, May 15, 2012

Yet another Arduino GSM-CDMA cell phone Adapter

How often you had imagined if you could use arduino to do this, that and what not... I always had felt if i could put this + arduino.. that + arduino like.. was actually wondering if only i get some problem on my way would hardly hesitate to make some soln out of Arduino :)

This shield has the ability to connect to high speed WCDMA & HSPA networks that could launch us perfectly to the "internet of things" era as they prefer to call it.
With an internal GPS wit hmobile cell ID triangulation using both assisted-mobile (A-GPS) and mobile-based (S-GPS) modes this gizmo of dreams surely lives up perfectly to fill the void in the hyper market.
what more.. with a cam of 640x480 resolution for both photo and video recordings, SD file system and all those fancy little things that gadget of todays come....


I don't necessarily believe throwing more hardware at a problem will fix it but I have not seen this brought up in here. Will this device make up for what the phonedrone is missing and save you guys some work?

Thursday, May 03, 2012

Cartoon Scape - Anna Hazare teams up with Ramdev to fight corruption

Funny Cartoon appeared on THE HINDU - Cartoon Scape

Anna Hazare teams up with Ramdev to fight corruption. Too late to act perhaps. For he even didn't am in doing..


Original link below...

Wednesday, May 02, 2012

Arduino Based Auto Timer / Stop Watch Timer for stroking time Measurement

See my Instructables below for full version of this article
The Need:
Last week around at work I had another usual un-usual  problem to face with.  Having to make lots of mechanisms n components to work with-in seconds or fracs at times I kind-of knew this was always coming.


And invariably so my poor mind couldn't think of anything but Arduino for a handy solution that should be compact, flexible, highly customizable, rugged and most importantly easier to work around.

Step 1The Problem:


i
The Problem:
What we had is an arm moving around from an actuator which we would like to tap with some contact type micro switces (limit switches) to give a feed-back signal as the awkward figure suggests.

Step 2Components:


i
Components:
I franatically searched for the components from the Junks I always treasured with the hobby kit coming-in handy..


LCD Display (16x2) - 1
Micro Switches - 2
Hook-up wires for (bread board) - Plenty (see Fritizing schematic for actuals)
Bread Board - 1 (for Prototyping)
LED - 1 (fok blinking indication)
Resistors 330 & 2K - 1 each
potentiometer 4k - 1  ( I had used one 2k Resistor and a 4K POT in comb. instead of a 6k pot to control the display as it came so handy from the junk parts)

Arduino - 1 (Duemelanove is what I had)

Step 3The Methodology


i
The Methodology
  • IMG_5639.JPG
  • IMG_5633.JPG
  • Image1256.jpg
  • Image1255.jpg
Now that all I/O's are wired in order as per the schematic, it pretty much works-out itself and it all boils down to the programming now..


I had used the StopWatch library to evoke the timer and initiated the millis() function to record time step value as soon as Arduino is started.



But what I need is just a differential timer with the simple math which gives us the time on air or otherwise.



All that I did is declared some run-time variables and do some math to display the difference value to show only the time between micro-switches getting energised. Otherwise to display the time correctly in the format is similar to Dan Thompson's method as it only records the time values in millis and we have to convert the values to sec, min, hr and microsecs.



The other problem i encounter is the sign reversal as arduino cannot handle large buffer. I finally managed to overcome this error by using the unsigned longint as integer data type.

Step 4Display Shield


i
Display Shield
The display shield is constructed of pretty much the same components over a matrix board with pin rails for piggy-backing Arduino.


Had used some old components from an electronic choke for compacting

Step 5Arduino Sketch - Programming

Final sketch\code for Arduino below:
/*
Sketch \ Code by Chuppandi aka Subu
Chuppandi@gmail.com
www.chuppandee.blgospot.com
*/


#include
LiquidCrystal lcd(7, 8, 9, 10, 11, 12); // LCD pins decleration
int switchPin1 = 3;// switch1 is connected to pin 3
int switchPin2 = 2;// switch2 is connected to pin 2
int ledPin = 13; // LED is connected to pin 13 in arduino
int val1;
int val2;
int frameRate = 500;                // the frame rate (frames per second) at which the stopwatch runs - Change to suit
long interval = (1000/frameRate);   // blink interval
char buf[15f00];                       // string buffer for itoa function
unsigned long starttime = 0;
unsigned long endtime = 0;
unsigned long lasttime = 0;
unsigned long currenttime = 0;
StopWatch sw_millis;    // MILLIS (default)
StopWatch sw_micros(StopWatch::MICROS);
StopWatch sw_secs(StopWatch::SECONDS);
void setup() {
    lcd.begin(16,2);
    pinMode(switchPin1, INPUT);
    pinMode(switchPin2, INPUT);
    pinMode(ledPin, OUTPUT);
    Serial.begin(9600);
    sw_millis.start();
    sw_micros.start();
    sw_secs.start();
}
void loop() {
  val1 = digitalRead(switchPin1);   // read input value and store it in val
  val2 = digitalRead(switchPin2);   // read input value and store it in val
    if (val1 == LOW && val2 == LOW)
   {
    digitalWrite(ledPin, HIGH);   // turn LED on
    currenttime = (sw_millis.elapsed() - lasttime) ;
    Serial.print("sw_millis=");
    Serial.println(sw_millis.elapsed());
    Serial.print("sw_micros=");
    Serial.println(sw_micros.elapsed());
    Serial.print("sw_secs=");
    Serial.println(sw_secs.elapsed());
    lcd.clear();
    lcd.print("SECS:");
    float sec = sw_millis.elapsed()/10;
    lcd.print(sec);
  int elapsedMinutes = (currenttime / 60000L);
  int elapsedSeconds = (currenttime / 1000L);
  int elapsedFrames = (currenttime / interval);
  int fractionalSecs = (int)(elapsedSeconds % 60L);
  int fractional = (int)(elapsedFrames % frameRate);       // use modulo operator to get fractional part of 100 Seconds
   fractionalSecs = (int)(elapsedSeconds % 60L);        // use modulo operator to get fractional part of 60 Seconds
  int fractionalMins = (int)(elapsedMinutes % 60L);        // use modulo operator to get fractional part of 60 Minutes
   lcd.clear();                                         // clear the LCD
lcd.print("TIME:");



   if (fractionalMins < 10){                            // pad in leading zeros
      }
    lcd.print(itoa(fractionalMins, buf, 10));       // convert the int to a string and print a fractional part of 60 Minutes to the LCD
      lcd.print(":");                                 //print a colan.
if (fractionalSecs < 10){                            // pad in leading zeros
      lcd.print("0");                                 // add a zero
      }
lcd.print(itoa(fractionalSecs, buf, 10));          // convert the int to a string and print a fractional part of 60 Seconds to the LCD
   lcd.print(":");                                    //print a colan.
if (fractional < 10){                                // pad in leading zeros
      lcd.print("0");                                 // add a zero
      }
lcd.print(itoa(fractional, buf, 10));              // convert the int to a string and print a fractional part of 25 Frames to the LCD




    lcd.setCursor(0, 1);



    endtime = currenttime;
    lcd.print(sw_millis.elapsed());
    lcd.setCursor(0, 1);



    lcd.print("us=");
*/
  delay(10);
}
// if (val1 == LOW){
//       digitalWrite(ledPin, LOW);}
else{
  lasttime = sw_millis.elapsed();
//  endtime = (sw_millis.elapsed() - starttime);
//  endtime = (currenttime - starttime);
digitalWrite(ledPin, LOW);
  int elapsedMinutes = (endtime / 60000L);
  int elapsedSeconds = (endtime / 1000L);
  int elapsedFrames = (endtime / interval);
  int fractionalSecs = (int)(elapsedSeconds % 60L);




int fractional = (int)(elapsedFrames % frameRate);       // use modulo operator to get fractional part of 100 Seconds
int fractionalMins = (int)(elapsedMinutes % 60L);        // use modulo operator to get fractional part of 60 Minutes
lcd.clear();                                         // clear the LCD
lcd.print("TIME:");



   if (fractionalMins < 10){                            // pad in leading zeros
      }
    lcd.print(itoa(fractionalMins, buf, 10));       // convert the int to a string and print a fractional part of 60 Minutes to the LCD
      lcd.print(":");                                 //print a colan.
if (fractionalSecs < 10){                            // pad in leading zeros
      lcd.print("0");                                 // add a zero
      }
lcd.print(itoa(fractionalSecs, buf, 10));          // convert the int to a string and print a fractional part of 60 Seconds to the LCD
   lcd.print(":");                                    //print a colan.
if (fractional < 10){                                // pad in leading zeros
      lcd.print("0");                                 // add a zero
      }
lcd.print(itoa(fractional, buf, 10));              // convert the int to a string and print a fractional part of 25 Frames to the LCD
    lcd.setCursor(0, 1);
    lcd.print("ACTUATOR TIMER");
}
}
// End of the program

      lcd.print("0");                                 // add a zero

fractionalSecs = (int)(elapsedSeconds % 60L);        // use modulo operator to get fractional part of 60 Seconds

    lcd.print(sw_micros.elapsed());

/*  lcd.print(" ms=");

    lcd.print("ACTUATOR TIMER");

      lcd.print("0");                                 // add a zero

#include

Step 6Packaging


i
Packaging
  • Image1285.jpg
  • Image1286.jpg
Packaging is always fun.. Just pick-up whatever you could come up with from the mighty treasure junks... you can make wonders...


Do visit my space for more updates on my Arduino erector kit.

See my Instructables below for full version of this article
http://www.instructables.com/id/Arduino-Based-Auto-Timer-Stop-Watch-Timer-for-st/