Arduino Single power control unit: Difference between revisions
From Yocto Project
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
In order to build a power cutter using a relay module, one must follow the circuit provided | == The Justification == | ||
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 has not been always reliable. | |||
== The hardware part == | |||
=== The circuit === | |||
In order to build a power cutter using a relay module, one must follow the circuit provided. | |||
[[File:housemade_relay.png]] | |||
==== The required hardware ==== | |||
* 1 BJT transistor 2N2222A | * 1 BJT transistor 2N2222A | ||
* 1 3.3 kOhms resistor | * 1 3.3 kOhms resistor | ||
Line 10: | Line 19: | ||
* 14AWG Wire (as needed) | * 14AWG Wire (as needed) | ||
[[File: | === The arduino 101 === | ||
[[File:Arduino.jpg]] | |||
==== Configuration for power cutter cables upon Arduino 101 ==== | |||
* 5V (from the board) | |||
* GND (from the board) | |||
* Signal (min 3.3V max 5V, from GPIO 13 of board) | |||
== The software part == | |||
It is required '''devauto''' module '''simplepwsc''' to control this single power unit. Upon the source directory of this module can be found '''gen_ard_101.ino''' to flash the arduino 101 |
Latest revision as of 18:50, 14 December 2016
The Justification
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 has not been always reliable.
The hardware part
The circuit
In order to build a power cutter using a relay module, one must follow the circuit provided.
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)
The arduino 101
Configuration for power cutter cables upon Arduino 101
- 5V (from the board)
- GND (from the board)
- Signal (min 3.3V max 5V, from GPIO 13 of board)
The software part
It is required devauto module simplepwsc to control this single power unit. Upon the source directory of this module can be found gen_ard_101.ino to flash the arduino 101