0% found this document useful (0 votes)
87 views

ABC Disp1 PDF

This document provides basic connection diagrams for connecting various components to an Arduino board, including: - Connecting a pushbutton to either 5V or GND to trigger the input going high or low. - Connecting components like LEDs, potentiometers, and photoresistors to analog inputs. - Using an optocoupler for galvanic isolation when connecting external circuitry to Arduino inputs. - Wiring dual LEDs, LED clusters, or bi-color LEDs using current-limiting resistors.

Uploaded by

Ryan Brown
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views

ABC Disp1 PDF

This document provides basic connection diagrams for connecting various components to an Arduino board, including: - Connecting a pushbutton to either 5V or GND to trigger the input going high or low. - Connecting components like LEDs, potentiometers, and photoresistors to analog inputs. - Using an optocoupler for galvanic isolation when connecting external circuitry to Arduino inputs. - Wiring dual LEDs, LED clusters, or bi-color LEDs using current-limiting resistors.

Uploaded by

Ryan Brown
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

www.pighixxx.

com

BY ND
03 APR 2013
ver 1 rev 0
1
THE
UNOFFICIAL Pushbutton to 12V
Should you need to connect Arduino inputs to a DC voltage higher than 5V

ARDUINO +12V

basic connections
Pin Goes
Optocoupled inputs
HIGH Used when galavanic separation between external circuitry and Arduino circuit is required
when button
pressed
5V

Pushbutton to GND

1K
5V

10K
MAX +12V A C
1K
IN IN

100nF

470
10K

K E
IN
To reduce the
Vin
interferences
add a capacitor LOW
A B
Pin Goes When using this circuit for 24 volts input increase R to 2200
LOW K
when button C
pressed
NC E
Using Internal Pullup
5V
4N25

Pin Goes
HIGH
Pushbutton to 5V when button
pressed
Trimmer or Potentiometer Photoresistor
5V
5V 5V

Pin Goes IN
HIGH
when button
pressed

IN Pin Goes IN
LOW IN
when button
10K

pressed

1K
Analog
Input Analog www.pighixxx.com
IN Input
BY ND
03 APR 2013
ver 1 rev 0
2
THE Dual LEDs or bi-color LED LED clusters
UNOFFICIAL +12V
5V

ARDUINO
basic connections

470
470
A K
A
A #Leds Resistor Value
1K
Connect a Led 820
K
HIGH 750
5V 680
470
OUT 390
470

A
A K LOW
A
Led goes K
ON
when pin A K
is set to
LOW

470
K

A K
Leds goes
OUT K ON
when pin
is set to
LOW
NPN
Connect a Lamp (DC Low Voltage) 2.2K
OUT
Connect a Led A K
C E E C

B B

OUT 1N4007 2N2222


K

A
Lamp goes
A

Led goes
ON ON
when pin when pin
is set to is set to C E
K HIGH LOW
NPN B
2.2K BC337
470

OUT
A K
www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0
3
THE
UNOFFICIAL

ARDUINO Connect a Relay


+5V ... 12V
Connect an Audio Amplifier

basic connections

Rel
100
A K OUT
1N4007 1F RCA

1K
K
Relay goes
ON
when pin
is set to
HIGH

A
NPN
C
2.2K B
OUT
E C E

B
BC337

Connect a Buzzer

Connect a Mosfet

+48V

100
OUT
Mosfet
excited
when pin
GDS
is set to
HIGH
IRL540
OUT MAX 2.5A
D
100 G Buzzer
OUT
S
22K

Reccomended
only for Switch or
in Low frequency
applications. www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0
4
THE
UNOFFICIAL

ARDUINO Connect a Speaker

basic connections +5V 8

1K
10F 16V

100K
NPN
10F 16V C
100 B
OUT
E

22K
100F 16V

100
C E E C

B B

2N2222

A B Connect a Triac
K NC

NC E

TLP3020

A 6
470 1K 100 1/2 W
OUT A2
TRIAC
100nf

Yuou can
use a
PWM K 4 G 100nf 630V
pin A1
AC IN
www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0
5
THE
UNOFFICIAL Connect a RGB Led Strip

ARDUINO
+12V

basic connections

D
100 G
OUT +12
G

100K
You can also S
use a PWM
pin D
100 G R
OUT
B

100K
S
D
100 G
Connect a DC Motor OUT
S

100K
A K

1N4007
GDS
IRL540

Connect an Encoder Clockwise

Fase 1(A)
K

10K
A
1F

IN
Fase 2(B)
A

10K C Counterclockwise
IN
You can also
use a PWM
B
pin

100nF
D
100 G
OUT 100nF B
A C
S
100K

Set Pin
to HIGH GDS
Motor ON
IRL540
www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0
6
THE
UNOFFICIAL

ARDUINO Bi-Directional Voltage Level Converter 3.3V to 5V Bi-Directional Voltage Level Converter 3.3V to 5V
with voltage divider
basic connections
5V
3,3V 5V

4,7K
10K

10K
IN/OUT IN/OUT
2N7000

10K

10K
IN/OUT IN/OUT
2N7000
S D

S D
TTL / CMOS converter (6 inputs/outputs) TTL / CMOS converter
G

+5V +12V CMOS voltage

10K
OUT
NPN
VCC VDD TTL 0-5V
2,2K
OUT Aout Fout
IN
IN Ain Fin
MC14504B

Bout MODE

Bin Eout

Cout Ein

Cin Dout

GND Din

www.pighixxx.com
C E E C

B B BY ND
03 APR 2013
2N2222 ver 1 rev 0
7
THE
UNOFFICIAL

ARDUINO
basic connections

Connect a Microphone Connect a Servo

OUT
5V

+2,5V
Digital
Output
100K

22K

IN
NPN 1K

4,5 - 6V
Analog Connect to an external power supply!

MIC Input
3,3K

10F

C E E C

B B

2N2222

www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0
10
THE
UNOFFICIAL

ARDUINO
basic connections

7 Segments Display (Common Anode) with MAX7221

1 14 11 8
13

16

7 1 DIN DOUT 24
5
DIG0 SEGD

6 3 2 15 DIG4
LTC-2623 SEGDP
16 15 14 13 12 11 10 9

5V
GND SEGE

DIG6 SEGC

MAX7221
DIG2 V+
MOSI
1 2 3 4 5 6 7 8
DIN DOUT

1 DIG0 SEGD 6
DIG3 Iset
DIG4 SEGDP 3
GND SEGE 5 DIG7 SEGG
DIG6 SEGC 2
RX
MAX7221

11 DIG2 V+ GND SEGB


Current 1.5v 2.0v 2.5v 3.0v 3.5v
8 DIG3 Iset
40ma 12K 12K 11K 10K 10K DIG5 SEGF
DIG7
RX 7
SEGG
30ma 18K 17K 16K 15K 14K
GND SEGB 15 20ma 30K 28K 26K 24K 22K DIG1 SEGA
DIG5 SEGF 16 10ma 68K 64K 60K 56K 51K
LOAD
14 DIG1 SEGA 13 12 CS
CLK 13
SS LOAD
CS
CLK SCK
0,1F

10F

www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0
11
THE
UNOFFICIAL

ARDUINO
basic connections
Connect a LCD HITACHI 44780 compatible

use PWM
to change 1 Vss GROUND
LCD 2 Vdd RAW
brightness 1K 3 Vee Contrast
D10 4 RS Register Sel

Optional 5 R/W Read/Write

6 E Enable
D2 7 D0 Data bit 0

8 D1 Data bit 1
D3 9 D2 Data bit 2

10 D3 Data bit 3
D4 11 D4 Data bit 4
C E
12 D5 Data bit 5
B Used for 4bit mode
D5 13 D6 Data bit 6
BC337 14 D7 Data bit 7

D11 15 A +Backlight

16 K -Backlight

D12
10K

5V Connect to Ground if
270 LCD Brightness is not used

1 2 3 4 5 6 11 12 13 14 15 16

www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0
8
THE Out1 Out2 Out3

UNOFFICIAL

ARDUINO
basic connections

Charlieplexing

OUT
270
OUT1 H=High, L=Low, i=Input
7 Segments Display
270
OUT2
5V
common 5 7
270
270
OUT3
OUT 9 6 OUT
OUT 10

OUT 1 3 OUT
4 OUT
2
A K

10 9 8 7 6

270
OUT

OUT
270
OUT 1 2 3 4 5

270
OUT

270
OUT

www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0
9
THE
UNOFFICIAL

ARDUINO
basic connections

LED Array

7 Segments Display (Common Anode) with Multiplexing OUT

5V
common
OUT
1K
OUT
1K
OUT OUT

1K
OUT C E

B
OUT
1K BC337
OUT

270

270

270

270
270 x 4 1 14 11 8
OUT 13

OUT 16

OUT

OUT

OUT

OUT
OUT 7

OUT 5

270 6 3 2 15
OUT A K
270
OUT LTC-2623
16 15 14 13 12 11 10 9
270
OUT
270
OUT

1 2 3 4 5 6 7 8

www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0
12

03 APR 2013
www.pighixxx.com

ver 1 rev 0
ND
BY

1 Vss GROUND
2 Vdd RAW
3 Vee Contrast
4 RS Register Sel
5 R/W Read/Write
6 E Enable
7 D0 Data bit 0
8 D1 Data bit 1
9 D2 Data bit 2
10 D3 Data bit 3
INT
SCL
SDA
VDD

P7

P6

P5

P4

11 D4 Data bit 4
12 D5 Data bit 5
Used for 4bit mode
13 D6 Data bit 6
PCF8574x 14 D7 Data bit 7
15 A +Backlight
16 K -Backlight
Vss
P0

P1

P2

P3
A0

A1

A2
Connect via I2C a LCD HITACHI 44780 compatible

BC337
B
C

11 12 13 14 15 16
1K

1 2 3 4 5 6
P4 Vss
P5 P3
P6 P2

PCF8574x

10K
P7 P1
INT P0
SCL A2
SDA A1
VDD A0

SCL
basic connections
ARDUINO

5V
UNOFFICIAL

SDA
THE
13
THE
UNOFFICIAL

ARDUINO
basic connections

Connect a NOKIA LCD (Basic)

Only for 5V Arduino

7
1

8
2

VDD
SCE
D/C
SCK
SDIN

VOUT
VDD

SCE

SDIN
GND
RES

LED
SCK
D/C
GND
RES

NOKIA 3110 NOKIA 5110


K A

1N4148 x 4 5V
120
D12 VDD LED
1.8K
D2 D/C
1.8K
D3 SCE
1.8K
D4 SDIN
1.8K
D5 RES
1.8K
D6 SCK
4.7F
VOUT 3.3K = 1.8K =
3.3K

3.3K

3.3K

3.3K

3.3K

www.pighixxx.com
GND
BY ND
03 APR 2013
ver 1 rev 0
14
THE
UNOFFICIAL

ARDUINO Drive a Unipolar Stepper (Basic 1)


basic connections
1

D8 IN1 OUT1

2 3
D9 IN2 OUT2

D10 IN3 OUT3


6 4

ULN2003
D11 IN4 OUT4

IN5 OUT5

IN6 OUT6

IN7
5
OUT7

IN1 OUT1 GND COM

IN2 OUT2
External Motor Supply
IN3 OUT3
Not Arduino Supply!
IN4 OUT4

IN5 OUT5

IN6 OUT6

IN7 OUT7
Drive a Bipolar Stepper (Basic 1)
GND COM

22
ULN2003

22
D8 IN1 OUT1

D9 IN2 OUT2
22 =
D10 IN3 OUT3
ULN2003

D11 IN4 OUT4

IN5 OUT5
22

IN6 OUT6

IN7 OUT7
22
GND COM

Zener 12V
All Resistor 1/4W External Motor Supply
K A
12
www.pighixxx.com
Not Arduino Supply!
BY ND
03 APR 2013
ver 1 rev 0
15
THE
UNOFFICIAL

ARDUINO Connect a graphical LCD via I2C


basic connections

5V

GPB0 GPA7

GPB1 GPA6

GPB2 GPA5 10K

GPB3 GPA4
20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1

GPB4 GPA3

GPB5 GPA2
MCP23017

GPB6 GPA1

GPA7

GPA6

GPA5

GPA4

GPA3

GPA2

GPA1

GPA0

RES
INTB
INTA

A2

A1

A0
GPB7 GPA0

VDD INTA MCP23017


VSS INTB

GPB0

GPB1

GPB2

GPB3

GPB4

GPB5

GPB6

GPB7

VDD

VSS

SCL

SDA
NC

NC
NC RES 7
8
9
SCL A2
10 SDA
11
SDA A1 12 SCL
13
NC A0 14
15
16
17

www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0
16
THE
UNOFFICIAL

ARDUINO FTDI Connector DIY Arduino


basic connections
5V

Simple 5V Power Supply


100nF

FTDI

A K
A K 10K
IGO 1

GND
CTS
Vcc
RX
TX
RTS
1N4007 100nF Reset

7805
RESET PC6 PC5 AN5
(rx)D0 PD0 PC4 AN4
DCIN 12 24V OUT 5V (tx)D1 PD1 PC3 AN3
220F 50V

47F 16V

+ + D2 AN2

330
330
PD2 PC2
100nF

100nF

D3 PD3 PC1 AN1


100nF

ATMEGA328
D4 PD4 PC0 AN0
22pF 22pF
VCC GND AGND
GND AREF Aref
PB6 AVCC AVcc
PB7 PB5 D13
Protect a I/O Pin D5 PD5 PB4 D12
K A 16MhZ
D6 PD6 PB3 D11
D7 D10
5.1
PD7 PB2
220
Digital Pin Out D8 PB0 PB1 D9

Zener 5.1V

19 PB5 A K

330
RESET 1 PC6 18 PB4

GND 5V
17 PB3

www.pighixxx.com
Recommended ICSP pinout
BY ND
03 APR 2013
ver 1 rev 0
17
THE
UNOFFICIAL Connect a SD Card

ARDUINO 3.3V
basic connections
VCC NC
Aout Fout

Ain Fin

MC14050B
D12 MISO
Bout NC
D10 SS Bin Eout
D11 MOSI
D13 SCK
Cout Ein

VCC
GND

Cout

Bout

Aout
Cin

Bin

Ain
Cin Dout
MC14050B

GND Din

Dout

Eout

Fout
Din

Ein

Fin
NC

NC
SD Card Pinout Simple 3.3V Power Supply
VCC
Only for 5V Arduino
4

GND 3 5 Clock
DIn 2 6 GND
ChipSel 1 7 DOut Vi Adj
LM317
Reserved 9 8 Reserved

470
330
Vo

DCIN 5V

100F 16V

10F 16V
+ +

100nF
OUT 3.3V

75
www.pighixxx.com

BY ND
03 APR 2013
LM317 (TO-92) ver 1 rev 0
18
THE
UNOFFICIAL

ARDUINO Connect a RTC (DS1307)


basic connections

Connect a Temperature Sensor (LM35) 5V


32768Khz
X1 VCC
5V

DS1307

10K
X2 SQW
GND VCC
LM35
Vbat SCL SCL
Out GND SDA SDA
A1 3V
Battery

A0
VCC GND
18K

Out X1 VCC

DS1307
LM35 (TO-92) No 3V Battery?
Connect Vbat to ground.
X2 SQW

A K Vbat SCL
1N4148 x 2
GND SDA

Connect to VGA

Connect to Composite Video


1

470

470

470
1
Sync
1K 6 Front
9 Video
7 11
470
Rear
68

68
VSync
www.pighixxx.com
10
3 BY
03 APR 2013
ND

HSync ver 1 rev 0


I
THE TOLERANCE
UNOFFICIAL

ARDUINO 5%

basic connections
10%

BLACK 0 0 x1

BROWN 1 1 x10

RED 2 2 x100
K =x1,000
ORANGE 3 3 x1,000

YELLOW 4 4 x10,000
M =x1,000,000
GREEN 5 5 x100,000

BLUE 6 6 x1,000,000

VIOLET 7 7

GRAY 8 8 MULTIPLIER

WHITE 9 9 www.pighixxx.com

BY ND
03 APR 2013
ver 1 rev 0

You might also like