Raspberry Pi - Revision 2 DIY Add-On Board
by Jestin_Cubetech in Circuits > Raspberry Pi
15009 Views, 47 Favorites, 0 Comments
Raspberry Pi - Revision 2 DIY Add-On Board
![component lay out_PCB.JPG](/proxy/?url=https://content.instructables.com/F0Z/KXFK/HP81XFHN/F0ZKXFKHP81XFHN.jpg&filename=component lay out_PCB.JPG)
On the Raspberry Pi, there are several connections which can be used for expansion:
1, The Rpi GPIO (General Purpose Input/Output) pins are exposed, that means that expansion
boards are able to talk directly to the CPU.
2, The DSI connector will allow low-level interfacing with LCDs and other displays.
3, The CSI connector will allow camera modules to be added in future.
1, The Rpi GPIO (General Purpose Input/Output) pins are exposed, that means that expansion
boards are able to talk directly to the CPU.
2, The DSI connector will allow low-level interfacing with LCDs and other displays.
3, The CSI connector will allow camera modules to be added in future.
Raspberry Pi Single Side DIY Add-on PCB With 5V/3A Buck Regulator Power Supply.
![component lay out.JPG](/proxy/?url=https://content.instructables.com/F96/ZRK9/HP81XFGK/F96ZRK9HP81XFGK.jpg&filename=component lay out.JPG)
Raspberry Pi - Revision 2 DIY Add-On Board
Features:
Features:
- 5V/3A power-supply
- buffered interface to GPIO pins
- 4 button switch
- 3 LED [include 1 hardware PWM] - external connectors also available
- 1 Relay
- 5V logic Level UART interface
- 16x2 LCD [74hc595 based] with back light control option
- SPI ADC MCP3008
- DS1307 with battery backup holder
- 24C032 EEPROM
- PCF8591 DAC_ADC
- i2c external connector [3.3v to 5V logic converter included]
Block Diagram of Add-on Board
![F5PVU9QHOG8VF7W.jpg](/proxy/?url=https://content.instructables.com/FYN/0LXY/HQOJJHEJ/FYN0LXYHQOJJHEJ.jpg&filename=F5PVU9QHOG8VF7W.jpg)
block diagram representation
LM2587 Buck regulator : 5V/3A power supply
3.3v to 5v level shifter : ic74HCT125 -single direction
3.3v to 5v level shifter for i2c : MOSFET 2N7000 based -bi directional
24c032 :eeprom
battery: 3V RTC backup battery
DS1307 : i2c based RTC chip
PCF8591: i2c based ADC-DAC chip
4 switch: user input button switches
MCP3008: SPI based 10-bit Analog-to-Digital Converter
74HC595: 3 wire serial LCD interface
16X2 LCD: 16 character x 2 line monochrome LCD [serial interface -74hc595]
LED 1-3 : LED output 3 color LED [include h/w PWM pin ]
RELAY: for heavy load application
LM2587 Buck regulator : 5V/3A power supply
3.3v to 5v level shifter : ic74HCT125 -single direction
3.3v to 5v level shifter for i2c : MOSFET 2N7000 based -bi directional
24c032 :eeprom
battery: 3V RTC backup battery
DS1307 : i2c based RTC chip
PCF8591: i2c based ADC-DAC chip
4 switch: user input button switches
MCP3008: SPI based 10-bit Analog-to-Digital Converter
74HC595: 3 wire serial LCD interface
16X2 LCD: 16 character x 2 line monochrome LCD [serial interface -74hc595]
LED 1-3 : LED output 3 color LED [include h/w PWM pin ]
RELAY: for heavy load application
Raspberry Pi Revision 2 26 Pin Gpio
![gpio-pinout-rev2.jpg](/proxy/?url=https://content.instructables.com/F6L/ZRD8/HQITKKET/F6LZRD8HQITKKET.jpg&filename=gpio-pinout-rev2.jpg)
note:
Raspberry Pi single side DIY add-on PCB with 5V/3A buck regulator power supply board designed for Raspberry Pi Revision 2
Raspberry Pi single side DIY add-on PCB with 5V/3A buck regulator power supply board designed for Raspberry Pi Revision 2
Circuit
![relay_and LED.JPG](/proxy/?url=https://content.instructables.com/F7A/1SMT/HP81XG8U/F7A1SMTHP81XG8U.jpg&filename=relay_and LED.JPG)
![circuit_gpio.JPG](/proxy/?url=https://content.instructables.com/FEN/MGT2/HP81XG8V/FENMGT2HP81XG8V.jpg&filename=circuit_gpio.JPG)
![Circuit_Power_supply.JPG](/proxy/?url=https://content.instructables.com/FCV/WIVS/HP81XG8R/FCVWIVSHP81XG8R.jpg&filename=Circuit_Power_supply.JPG)
![i2c_circuit.JPG](/proxy/?url=https://content.instructables.com/FUB/TPLD/HP81XG8Z/FUBTPLDHP81XG8Z.jpg&filename=i2c_circuit.JPG)
![lcd_circuit.JPG](/proxy/?url=https://content.instructables.com/FPK/1OS4/HP81XG90/FPK1OS4HP81XG90.jpg&filename=lcd_circuit.JPG)
circuit diagram list
- gpio relay led connection circuit diagram
- gpio button switch interface circuit diagram
- add-on board and raspberry pi powersupply circuit diagram
- i2c interface circuit with ds1307 RTC and EEPROM circuit diagram
- LCD and MCP 3008 interface diagram.
PCB
![DSC_0631.jpg](/proxy/?url=https://content.instructables.com/F24/0EDF/HP81XEWS/F240EDFHP81XEWS.jpg&filename=DSC_0631.jpg)
![DSC_0630.jpg](/proxy/?url=https://content.instructables.com/FBD/BC0K/HP81XEVU/FBDBC0KHP81XEVU.jpg&filename=DSC_0630.jpg)
![DSC_0629.jpg](/proxy/?url=https://content.instructables.com/F8Z/YJOV/HP81XEV4/F8ZYJOVHP81XEV4.jpg&filename=DSC_0629.jpg)
- PCB layout : single side glass epoxy PCB
- schematic and PCB tool : proteus 7.10 [3d view support]
- hand soldering
Raspberry Pi With Add-on Board
![FX3E3PEHP81XEOV.jpg](/proxy/?url=https://content.instructables.com/FRS/YHD3/HP81XH3K/FRSYHD3HP81XH3K.jpg&filename=FX3E3PEHP81XEOV.jpg)
![DSC_0625.jpg](/proxy/?url=https://content.instructables.com/FUV/Z44T/HP81XF0Y/FUVZ44THP81XF0Y.jpg&filename=DSC_0625.jpg)
![DSC_0620.jpg](/proxy/?url=https://content.instructables.com/FQH/YS8V/HP81XEXN/FQHYS8VHP81XEXN.jpg&filename=DSC_0620.jpg)
![DSC_0648.jpg](/proxy/?url=https://content.instructables.com/F5V/KMQS/HP81XF30/F5VKMQSHP81XF30.jpg&filename=DSC_0648.jpg)
![DSC_0627.jpg](/proxy/?url=https://content.instructables.com/F3Z/TL1A/HP81XF1Z/F3ZTL1AHP81XF1Z.jpg&filename=DSC_0627.jpg)
![DSC_0626.jpg](/proxy/?url=https://content.instructables.com/FFA/A1PO/HP81XF1K/FFAA1POHP81XF1K.jpg&filename=DSC_0626.jpg)
![FPVGSQ1HP81XFCQ.jpg](/proxy/?url=https://content.instructables.com/FAB/JWL8/HPDQ0Z6Z/FABJWL8HPDQ0Z6Z.jpg&filename=FPVGSQ1HP81XFCQ.jpg)
add-on board with raspberry pi - photos
Experiments
![i2c test.JPG](/proxy/?url=https://content.instructables.com/FLW/FUZ0/HP81XFY0/FLWFUZ0HP81XFY0.jpg&filename=i2c test.JPG)
![DSC_0576.jpg](/proxy/?url=https://content.instructables.com/FI5/HFS8/HP81XF62/FI5HFS8HP81XF62.jpg&filename=DSC_0576.jpg)
![DSC_0579.jpg](/proxy/?url=https://content.instructables.com/FR7/EYDT/HP81XF6R/FR7EYDTHP81XF6R.jpg&filename=DSC_0579.jpg)
![DSC_0574.jpg](/proxy/?url=https://content.instructables.com/F95/70JI/HP81XF4X/F9570JIHP81XF4X.jpg&filename=DSC_0574.jpg)
![DSC_0636.jpg](/proxy/?url=https://content.instructables.com/FPV/GSQ1/HP81XFCQ/FPVGSQ1HP81XFCQ.jpg&filename=DSC_0636.jpg)
i2c device listing output
commands for i2c device listing
http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c
1, sudo nano /etc/modules
2, and add these two lines to the end of the file:
i2c-bcm2708
i2c-dev
3, sudo apt-get install i2c-tools
4, sudo nano /etc/modprobe.d/raspi-blacklist.conf
If you do not have this file then there is nothing to do, however, if you do have this file, you need to edit it and comment out the lines below:
blacklist spi-bcm2708
blacklist i2c-bcm2708
.. by putting a # in front of them.
5, sudo i2cdetect -y 1
commands for i2c device listing
http://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c
1, sudo nano /etc/modules
2, and add these two lines to the end of the file:
i2c-bcm2708
i2c-dev
3, sudo apt-get install i2c-tools
4, sudo nano /etc/modprobe.d/raspi-blacklist.conf
If you do not have this file then there is nothing to do, however, if you do have this file, you need to edit it and comment out the lines below:
blacklist spi-bcm2708
blacklist i2c-bcm2708
.. by putting a # in front of them.
5, sudo i2cdetect -y 1
Video
Downloads
![component lay out.JPG](/proxy/?url=https://content.instructables.com/F96/ZRK9/HP81XFGK/F96ZRK9HP81XFGK.jpg&filename=component lay out.JPG)
![lcd_circuit.JPG](/proxy/?url=https://content.instructables.com/FPK/1OS4/HP81XG90/FPK1OS4HP81XG90.jpg&filename=lcd_circuit.JPG)
![i2c_circuit.JPG](/proxy/?url=https://content.instructables.com/FUB/TPLD/HP81XG8Z/FUBTPLDHP81XG8Z.jpg&filename=i2c_circuit.JPG)
![Circuit_Power_supply.JPG](/proxy/?url=https://content.instructables.com/FV2/GLT2/HP81XG8Y/FV2GLT2HP81XG8Y.jpg&filename=Circuit_Power_supply.JPG)
![circuit_gpio.JPG](/proxy/?url=https://content.instructables.com/FEN/MGT2/HP81XG8V/FENMGT2HP81XG8V.jpg&filename=circuit_gpio.JPG)
![relay_and LED.JPG](/proxy/?url=https://content.instructables.com/F7A/1SMT/HP81XG8U/F7A1SMTHP81XG8U.jpg&filename=relay_and LED.JPG)
![Circuit_Power_supply.JPG](/proxy/?url=https://content.instructables.com/FCV/WIVS/HP81XG8R/FCVWIVSHP81XG8R.jpg&filename=Circuit_Power_supply.JPG)
![g.JPG](/proxy/?url=https://content.instructables.com/F7U/KGCL/HP81XFLI/F7UKGCLHP81XFLI.jpg&filename=g.JPG)
true size pdf image
- PCB bottom layer
- PCB component layout
Reference
![FF867T1HOW0ICBJ.MEDIUM.gif](/proxy/?url=https://content.instructables.com/FRE/EA8L/HQOJJHOT/FREEA8LHQOJJHOT.gif&filename=FF867T1HOW0ICBJ.MEDIUM.gif)
- www.raspberrypi.org/
- www.wiringpi.com/
- https://projects.drogon.net/raspberry-pi/wiringpi/
- www.apache.org/
- www.tomcat.apache.org
- www.nginx.org
- http://www.learn2crack.com/2013/10/setup-nginx-web...
- http://www.cyberciti.biz/faq/howto-linux-unix-crea...