Arduino Single power control unit: Difference between revisions

From Yocto Project
Jump to navigationJump to search
No edit summary
Line 5: Line 5:


== The hardware part ==
== The hardware part ==
=== The circuit ===
In order to build a power cutter using a relay module, one must follow the circuit provided.
In order to build a power cutter using a relay module, one must follow the circuit provided.


[[File:housemade_relay.png]]
[[File:housemade_relay.png]]


It is the required hardware:
==== the required hardware ====
* 1 BJT transistor 2N2222A
* 1 BJT transistor 2N2222A
* 1 3.3 kOhms resistor
* 1 3.3 kOhms resistor

Revision as of 18:20, 14 December 2016

Why?

The Arduino Single power control unit was created for controlling a relay that is able to turn on/off the devices that it powers like the Yocto DUTs. Such need has arisen due to a clean power-off is not always reliable.

The software part

The hardware part

The circuit

In order to build a power cutter using a relay module, one must follow the circuit provided.

Housemade relay.png

the required hardware

  • 1 BJT transistor 2N2222A
  • 1 3.3 kOhms resistor
  • 1 1N4007 diode
  • 1 relay module (RAS-0510)
  • 1 Protoboard or perforated PCB (min 4.5x4.5 cm)
  • 1 Two positions terminal block
  • 1 male outlet connector and 1 female outlet plug
  • 14AWG Wire (as needed)