2017-06-12 20:52:31 +00:00
|
|
|
# RPi-ATX-LCD-Breakout
|
|
|
|
|
2017-07-24 12:31:53 +00:00
|
|
|
This board allows you to connect an ATX power supply and a HD44780-compatible LCD
|
2017-06-12 20:52:31 +00:00
|
|
|
screen to your Raspberry Pi (or others with compatible GPIO layout).
|
|
|
|
|
|
|
|
While it does have a 40pin GPIO connector, it will also work with older
|
|
|
|
26-pin variants of the Pi.
|
|
|
|
|
|
|
|
The board was created to provide a convenient interface for two
|
2017-06-14 20:31:09 +00:00
|
|
|
[Octoprint](http://octoprint.org/) plugins:
|
|
|
|
[PSUControl](https://github.com/kantlivelong/OctoPrint-PSUControl) and
|
|
|
|
[LCD-HD44780](https://github.com/Kunsi/Octoprint-LCD-HD44780) (See links on
|
|
|
|
bottom of this page).
|
2017-06-12 20:52:31 +00:00
|
|
|
|
|
|
|
![Board](img/top.jpg?raw=true)
|
|
|
|
|
|
|
|
The board itself offers a variety of features:
|
|
|
|
* Powering the Pi using +5VSB (standby power)
|
2017-06-14 20:31:09 +00:00
|
|
|
* Switching the PSU on and off using GPIO pin 12
|
2017-06-12 20:52:31 +00:00
|
|
|
|
|
|
|
The GPIO pin can be connected to PS_ON directly, or via a transistor. This is
|
|
|
|
choosable using the three-pin jumper switch.
|
|
|
|
|
|
|
|
Alternatively, the PSU can be forced to be on, by using the 2-pin PS_ON
|
|
|
|
jumper.
|
2017-06-14 20:31:09 +00:00
|
|
|
* Providing a "is the PSU on"-detection by wiring GPIO pin 11 to the 3v3 rail
|
|
|
|
of the PSU
|
2017-06-12 20:52:31 +00:00
|
|
|
* Connecting a character LCD to the Pi
|
|
|
|
|
|
|
|
LCD is wired as follows:
|
|
|
|
<dl>
|
|
|
|
<dt>Register Select</dt>
|
|
|
|
<dd>15</dd>
|
|
|
|
|
|
|
|
<dt>Enable</dt>
|
|
|
|
<dd>16</dd>
|
|
|
|
|
|
|
|
<dt>Data 4</dt>
|
|
|
|
<dd>21</dd>
|
|
|
|
|
|
|
|
<dt>Data 5</dt>
|
|
|
|
<dd>22</dd>
|
|
|
|
|
|
|
|
<dt>Data 6</dt>
|
|
|
|
<dd>23</dd>
|
|
|
|
|
|
|
|
<dt>Data 7</dt>
|
|
|
|
<dd>24</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
Data 0-3 pins are not connected. Read/Write select has been wired to GND, so
|
|
|
|
it's not possible to read data from the LCD screen. Contrast pin is
|
|
|
|
connected to a potentiometer.
|
|
|
|
* Allow connecting of two fans, one 5V, one 12V
|
|
|
|
* Providing screw terminals for GND, +12V, +5VSB and +5V
|
|
|
|
* Providing a USB outlet powered by +5VSB
|
|
|
|
|
|
|
|
Note: All pin numbers use BOARD numbering.
|
|
|
|
|
2017-06-12 21:07:27 +00:00
|
|
|
## Cost
|
|
|
|
Prices are in Euro, and are based on my prototype production cost
|
|
|
|
|
|
|
|
Item | Count | Price | Link
|
|
|
|
----------------|---------:|------:|---
|
|
|
|
PCB | 1 | 1.70 | [PCBway](https://www.pcbway.com/) got me 10 boards for 17$
|
|
|
|
Fan connector | 2 | 0.42 | <https://www.reichelt.de/?ARTICLE=185658>
|
|
|
|
Pin header | 3+2 wide | 0.09 | <https://www.reichelt.de/?ARTICLE=119891>
|
|
|
|
Potentiometer | 1 | 0.38 | <https://www.reichelt.de/?ARTICLE=14951>
|
|
|
|
LCD connector | 1 | 0.52 | <https://www.reichelt.de/?ARTICLE=175351>
|
|
|
|
Screw terminals | 2 | 0.42 | <https://www.reichelt.de/?ARTICLE=170222>
|
|
|
|
Jumper | 1 | 0.03 | <https://www.reichelt.de/?ARTICLE=119944>
|
|
|
|
USB connector | 1 | 0.20 | <https://www.reichelt.de/?ARTICLE=22184>
|
|
|
|
Transistor | 1 | 0.09 | <https://www.reichelt.de/?ARTICLE=1999>
|
2017-06-12 21:09:07 +00:00
|
|
|
Resistors | 1+1+1 | 0.30 | <https://www.reichelt.de/?ARTICLE=1381><br> <https://www.reichelt.de/?ARTICLE=1315><br> <https://www.reichelt.de/?ARTICLE=1338>
|
2017-06-12 21:07:27 +00:00
|
|
|
GPIO connector | 1 | 0.11 | [https://de.aliexpress.com/…/32454935478.html](https://de.aliexpress.com/item/100pcs-lot-2-54mm-Double-Row-Female-12P-Straight-Header-Pitch-Socket-Strip-2X20-Pin/32454935478.html)
|
|
|
|
ATX connector | 1 | 0.43 | <http://www.mouser.de/ProductDetail/TE-Connectivity/1-1775099-3/>
|
|
|
|
|
2017-06-12 20:52:31 +00:00
|
|
|
## Links
|
2017-06-14 20:31:09 +00:00
|
|
|
* [Octoprint](http://octoprint.org/)
|
2017-06-12 20:52:31 +00:00
|
|
|
* [OctoPrint-PSUControl](https://github.com/kantlivelong/OctoPrint-PSUControl) by kantlivelong
|
|
|
|
* [Octoprint-LCD-HD44780](https://github.com/Kunsi/Octoprint-LCD-HD44780) by Kunsi
|