Sunteți pe pagina 1din 3

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 1µF 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

S-ar putea să vă placă și