KT1300
KT1300
Video Tutorial:
Check our Playlist for all Projects:
https://www.youtube.com/watch?v=461FVSn15OQ&list=PLeZjSVeikamNu
NH8pT5JPKDfhOWMcQaEM
Page | 2
Microcontroller ATmega328P – 8 bit AVR family
microcontroller
Operating Voltage 5V
Recommended Input 7-12V
Voltage
Input Voltage Limits 6-20V
Analog Input Pins 6 (A0 – A5)
Digital I/O Pins 14 (Out of which 6 provide PWM output)
DC Current on I/O Pins 40 mA
DC Current on 3.3V Pin 50 mA
Flash Memory 32 KB (0.5 KB is used for Bootloader)
SRAM 2 KB
EEPROM 1 KB
Frequency (Clock 16 MHz
Speed)
Page | 3
Pin Description
Software
Page | 4
https://www.arduino.cc/en/Main/Software
Breadboard
A breadboard is a solderless device for temporary prototype with
electronics and test circuit designs. Most electronic components in
electronic circuits can be interconnected by inserting their leads or
terminals into the holes and then making connections through wires
where appropriate. The breadboard has strips of metal underneath
the board and connect the holes on the top of the board. The metal
strips are laid out as shown below. Note that the top and bottom rows
of holes are connected horizontally and split in the middle while the
remaining holes are connected vertically.
Note how all holes in the selected row are connected together, so the
holes in the selected column. The set of connected holes can be
called a node:
Page | 5
To interconnect the selected row (node A) and column (node B) a
cable going from any hole in the row to any hole in the column is
needed:
Now the selected column (node B) and row (node A) are
interconnected:
LED
The “Light Emitting Diode” or LED as it is more commonly called, is
basically just a specialized type of diode as they have very similar
electrical characteristics to a PN junction diode. This means that an
LED will pass current in its forward direction but block the flow of current
in the reverse direction. Flat Sport must be connected to GROUND.
Page | 6
Resistor
10K Potentiometer
NOTE: You can connect VCC and GND on either first or third terminal
of potentiometer. It is variable resistor which has no polarity. By default,
GND Pin has 0Ω Value and VCC Pin has 10KΩ Value.
Page | 8
RGB Led
LDR
An LDR is a component that has a (variable) resistance that changes
with the light intensity that falls upon it. This allows them to be used in
light sensing circuits.
LDR has no polarity just like a resistor. The resistance of LDR can be
very easily measured by just connecting the two terminals of LDR to a
Multimeter & set the Multimeter on resistance Mode.
• Rating - 50 mA x 12 V DC
• Contact resistance: 100M ohm max
• Proof voltage: 250 V AC for 1 min
• Insulation resistance: 100M ohm min/100 V DC
• Temperature: -30~+70 Degrees
Page | 9
It works like a switch. By pushing down on the button, it creates a
connection between the terminals allowing electricity to flow. When you
release the electricity can no longer flow.
Capacitor
The Electrolytic Capacitors which is used to store the charge, have
polarity. Meaning they have a positive and negative pin. The pin
which is long is the positive pin and the pin which is short is the
negative pin.
Page | 10
Components Included
• Arduino Uno with USB cable – 1
• Arduino Uno Case -1
• Breadboard 830 pt. – 1
• Jumper wire (male to male) – 40pcs
• Single stand wire 1mt -1
• Led (red, white, Blue, Green & yellow) – 5 pcs each
• 10 K potentiometer – 1
• 10 K trim pot – 1
• Tactile switch – 5
• B-10 Passive Buzzer – 1
• RGB Led – 1
• LDR – 2
• SN74HC595N Shift register IC -1
• Capacitor (47 µf – 1, 100 µf -1 & 4.7 µf – 1)
• Resistor (220 R, 10KΩ, 270Ω, 330Ω, 470Ω & 1KΩ) – 10 pcs each
NOTE –
1. Breadboard used in projects are different in size, you will get 830
pt. breadboard
2. 9v Battery with snapper used for external power supply which is
not included in kit
3. You can add any colour of led in project which have different
voltage drop so we have added different resistors.
Page | 11
Project 1
LED Blinking
Hardware Required
• Red M5 LED - 1
• 220Ω resistor - 1
• Breadboard 830 Points - 1
• Jumper wires (Male to Male) – 40 pcs
• Arduino Uno with USB Cable - 1
Page | 12
• 9V Battery – 1 (Not included in Kit)
• Snapper with DC Jack – 1(Not included in Kit)
Circuit Connection
• Connect positive leg of LED with Digital Pin 12 of Arduino Uno via
220-ohm resistor to avoid high current damaging the LED.
• Connect negative leg of LED with GND of Arduino Uno.
Code
After downloading this program, in the experiment, you will see the LED
connected to pin 12 turning on and off, with an interval approximately
one second.
Page | 13
Project 2
PWM (Pulse Width Modulation)
Page | 14
parameters of PMW:
Hardware Required
• 10K Potentiometer - 1
• Red M5 LED - 1
• 220Ω resistor - 1
• Breadboard 830 points - 1
• Jumper wires (Male to Male) - 40 pcs
• Arduino Uno with USB Cable – 1
• 9V Battery – 1 (Not included in Kit)
• Snapper with DC Jack – 1
NOTE: Here, 9V Battery is used as external power supply.
Page | 15
Circuit Connection
Page | 16
analogWrite (PWM interface, analog value) function. In this project, we
will read the analog value of the potentiometer and assign the value
to PWM port, so there will be corresponding change to the brightness
of the LED. One final part will be displaying the analog value on the
screen. You can consider this as the "analog value reading" project
adding the PWM analog value assigning part. After downloading the
program, when we rotate the potentiometer knob, we can see changes
of the displaying value, also obvious change of the LED brightness on
the breadboard.
Code
https://docs.google.com/document/d/e/2PACX-
1vSJbymNrROk993xB1n8vN_CTL1Tg1dnzmfDFFljqQB5NRfY8NU98LGBbYvtdjd
H9d_9cHWVnfIaeWJ4/pub
Page | 17
Project 3
Traffic Light
In this project we will make traffic lights using 3 LEDs with different color
other than 1 LED and make them work accordingly.
Hardware Required
Page | 18
• M5 LED (Red, Yellow, Green) – 1 pcs each
• 220Ω resistor – 3
• Jumper wires (Male to Male) – 40 pcs
NOTE: Here, we have used Breadboard 830 points in the project.
Circuit Connection
Page | 19
• Connect positive terminal of Green LED with the Digital Pin 8 of the
Arduino Uno.
Welcome to the Arduino Based Project which consists of the LEDs for
making a simulation of traffic lights, the blinking time of each LED should
be the same with those in traffic lights system. In program, we use Arduino
delay () function to control delay time.
So, when the uploading process is completed, we can see traffic lights
of our own design.
The green light will be on for 5 seconds, and then off., followed by the
yellow light blinking for 3 times, and then the red light on for 5 seconds,
forming a cycle. And the Cycle repeats.
Code
https://docs.google.com/document/d/e/2PACX-
1vT_1qUrh4Z3vPsJfbBHgO4rBGTBWv4wjq9Lt6jw06XTkmohzbefK6FJYBztXo8dUk
HP53xdQAee8Brh/pub
Page | 20
Project 4
LED Chasing Effect
Hardware Required
Page | 21
• Arduino Uno with USB Cable – 1
• LED - 3
• Breadboard 830 points – 1
• 9V Battery – 1 (Not included in Kit)
• Snapper with DC Jack – 1
NOTE: Here, 9V Battery is used as external power supply
Circuit Connection
• Connect negative terminals of all the LEDs with the GND rail of the
Breadboard via 220Ω resistor.
Page | 22
• Connect the Positive terminals of all the LED with Arduino Uno as
follows:
LED Arduino Uno
• LED 1 -> Digital Pin 2
• LED 2 -> Digital Pin 3
• LED 3 -> Digital Pin 4
• LED 4 -> Digital Pin 5
• LED 5 -> Digital Pin 6
• LED 6 -> Digital Pin 7
Code
https://docs.google.com/document/d/e/2PACX-1vQ-
V_6qk3FCVBMmufW6QeWDcWdsqrYgsSRRxAfF8TSxCiR5XAwaCNZCxLzs5
K4akzL0JA-z1Scvke8X/pub
Page | 23
Project 5
Button Controlled LED
In this experiment, we will try to use the input function, which is to read
the output value of device connecting to it. We use 1 button and 1
LED using both input and output for the I/O function. When it's
pressed, the circuit is in closed (conducting) state.
Hardware Required
Page | 24
• Tactile switch - 1 (You can use simple tactile switch received
in kit)
• LED - 1
• 220Ω resistor – 2
• 10KΩ resistor - 2
• Breadboard 830 Points – 1
• Jumper wires (Male to Male) – 40 pcs
• 9V Battery – 1 (Not included in Kit)
• Snapper with DC Jack – 1
Circuit Connection
Page | 25
• Connect 10KΩ resistor on the second leg of the Push Button.
• Connect Digital Pin 7 of Arduino Uno with the second leg of Push
Button via 10KΩ resistor (one leg).
• Connect the other leg of resistor with GND rail of the Breadboard.
• Connect positive terminal of LED with Digital Pin 11 of Arduino uno.
• Connect negative terminal of LED with the GND rail of Breadboard
via 220Ω resistor.
Code
https://docs.google.com/document/d/e/2PACX1vQSWc9N5ySQJzzcMLKT9dlnI
xfVu0_J2g-Sb-FGjcTnkT3sQ8aJKy5Gu6DKMw2s7E7vbdm7unH3xZi/pub
Page | 26
Project 6
Passive Buzzer
Hardware Required
Page | 27
• Jumper wires (Male to Male) – 40 pcs
• 9V Battery – 1 (Not included in Kit)
• Snapper with DC Jack – 1
NOTE: Here, 9V Battery is used as external power supply.
Circuit Connection
Page | 28
Welcome to the Arduino Based Project which consists of Passive Buzzer
which differs from Active Buzzer in some measures. Its functionality is
being described here.
The Passive Buzzer is the slightly shorter one, with the electronics
exposed on the bottom. You have to send it an AC "sound signal" via
the Arduino. The Arduino needs to generate the "tone". Can create
music. It takes processor-time to generate the sound so other processes
might slow down. Notice it does not matter which leg you use for
positive or negative. The pin can be connected to a passive piezo
buzzer or other speaker to play tones.
Only one tone can be generated at a time. If a tone is already playing
on a different pin, the call to tone () will have no effect. If the tone is
playing on the same pin, the call will set its frequency. After
downloading the program, the buzzer experiment is completed.
Code
https://docs.google.com/document/d/e/2PACX-1vSjKd0MOPOuC26aF14-
NGEcqO8YUZykitQIdi-p1uCs3d9C02P7h--Uz7FZzJTwnPhM4sEhOtR57vUg/pub
Page | 29
Project 7
RGB LED
Hardware Required
Page | 30
• Breadboard 830 points – 1
• 9V Battery – 1 (Not included in Kit)
• Snapper with DC Jack – 1
NOTE: Here, 9V Battery is used as external power supply.
Circuit Connection
Welcome to the Arduino Based RGB LED Project. White light can be
produced by mixing different colored lights together
Page | 31
the most common method is to use the primary colors red, green and
blue (RGB). As this mechanism involves the blending and diffusion of
different colors, this approach is little used for the production of white
lighting due to the tendency of it to have a slight tint or hue.
Nevertheless, this method is particularly interesting for effect
applications because of the flexibility of mixing different colors.
https://docs.google.com/document/d/e/2PACX-
1vSL9vEEGhe016oFPdiQbuBQAh-
3cFFSdaFGssIvKjIM3MS2xXUJgLolzUsv_pxsrrBhTdqERKbXow3z/pub
Page | 32
Project 8
Photo Resistor or LDR
Hardware Required
Page | 33
• LED - 1
• 10KΩ resistor – 1
• 220Ω resistor – 1
• Jumper wire (Male to Male) – 40 pcs
• 9V Battery – 1 (Not included in kit)
• Snapper with DC Jack – 1
NOTE: 9V Battery is used as external power supply.
Circuit Connection
Page | 34
• Connect negative terminal of LED with the GND rail of Breadboard
via 220Ω resistor.
• Connect the one leg of LDR with the 5V power supply rail of
Breadboard via 10KΩ resistor on one end and connect other end
with the Analog Pin A0 of Arduino Uno.
• Connect other leg of the LDR with the GND rail of Breadboard.
Working and Output
Code
https://docs.google.com/document/d/e/2PACX-
1vSojp59CSWMgtJ6htaTOSmUPjdXDgI94o_s6Nx_JAbaNogptVAvrp1Wo7dxOT
yljTuwOeRGgrbbYc8J/pub
Page | 35
Project 9
Analog Value Reading
Hardware Required
Page | 36
• 9V Battery – 1 (Not included in Kit)
• Snapper with DC Jack – 1
NOTE: Here, 9V Battery is used as external power supply.
Circuit Connection
First, we need to set the baud rate in voidsetup (). Displaying the value
Page | 37
is a communication between Arduino and PC, so the baud rate of the
Arduino should match the one in the PC's software set up. Otherwise,
the display will be messy codes or no display at all. In lower right corner
of Arduino software monitor window, there is a button for baud rate
set up. The set up here needs to match one in the program. The
statement in the program is Serial.begin(); enclosed is the baud rate
value, followed by statement for displaying. You can use Serial.print()
or Serial.println () statement. The sample program uses built-in LED
connected to pin 13. Each time device reads a value, LED blinks.
When you rotate potentiometer knob, you can see displayed value
changes. The reading of analog value is a very common function since
most sensors output analog value.
Code
https://docs.google.com/document/d/e/2PACX1vQKcOXUyZn6VjOZN6E
LsUSnrha1LgswoZJ4JCZhZHXsN_XH1xn4dSh34uT19hpx9BMmQ8IF8s
8Pg2F/pub
Page | 38
Project 10
Control LEDs using SN74HC595 Shift register IC
Hardware Required
Page | 39
• Blue LED – 4
• White LED – 4
• Jumper wire (Male to Male) – 40 pcs
• 220Ω resistors – 8
• SN74HC595N IC Shift Register – 1
• 9V Battery – 1 (Not included in Kit)
• Snapper with DC Jack - 1
NOTE: Here, 9V Battery is used as external power source.
Circuit Connection
Page | 40
• Connect Pin ST_CP (RCLK) of 74HC595 with Digital Pin 4 of Arduino
Uno.
• Connect Pin SH_CP (SRCLK) of 74HC595 with Digital Pin 5 of Arduino
Uno.
• Connect Pin MR (SRCLR) of 74HC595 with 5V rail of Breadboard.
Page | 41
Working and Output
Code
https://docs.google.com/document/d/e/2PACX1vREjJmoW4YoMN8tS
HbA_kNawl_T7jHUH1pAmINpgGst5DpcuQCteUW5Oh4I2SIEgGHx08
mlx-VCeC/pub
Page | 42
Project 11
Turn LED ON/OFF using LDR
Hardware Required
Page | 43
• Jumper wire (Male to Male) – 40 pcs
• Single stand wire 2mt – 1
• 9V Battery – 1 (Not included in Kit)
• Snapper with DC Jack - 1
NOTE: Here, 9V Battery is used as external power supply.
Circuit Connection
Page | 44
• Connect other terminal of LDR1 with Analog Pin A0 with one end of
10KΩ resistor & connect other end of 10KΩ resistor with 3.3V power
supply rail of Breadboard as shown in image below.
• Connect other terminal of LDR 1 with Analog Pin A1 with one end of
10KΩ resistor and connect other end of 10KΩ resistor with 3.3V
power supply rail of Breadboard as shown in image below.
• Connect the positive terminal of LED 2 with Digital Pin 11 of Arduino
Uno.
Welcome to the Arduino Based Project which consists of LDR and LED’s.
Here, LDR is used to turn LED ON/OFF. In this project LDR is being used
as a switch. Each time you cover the photocell, the LED (or whatever)
is turned on (if it's off) or off (if it's on).
The main functionality of circuit is being described below. When the
Light is given on photocell of LDR 1, then LED 1 turns ON. And when
Light is being given on photocell of LDR 2, then LED 2 turns OFF.
Following are the outputs of both the LDR’s.
Output 1:
Page | 45
Output 2:
Output 3:
Code
https://docs.google.com/document/d/e/2PACX-1vRm5WvB-
JMjLMgTso0BuNyYz0jcpC2SeopTR7i_etaN3ucOKd9DU4k4qOhzvbmfd
PcemVK7L78fDOEU/pub
Page | 46
Project 12
Control the speed of led pattern using 10k Potentiometer
In this Led Chaser Project, we will control the speed of LEDs using 10K
potentiometer so you can drive multiple LEDs at once.
Hardware Required
Page | 47
• Potentiometer 10 k – 1
• Breadboard 400 points - 1
• Jumper wires (male to male) – 40 pieces
• Mini breadboard 170 points – 1
• 9v battery with DC jack – 1
Circuit Description
Page | 48
Code
Click to see the code or copy the link:
https://drive.google.com/file/d/1Q4A31wkM-
udisyy1hCgyG9Mw696NnEE0/view?usp=sharing
Output
Here we control the speed of led using the 10k potentiometer. In this
circuit we using 8 led control over the potentiometer that we rotate
the knob of potentiometer from positive to negative that speed
variation in rail of led.
Page | 49
Project 13
Control a RGB led using push button to change colour
In this video we will change the colour of RGB led using push button.
On every pressed button we will see the new colour.
Hardware Required
Page | 50
• Push button – 4
• RGB led – 1
• Single stand wire 2m - 1
• Jumper wire male to male – 40 pieces
• Resistor 270 ohm -3
Circuit Description
• First You Need Three Push Button Fixed on Bread Board Now Pin No
2 Of Push Button All Are Gnd And Pin 3of Push Button Are Connected
to Arduino Uno Pin No 5,6,7
• Push Button 1, 2, 3 Now All Push Button Connected to Arduino Uno.
• Make Gnd Rail on Bread Board to Connect to Common Gnd To
Circuit.
• Now We Connect the Rgb Led, First Put 270 Ohm Resistance In
Between Arduino Connection A Led Shown Given Above in Circuit
Diagram Led Pin No 2 Is Connect to Gnd, And Pin No 1 Connect to
Arduino Pin No 11.
Page | 51
• Pin 3 Connect To Arduino Pin No 10.
• Pin 4 Connect To Arduino Pin No 9.
• Here All The Connections Setup Now Upload The Code.
Code
Click here to see the code or copy the link:
https://drive.google.com/open?id=0BxpdhMRymue7bUFvSmR2X0NPQms
Working
• To start with, all the LEDs will be off. If you press and hold one of the
buttons, then the LED will gradually get brighter. The color will be
red for the top button, green for the middle one and blue for the
bottom button.
• When you have got enough of one color, try pressing another
button and see how they mix together.
• If you want to start over, then press the reset button on the Arduino.
This is the red button, next to the USB connector.
Page | 52
Project 14
Blink leds in Series pattern
Hardware Required
Page | 53
• Battery snapper with DC jack -1
Circuit Connection
Output
Upload the code and you will see three led’s glow in a series pattern
.
Page | 54
Code
Click to see the code or copy the link:
https://docs.google.com/document/d/e/2PACX-1vQBi5O4bnFaTroXMhaeULOR-
Ga9pEw4uwzrXvLipoY42hDKfcgSd4Gy9K_Vs4JPEP8DeeLTGKsQ-B45/pub
Page | 55
Project 15
Capacitance meter
Page | 56
Hardware Required
(You can use the 9v battery for the external use which is not included in
this kit.)
Circuit Connection
Page | 57
• Connect this junction point to the analog pin A0 of Arduino Uno
• Another terminal of 220 Ω resistor to the Digital pin 11 of Uno.
• Connect positive pin of any Electrolyte capacitor to the junction point
of 10 KΩ and 220 Ω resistor.
• Connect GND pin of capacitor to the GND rail on the breadboard.
• Connect GND pin of Arduino Uno to the GND rail on the Breadboard.
NOTE: Here Digital pin 13 used as charge pin for capacitor and digital
pin 11 as discharge pin. The time constant output fed into analog pin
A0.
Here 220-ohm resistor and wires connected to pin 11 are not necessary
but recommended as it speeds up the discharging rate.
Code
or
Scan the QR code
Output
After uploading the code, Open the serial monitor you can see the value
of measured capacitance.
Page | 58
The first Value is how long it took the capacitor to reach 63.2 of its total
charge. the second value is the calculated capacitance in either in
“Nano” or “µf”.
This circuit is most accurate for capacitance value between 1 µf to 3500
µf.
Page | 59
Page | 60