PCB of Inspiration
The idea for this week is a smart circuit, so I chose a circuit that is related to my final project which is Pomodoro Technique inspired from Arduino Project Hub.
The Concept of Pomodoro is to split your work load into intervals of 25 minutes separated with small breaks of 5 minutes and every 4 rounds of this interval-break cycle you will have a long break of 15 or 20 minutes.
Software
TinkerCAD for Circuit Design and Simulation.
Arduino to Program the Circuit.
Material
Arduino UNO "Controller".
7 LEDs (4 Green and 3 Yellow) "Output".
7 220 ohm Resistors
1 Push Button "Input".
1 Buzzer "Output".
Breadboard.
Jumper Wires.
Electronics
TinkerCAD
Arduino
Wiring Diagram
Preparation Steps
Search for Inspiration "Instructables, Arduino Project Hub, Adafruit".
Chose a Device that is related to my Final Project.
Design, Program, and Simulate Circuit Using TinkerCAD.
The circuit consists of 4 green LEDs each one represents a one Pomodoro completed, and 3 Yellow LEDs each one represents the one (Work Mode, Short Break Mode, Long Break Mode).
A buzzer that represents the transitions from mode to the other.
A Button the start the cycle again after it finishes
Programming Steps
Create Blocks for all the pins in the circuit.
These Blocks are repeated 4 times as the number of intervals I want to study.
Each Block consists of a work interval of 6 Seconds and a short break of 2 Seconds as shown.
A buzzer is turned on at the end of each block to alert me of its end.
A delay of Zero Seconds works as a separator between block so I can see them.
After each block is repeated a new green LED is turned on to represent my current interval.
After the 4 Intervals is completed a long break of 6 Seconds is started before repeating the cycle.
Implementation Steps
Wire my Physical Circuit Using the Mentioned Materials Above.
Program my Arduino Board.
Run the Program to See the Action in Real Simulation.
Physical Wiring on Breadboard
Physical Wiring on Arduino
Controlling Servo Motor with variable resistors, so I have to convert the input of the variable resistor to be suitable as output for the servo motor, so I used the mapping function in Arduino. Servo with Arduino mapping
Scaling down the actual time of the work, short break and long break intervals to be suitable for a short simulation.
Title of Media
Title of Media
We Controlled Servo rotation manually using a variable resistor and Arduino Board.
Manual Control of Servo Motor