I have decided to create an Arduino Pomodoro Timer for my individual project for this term. The reason is, this contemporary digital world which we all live in, distracts us all, while time flies by in an instance as well. This is especially for high school and university students. Science has proven that this Pomodoro technique, well for some, increases their overall productivity rate in a certain succinct time period. This idea, brought to us by Francesco Cilliro in the near ends of the 1980s, basically is a technique which breaks up a person’s overall time, and splits it into short intervals, originally 25 minutes.
Every ‘pomodoro’ completed there is a 5-minute break, as a reward. This way, the student, or whoever is using it, can have motivation in being productive in that time period as they already know that they have another short interval, just for their own break. It can be used in many different situations such as for someone studying, reading a book, playing a game, tidying up a room all the way to like exercising. I believe that with my small interpretation of this Pomodoro technique, I will be able to bring more motivation and dedication into our busy lives.
IF Phase==0 THEN
Check IF button has been pressed==1
IF yes, change the interval to 1500000 then continue on
IF no, continue on
IF the currentMills minus the PreviousMills is greater than the interval, then set previous to current
Then IF the LEDs are set LOW, then change the ledstate to high and ledstate to red then result with digital white interval
Otherwise, continue onto digital white interval
ELSE
IF button pressed==1 then change interval to 420000 and else, check if the currentMills-PreviousMills is greater than interval
If yes then set previous to current then check whether led red was high, if it was, then make led red into low or otherwise set led red to high and led white to low
Either way, set the digital white and red intervals to 300000 and button state to 1 and phase to 0
ALTOGETHER
IF timeleft is less than 120000 then turn digital write yellow high and turn pressed = 0
ELSE digital write yellow low then turn pressed = 0
END
Comments
Please log in or sign up to comment.