SlideShare a Scribd company logo
Build your Arduino from
scratch
João Alves (jpralves@gmail.com)
Version 1.0 - Mar 2014
Agenda
Introduction
Problem
Solution
Requirements
Schematics
Bill of Materials
The Parts
Assembling the board
Running a Test Sketch
Demo
Introduction
Soldered my first Arduino Clone - a Diavolino (http://wiki.
evilmadscientist.com/Diavolino) - in 2012 in a workshop
presented by Mitch Altman at Codebits.
Introduction (cont…)
After some other workshops in Altlab (http://altlab.org)
where I assembled a Freeduino and made some small
stripboards with leds, buzzers and buttons I wanted to
do more and start learning not only the how but also
the why in electronics. This is one of my works, based
on several other similar projects found on the Internet.
You are free to use it, change it and improve it.
Problem
Arduino is very nice for prototyping but after creating a
project with the board it is an overkill to use it in the final
product. Although not very expensive, an Arduino clone
board costs at least € 20 (25 USD), an official one costs a
little bit more.
Solution
Create an inexpensive Arduino-like board that
can be used with the project keeping the
Arduino Board for future projects.
It can replace completely the Arduino board if
you don’t require the use of shields (it is not pin
head compatible).
Requirements
● Cheap
● Small
● Easy
Cheap
With a very small budget of up to € 3.5 (5 USD)
in parts it was possible to build this board with
the required components.
Small
To be small some optimizations were made to
the stripboard to accomplish its reduced size.
The board is 4.5cm x 5.5cm.
The circuit is adaptable to different
requirements and it was made modular enough
to be able remove the parts not needed and
reduce its size even further.
Easy
To be simple and easy to build I’ve used only THT -
Through-hole technology. Avoiding SMD - Surface Mount
Devices - components - as they are harder to solder and
prone to errors.
I’ve used the most common microcontroller used in Arduino
Boards with THT - the ATMega328P (in PDIP format). The
components where soldered to a stripboard to reduce extra
wiring.
Schematics
Bill of Materials
● 1x Stripboard with at least 19 Rows and 16
Columns (€ 0,73)
● 1x ATmega328P-PU microcontroller with
Arduino bootloader (U1) (€ 1,59)
● 1x 28 pin DIP IC Socket (U1)
● 1x 16 MHz crystal oscillator (XTAL1) (€ 0,44)
● 2x 22 pF, 50 V ceramic capacitors (C3, C4)
(€ 0,06)
● 1x 40-pin male single header (J1, J2, J3, J4,
J5, J6, J7) (€ 0,12)
● 1x 7805 linear voltage regulator (U2) (€ 0,22)
● 2x 100 μF, 25 V electrolytic capacitors
(C1, C2) (€ 0,04)
● 1x 1N4001 rectifier diode (D1) (€ 0,02)
● 1x SPST momentary normally-open type
switch (S1) € 0,08)
● 1x 10 kΩ resistor (R2) (€ 0,01)
● 1x 100 nF, 50 V ceramic capacitor (C5) (€
0,06)
● 1x 1 kΩ resistor (R1) (€ 0,01)
● 1x LED (3mm) (LED1) (€ 0,02)
● 1x Jumper (€ 0,01)
The Parts
● Voltage Regulator
● USB/FTDI Programming Header
● Hello World LED
● Microcontroller
The Voltage Regulator
Components:
● 1x 7805 linear voltage
regulator (U2)
● 2x 100 μF 25 V electrolytic
capacitors (C1, C2)
● 1x 1N4001 rectifier diode
(D1)
● 1x 5-pin male single
header (J5 + J6)
USB/FTDI Prog. Header
Components:
● 1x SPST normally-open
type switch (S1)
● 1x 10 kΩ resistor (R2)
● 1x 100 nF, 50 V ceramic
capacitor (C5)
● 1x 6-pin male single
header (J4)
Hello World LED
Components:
● 1x 1 kΩ resistor (R1)
● 1x LED (3mm) (LED1)
● 1x Jumper
● 1x 2-pin male single
header (J7)
Microcontroller
Components:
● 1x ATmega328P-PU microcontroller
(U1)
● 1x 28 pin DIP IC Socket (U1)
● 1x 16 MHz crystal oscillator (XTAL)
● 2x 22 pF, 50 V ceramic capacitors
(C3, C4)
● 1x 14-pin male single header (J1)
● 1x 7-pin male single header (J2)
● 1x 4-pin male single header (J3)
The ATmega328P Pin Layout
Assembling the board
● Tools required for assembling
● Preparing for the Assembly
● Cut holes in the stripboard
● Cut 40-Pin Header into smaller parts
● Soldering components
Tools required for assembling
● Soldering Iron
● Track Cutter
● Wire Snips
● X-Acto Knife
● Solder
Preparing for the Assembly
Common stripboards have one side with the “stripes” and
another clean side. The components will be mounted on
the clean side and soldered on the strip side.
Cut holes in the stripboard
Prepare 40-Pin Male Header
Cut the 40-Pin Male to this sizes:
● 1x 14-pin male single header (J1)
● 1x 8-pin male single header (J2)
● 1x 4-pin male single header (J3)
● 1x 6-pin male single header (J4)
● 1x 5-pin male single header (J5 + J6)
● 1x 2-pin male single header (J7)
Soldering components
Solder the components in the
following order:
● Wires
● IC Socket (U1)
● Resistors (R1, R2)
● 1N4001 (D1)
● Ceramic Capacitors (C3, C4, C5)
● Crystal (XTAL)
● SPST switch (S1)
● Male Head Pins (J1, J2, J3, J4,
J5, J6, J7)
● LED (LED1)
● Electrolytic Capacitors (C1, C2)
● 7805 (U2)
● ATmega328P (U1)
Components location
● IC Socket and ATmega328P-PU (U1)
● 16 MHz Crystal (XTAL1)
● 22 pF, 50 V (C3, C4)
● 7805 (U2)
● 100 μF, 25 V (C1, C2)
● 1N4001 (D1)
● SPST switch (S1)
● 10 kΩ resistor (R2)
● 100 nF, 50 V (C5)
● 1 kΩ resistor (R1)
● LED (3mm) (LED1)
C5
C3
C1 C2
C4
XTAL1
S1 U1
U2 D1
LED1
R1
R2
FTDI
POWER
Soldering components location
After each component there are coordinates LyCx where y is the line and x is
the column to put the wire.
The lines and columns are numbered on the strip side so the x is backwards.
x
y
Wires
Cut wires with the following lengths:
● Black:
○ 2 x 3 cm (L4C3-L12C3, L4C8-L13C8)
○ 1 x 1 cm (L2C9-L4C9)
● Red:
○ 2 x 3 cm (L5C2-L14C2, L5C6-L12C6)
○ 2 x 1 cm (L3C12-L5C12, L5C14-L6C15)
● Green:
○ 1 x 3,5 cm (L3C5-L15C5)
● Yellow:
○ 1 x 3 cm (L6C13-L11C16)
Solder the wires into the stripboard according to the image.
IC Socket (U1)
Place the IC Socket with pin 1 on the top.
Its not very easy to solder because the two wires below get in
the way. Try to center the wires under the socket.
Solder carefully according to the image.
Components:
● U1 - 28 pin DIP IC Socket (L6C7 - L19C4)
Resistors (R1, R2)
The Resistors don’t have polarity but R1 is different from R2.
Solder carefully according to the image.
Components:
● R1 - 1 kΩ resistor (L3C3 - L2C5)
● R2 - 10 kΩ resistor (L6C9 - L12C9)
1N4001 (D1)
Solder the component in the board with the stripe (-) on the
left.
Components:
● D1 - 1N4001 rectifier diode (L1C2 - L1C5)
Ceramic Capacitors (C3, C4, C5)
The Ceramic Capacitors don’t have polarity but C5 is different
from C3 and C4. Solder carefully according to the image.
Components:
● C3 - 22 pF, 50 V ceramic capacitor (L13C11 - L15C11)
● C4 - 22 pF, 50 V ceramic capacitor (L13C9 - L14C9)
● C5 - 100 nF, 50 V ceramic capacitor (L9C15 - L11C15)
Crystal (XTAL)
The Crystal doesn’t have polarity. Solder carefully according
to the image.
Components:
● XTAL - 16 MHz crystal oscillator (L14C8 - L15C8)
SPST switch (S1)
To solder this component you should straighten the pins so it
fits in a 3 x 3 space. Solder carefully according to the image.
Components:
● S1 - SPST normally-open type switch (L11C14 -
L13C12)
Male Head Pins (J1, J2, J3, J4, J5, J6, J7)
These should be soldered carefully. Solder only one pin at
the beginning so its easier to straighten the head, then solder
the rest.
Solder carefully according to the image.
● J1 - 14-pin male header (L6C1-L19C1)
● J2 - 8-pin male header (L6C10-L13C10)
● J3 - 4-pin male header (L16C10-L19C10)
● J4 - 6-pin male header (L4C16-L9C16)
● J5+J6 - 5-pin male header* (L1C1-L5C1)
● J7 - 2-pin male header (L2C6-L3C6)
* - Remove 2 of the pins
LED (LED1)
The LED has a longer leg (+) which should be placed on the
upper side, the smaller leg (-) should be on the bottom side.
Solder according to the image.
Components:
● LED - LED (3mm) (L3C2+ - L4C2-)
Electrolytic Capacitors (C1, C2)
The C1 should have the (-) side up and the (+) side down.
The minus is normally identified by a white strip and shorter
leg.
The C2 should have the (-) side down and the (+) side up.
Solder according to the image.
Components:
● C1 - 100 μF 25 V electrolytic capacitor (L2C13- -
L2C13+)
● C2 - 100 μF 25 V electrolytic capacitor (L1C8+ - L2C8-)
7805 (U2)
The metal side should be facing right and letters on the chip
should be facing left. Solder according to the image.
Components:
● U2 - 7805 linear voltage regulator (L1C10-L3C10)
ATmega328P (U1)
Then, after finishing you can put the ATmega328P on the
socket according to the image.
Components:
● U1 - ATmega328P-PU microcontroller
Fully assembled board
Testing and using it
Make sure you don’t have shorts between
tracks
Use a USB/FTDI Breakout board
Disconnect the external power to the board when using the
USB/FTDI programming breakout card.
Running a Test Sketch
Setup Arduino IDE:
● Choose Arduino Duemilanove w/ ATmega328
● Load Examples -> 01. Basics -> Blink
Demo
● Traffic Signals
● MegaDemo
● Ultrasonic Sensors
Q & A ?
Questions ?
http://jpralves.net
https://plus.google.com/u/0/+JoãoAlvesPlus

More Related Content

PDF
Arduino severinomanual2
DOCX
Arduino windows remote control
PDF
Arduino Severino Serial Board TPS-00759 www.onlineTPS.com
PPTX
INTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCK
PDF
Cataloge schneider plc schneider-dienhathe.vn
PPTX
Digital clock workshop
PDF
Joral Non Contact Encoders Ppt
PDF
Digital stop watch
Arduino severinomanual2
Arduino windows remote control
Arduino Severino Serial Board TPS-00759 www.onlineTPS.com
INTERRUPT DRIVEN MULTIPLEXED 7 SEGMENT DIGITAL CLOCK
Cataloge schneider plc schneider-dienhathe.vn
Digital clock workshop
Joral Non Contact Encoders Ppt
Digital stop watch

What's hot (20)

PDF
Advanced motion controls azbe12a8
PDF
Advanced motion controls azbe6a8
PDF
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
PDF
PDF
CMEL 2.4 inch Amoled(240x320) Datasheet
PDF
Electronics schematic circuits for the hobbyist
PDF
Advanced motion controls azb12a8
PPTX
Digitalclock project 2016 with timer 555 & IC 7490 & IC 7474 & 7 segment
PPTX
Arduino UNO R3 Projects - Robomart
DOCX
Experimentdsd[1]
PDF
2th year iv sem de lab manual
PDF
Advanced motion controls azbdc12a8
PDF
Encoder incremental
PDF
Advanced motion controls azbh6a8
PDF
Advanced motion controls azbdc6a8
PDF
Advanced motion controls azbe20a8
PDF
Advanced motion controls azb6a8
PDF
ATMEL Development Board
PPTX
Digital clock presentation
PDF
Advanced motion controls azbe10a20
Advanced motion controls azbe12a8
Advanced motion controls azbe6a8
Logic gate tester for IC's ( Digital Electronics and Logic deisgn EE3114 )
CMEL 2.4 inch Amoled(240x320) Datasheet
Electronics schematic circuits for the hobbyist
Advanced motion controls azb12a8
Digitalclock project 2016 with timer 555 & IC 7490 & IC 7474 & 7 segment
Arduino UNO R3 Projects - Robomart
Experimentdsd[1]
2th year iv sem de lab manual
Advanced motion controls azbdc12a8
Encoder incremental
Advanced motion controls azbh6a8
Advanced motion controls azbdc6a8
Advanced motion controls azbe20a8
Advanced motion controls azb6a8
ATMEL Development Board
Digital clock presentation
Advanced motion controls azbe10a20
Ad

Viewers also liked (20)

PDF
Solder
PDF
CSEduino presentation at Lisbon Mini Maker Faire
PDF
Arduino - Módulo Bluetooth JY-MCU
PDF
Stuff harvesting - Gather your electronic components for hobbyist
PDF
Aperture : 6. 피에조 부저를 이용해 멜로디 연주하기
PDF
Literatura infantil recurso_metodologico_ensino_aprendizagem_matematica
PDF
Oficina Arduino
PPTX
Projeto banana
PPT
Oficina Scratch para Arduino Cap UFRJ
PPTX
PPTX
Oficina de Robótica e Automação Casa de Vovó Dedé: Introdução
PDF
Estratégias para salvar um restaurante e fazer o negócio decolar a partir da ...
PDF
Scratch & Arduino
PPTX
O sensor de ultrassons SR-04 e programação em S4A
ODP
Arduino: Soluções para o mundo moderno
PPTX
Controlo de motores dc através de Scratch
PDF
Programação em-arduino-módulo-básico
PPTX
Arduino & Scratch na Escola - Aula 1
PPTX
Arduino & Scratch na Escola - Aula 3
PPTX
Espaço Programação e Eletrónica - Sessão5
Solder
CSEduino presentation at Lisbon Mini Maker Faire
Arduino - Módulo Bluetooth JY-MCU
Stuff harvesting - Gather your electronic components for hobbyist
Aperture : 6. 피에조 부저를 이용해 멜로디 연주하기
Literatura infantil recurso_metodologico_ensino_aprendizagem_matematica
Oficina Arduino
Projeto banana
Oficina Scratch para Arduino Cap UFRJ
Oficina de Robótica e Automação Casa de Vovó Dedé: Introdução
Estratégias para salvar um restaurante e fazer o negócio decolar a partir da ...
Scratch & Arduino
O sensor de ultrassons SR-04 e programação em S4A
Arduino: Soluções para o mundo moderno
Controlo de motores dc através de Scratch
Programação em-arduino-módulo-básico
Arduino & Scratch na Escola - Aula 1
Arduino & Scratch na Escola - Aula 3
Espaço Programação e Eletrónica - Sessão5
Ad

Similar to CSEduino - Build your Arduino from scratch (20)

PDF
Chromation systems 24-channel-usb-connected-led-controller-v3
DOCX
Multiplexing With Arduino and the 74HC595
PDF
DOCX
Insructables fm listening bug
PPTX
Arduino Workshop
PDF
Intro to arduino
PDF
Electro
PDF
electronics
PDF
ELECTRONICS DESIGN ACADEMY 2012
PDF
Open Hardware: Arduino #barcampmexico
PDF
Arduino talk
PDF
Arduino talk
PDF
Arduino talk
PPTX
Ardui no
PDF
arduinoworkshop-160204051621.pdf
PDF
295889096 music-reactive-multicolor-led-lights
PDF
Power amplifier (2) tugas
PPTX
Arduino Projects.pptx
PPTX
The MHV Board
PPTX
Smart home arduino
Chromation systems 24-channel-usb-connected-led-controller-v3
Multiplexing With Arduino and the 74HC595
Insructables fm listening bug
Arduino Workshop
Intro to arduino
Electro
electronics
ELECTRONICS DESIGN ACADEMY 2012
Open Hardware: Arduino #barcampmexico
Arduino talk
Arduino talk
Arduino talk
Ardui no
arduinoworkshop-160204051621.pdf
295889096 music-reactive-multicolor-led-lights
Power amplifier (2) tugas
Arduino Projects.pptx
The MHV Board
Smart home arduino

Recently uploaded (20)

PDF
The Spotlight Effect No One Is Thinking About You as Much as You Think - by M...
PPTX
Identity Development in Adolescence.pptx
PPTX
diasspresentationndkcnskndncelklkfndc.pptx
PPTX
cấu trúc sử dụng mẫu Cause - Effects.pptx
PDF
The Power of Pausing Before You React by Meenakshi Khakat
PPTX
Learn about numerology and do tarot reading
PPTX
show1- motivational ispiring positive thinking
PPTX
Learn numerology content and join tarot reading
DOCX
Boost your energy levels and Shred Weight
PPTX
Commmunication in Todays world- Principles and Barriers
PPT
cypt-cht-healthy-relationships-part1-presentation-v1.1en.ppt
PPTX
UNIVERSAL HUMAN VALUES for NEP student .pptx
PPTX
Learn how to use Portable Grinders Safely
PPTX
Pradeep Kumar Roll no.30 Paper I.pptx....
PPTX
Chapter-7-The-Spiritual-Self-.pptx-First
PPTX
Travel mania in india needs to change the world
PDF
Quiet Wins: Why the Silent Fish Survives.pdf
PPTX
THEORIES-PSYCH-3.pptx theory of Abraham Maslow
PDF
⚡ Prepping for grid failure_ 6 Must-Haves to Survive Blackout!.pdf
PDF
My 'novel' Account of Human Possibility pdf.pdf
The Spotlight Effect No One Is Thinking About You as Much as You Think - by M...
Identity Development in Adolescence.pptx
diasspresentationndkcnskndncelklkfndc.pptx
cấu trúc sử dụng mẫu Cause - Effects.pptx
The Power of Pausing Before You React by Meenakshi Khakat
Learn about numerology and do tarot reading
show1- motivational ispiring positive thinking
Learn numerology content and join tarot reading
Boost your energy levels and Shred Weight
Commmunication in Todays world- Principles and Barriers
cypt-cht-healthy-relationships-part1-presentation-v1.1en.ppt
UNIVERSAL HUMAN VALUES for NEP student .pptx
Learn how to use Portable Grinders Safely
Pradeep Kumar Roll no.30 Paper I.pptx....
Chapter-7-The-Spiritual-Self-.pptx-First
Travel mania in india needs to change the world
Quiet Wins: Why the Silent Fish Survives.pdf
THEORIES-PSYCH-3.pptx theory of Abraham Maslow
⚡ Prepping for grid failure_ 6 Must-Haves to Survive Blackout!.pdf
My 'novel' Account of Human Possibility pdf.pdf

CSEduino - Build your Arduino from scratch

  • 1. Build your Arduino from scratch João Alves (jpralves@gmail.com) Version 1.0 - Mar 2014
  • 2. Agenda Introduction Problem Solution Requirements Schematics Bill of Materials The Parts Assembling the board Running a Test Sketch Demo
  • 3. Introduction Soldered my first Arduino Clone - a Diavolino (http://wiki. evilmadscientist.com/Diavolino) - in 2012 in a workshop presented by Mitch Altman at Codebits.
  • 4. Introduction (cont…) After some other workshops in Altlab (http://altlab.org) where I assembled a Freeduino and made some small stripboards with leds, buzzers and buttons I wanted to do more and start learning not only the how but also the why in electronics. This is one of my works, based on several other similar projects found on the Internet. You are free to use it, change it and improve it.
  • 5. Problem Arduino is very nice for prototyping but after creating a project with the board it is an overkill to use it in the final product. Although not very expensive, an Arduino clone board costs at least € 20 (25 USD), an official one costs a little bit more.
  • 6. Solution Create an inexpensive Arduino-like board that can be used with the project keeping the Arduino Board for future projects. It can replace completely the Arduino board if you don’t require the use of shields (it is not pin head compatible).
  • 8. Cheap With a very small budget of up to € 3.5 (5 USD) in parts it was possible to build this board with the required components.
  • 9. Small To be small some optimizations were made to the stripboard to accomplish its reduced size. The board is 4.5cm x 5.5cm. The circuit is adaptable to different requirements and it was made modular enough to be able remove the parts not needed and reduce its size even further.
  • 10. Easy To be simple and easy to build I’ve used only THT - Through-hole technology. Avoiding SMD - Surface Mount Devices - components - as they are harder to solder and prone to errors. I’ve used the most common microcontroller used in Arduino Boards with THT - the ATMega328P (in PDIP format). The components where soldered to a stripboard to reduce extra wiring.
  • 12. Bill of Materials ● 1x Stripboard with at least 19 Rows and 16 Columns (€ 0,73) ● 1x ATmega328P-PU microcontroller with Arduino bootloader (U1) (€ 1,59) ● 1x 28 pin DIP IC Socket (U1) ● 1x 16 MHz crystal oscillator (XTAL1) (€ 0,44) ● 2x 22 pF, 50 V ceramic capacitors (C3, C4) (€ 0,06) ● 1x 40-pin male single header (J1, J2, J3, J4, J5, J6, J7) (€ 0,12) ● 1x 7805 linear voltage regulator (U2) (€ 0,22) ● 2x 100 μF, 25 V electrolytic capacitors (C1, C2) (€ 0,04) ● 1x 1N4001 rectifier diode (D1) (€ 0,02) ● 1x SPST momentary normally-open type switch (S1) € 0,08) ● 1x 10 kΩ resistor (R2) (€ 0,01) ● 1x 100 nF, 50 V ceramic capacitor (C5) (€ 0,06) ● 1x 1 kΩ resistor (R1) (€ 0,01) ● 1x LED (3mm) (LED1) (€ 0,02) ● 1x Jumper (€ 0,01)
  • 13. The Parts ● Voltage Regulator ● USB/FTDI Programming Header ● Hello World LED ● Microcontroller
  • 14. The Voltage Regulator Components: ● 1x 7805 linear voltage regulator (U2) ● 2x 100 μF 25 V electrolytic capacitors (C1, C2) ● 1x 1N4001 rectifier diode (D1) ● 1x 5-pin male single header (J5 + J6)
  • 15. USB/FTDI Prog. Header Components: ● 1x SPST normally-open type switch (S1) ● 1x 10 kΩ resistor (R2) ● 1x 100 nF, 50 V ceramic capacitor (C5) ● 1x 6-pin male single header (J4)
  • 16. Hello World LED Components: ● 1x 1 kΩ resistor (R1) ● 1x LED (3mm) (LED1) ● 1x Jumper ● 1x 2-pin male single header (J7)
  • 17. Microcontroller Components: ● 1x ATmega328P-PU microcontroller (U1) ● 1x 28 pin DIP IC Socket (U1) ● 1x 16 MHz crystal oscillator (XTAL) ● 2x 22 pF, 50 V ceramic capacitors (C3, C4) ● 1x 14-pin male single header (J1) ● 1x 7-pin male single header (J2) ● 1x 4-pin male single header (J3)
  • 19. Assembling the board ● Tools required for assembling ● Preparing for the Assembly ● Cut holes in the stripboard ● Cut 40-Pin Header into smaller parts ● Soldering components
  • 20. Tools required for assembling ● Soldering Iron ● Track Cutter ● Wire Snips ● X-Acto Knife ● Solder
  • 21. Preparing for the Assembly Common stripboards have one side with the “stripes” and another clean side. The components will be mounted on the clean side and soldered on the strip side.
  • 22. Cut holes in the stripboard
  • 23. Prepare 40-Pin Male Header Cut the 40-Pin Male to this sizes: ● 1x 14-pin male single header (J1) ● 1x 8-pin male single header (J2) ● 1x 4-pin male single header (J3) ● 1x 6-pin male single header (J4) ● 1x 5-pin male single header (J5 + J6) ● 1x 2-pin male single header (J7)
  • 24. Soldering components Solder the components in the following order: ● Wires ● IC Socket (U1) ● Resistors (R1, R2) ● 1N4001 (D1) ● Ceramic Capacitors (C3, C4, C5) ● Crystal (XTAL) ● SPST switch (S1) ● Male Head Pins (J1, J2, J3, J4, J5, J6, J7) ● LED (LED1) ● Electrolytic Capacitors (C1, C2) ● 7805 (U2) ● ATmega328P (U1)
  • 25. Components location ● IC Socket and ATmega328P-PU (U1) ● 16 MHz Crystal (XTAL1) ● 22 pF, 50 V (C3, C4) ● 7805 (U2) ● 100 μF, 25 V (C1, C2) ● 1N4001 (D1) ● SPST switch (S1) ● 10 kΩ resistor (R2) ● 100 nF, 50 V (C5) ● 1 kΩ resistor (R1) ● LED (3mm) (LED1) C5 C3 C1 C2 C4 XTAL1 S1 U1 U2 D1 LED1 R1 R2 FTDI POWER
  • 26. Soldering components location After each component there are coordinates LyCx where y is the line and x is the column to put the wire. The lines and columns are numbered on the strip side so the x is backwards. x y
  • 27. Wires Cut wires with the following lengths: ● Black: ○ 2 x 3 cm (L4C3-L12C3, L4C8-L13C8) ○ 1 x 1 cm (L2C9-L4C9) ● Red: ○ 2 x 3 cm (L5C2-L14C2, L5C6-L12C6) ○ 2 x 1 cm (L3C12-L5C12, L5C14-L6C15) ● Green: ○ 1 x 3,5 cm (L3C5-L15C5) ● Yellow: ○ 1 x 3 cm (L6C13-L11C16) Solder the wires into the stripboard according to the image.
  • 28. IC Socket (U1) Place the IC Socket with pin 1 on the top. Its not very easy to solder because the two wires below get in the way. Try to center the wires under the socket. Solder carefully according to the image. Components: ● U1 - 28 pin DIP IC Socket (L6C7 - L19C4)
  • 29. Resistors (R1, R2) The Resistors don’t have polarity but R1 is different from R2. Solder carefully according to the image. Components: ● R1 - 1 kΩ resistor (L3C3 - L2C5) ● R2 - 10 kΩ resistor (L6C9 - L12C9)
  • 30. 1N4001 (D1) Solder the component in the board with the stripe (-) on the left. Components: ● D1 - 1N4001 rectifier diode (L1C2 - L1C5)
  • 31. Ceramic Capacitors (C3, C4, C5) The Ceramic Capacitors don’t have polarity but C5 is different from C3 and C4. Solder carefully according to the image. Components: ● C3 - 22 pF, 50 V ceramic capacitor (L13C11 - L15C11) ● C4 - 22 pF, 50 V ceramic capacitor (L13C9 - L14C9) ● C5 - 100 nF, 50 V ceramic capacitor (L9C15 - L11C15)
  • 32. Crystal (XTAL) The Crystal doesn’t have polarity. Solder carefully according to the image. Components: ● XTAL - 16 MHz crystal oscillator (L14C8 - L15C8)
  • 33. SPST switch (S1) To solder this component you should straighten the pins so it fits in a 3 x 3 space. Solder carefully according to the image. Components: ● S1 - SPST normally-open type switch (L11C14 - L13C12)
  • 34. Male Head Pins (J1, J2, J3, J4, J5, J6, J7) These should be soldered carefully. Solder only one pin at the beginning so its easier to straighten the head, then solder the rest. Solder carefully according to the image. ● J1 - 14-pin male header (L6C1-L19C1) ● J2 - 8-pin male header (L6C10-L13C10) ● J3 - 4-pin male header (L16C10-L19C10) ● J4 - 6-pin male header (L4C16-L9C16) ● J5+J6 - 5-pin male header* (L1C1-L5C1) ● J7 - 2-pin male header (L2C6-L3C6) * - Remove 2 of the pins
  • 35. LED (LED1) The LED has a longer leg (+) which should be placed on the upper side, the smaller leg (-) should be on the bottom side. Solder according to the image. Components: ● LED - LED (3mm) (L3C2+ - L4C2-)
  • 36. Electrolytic Capacitors (C1, C2) The C1 should have the (-) side up and the (+) side down. The minus is normally identified by a white strip and shorter leg. The C2 should have the (-) side down and the (+) side up. Solder according to the image. Components: ● C1 - 100 μF 25 V electrolytic capacitor (L2C13- - L2C13+) ● C2 - 100 μF 25 V electrolytic capacitor (L1C8+ - L2C8-)
  • 37. 7805 (U2) The metal side should be facing right and letters on the chip should be facing left. Solder according to the image. Components: ● U2 - 7805 linear voltage regulator (L1C10-L3C10)
  • 38. ATmega328P (U1) Then, after finishing you can put the ATmega328P on the socket according to the image. Components: ● U1 - ATmega328P-PU microcontroller
  • 40. Testing and using it Make sure you don’t have shorts between tracks Use a USB/FTDI Breakout board Disconnect the external power to the board when using the USB/FTDI programming breakout card.
  • 41. Running a Test Sketch Setup Arduino IDE: ● Choose Arduino Duemilanove w/ ATmega328 ● Load Examples -> 01. Basics -> Blink
  • 42. Demo ● Traffic Signals ● MegaDemo ● Ultrasonic Sensors
  • 43. Q & A ? Questions ? http://jpralves.net https://plus.google.com/u/0/+JoãoAlvesPlus