Really Large Size 7 Segment Display with SPI Interface – 8 Channel SPI Relay Board

  • Rajkumar Sharma
  • 332 Views
  • medium
  • Tested
  • SKU: EL126284
  • Quote Now

This is an SPI Interface multichannel relay board for high voltage AC or low voltage DC loads. It is ideal for controlling LEDs lights, coffee machines, fans, pumps, or other high-voltage electrical appliances. The board also breaks out the SPI header, so controlling other boards is still possible. Each relay can handle current up to 7A @ 250V AC/30V DC. This 8 x channel board is mainly designed for AC loads, but it can also drive DC loads, screw terminals on each channel enable the easy interface of the AC load, and each point is marked as AC-Live and AC Neutral. Refer to the connection diagram for the interface. The project consists of 8 x 12V relays with load capacity 7A @ 250V AC, ULN2803 8 channel relay driver, 74HC595 SPI to 8 output, 5V regulator 7805, power LED, screw terminals for loads and AC input, header connector for SPI input and output.

SPI Interface: 6-pin header CN11 is provided for data input and CN10 connector is the SPI output that can be interfaced with multiple boards.

Note1: This board also can be used with direct 8 channel TTL inputs by not installing the 74HC595 chip, use CN12 connector for 8 TTL inputs, IN1, 1N2,1N3,1N4, IN5, IN6, IN7, IN8
Note 2: Each relay can drive a load of up to 7 A, but it is not advisable to use full current as PCB tracks can not handle 7 A x 8 Channel = 56Amps. The maximum advisable load on each channel is 1.2A, the total load on each channel is 1.2A x 230V = 276W maximum.

Controlling Large Size 7 Segment Display (Display size Approx. 8 Feet x 4 Feet)

We have created and tested a large-size 7-segment display with this board and an Arduino. Arduino example code is available as a download. Wiring between Arduino vs SPI 8 channel board as follows:

  • Pin 1:5V DC Output (200mA Maximum) >>Arduino 5V DC
  • Pin 2:SR/SRCLK/SH-CP (74HC595 Pin 11) >>Arduino Digital Pin D13
  • Pin 3: RCLK/ST-CP (74HC595 Pin 12) >> Arduino Digital Pin D12
  • Pin 4: SDI/DS/SER (74HC595 Pin 14) >> Arduino Digital Pin D11
  • Pin 5: GND >> Arduino GND
  • Pin 6: GND >> Not Connected

Arduino Code Credits: http://www.learnerswings.com

Each segment is made using 20W LED Batten (LED Tube Light) with Dimensions 113.5 x 2.8 x 6.8 cm, which works with 230V AC supply, user may use a smaller batten.

The project is tested with a single 7-segment display, but the user may use multiple displays with multiple boards, and use SPI outputs for other boards.

Connections for 7 Segments + DP

  • CN2 Load 1 = Segment a
  • CN3 Load 2 = Segment b
  • CN4 Load 3 = Segment c
  • CN5 Load 4 = Segment d
  • CN6 Load 5 = Segment e
  • CN7 Load 6 = Segment f
  • CN8 Load 7 = Segment g
  • CN9 Load 8 = Segment DP

SPI In CN11 Connections

  • Pin 1:5V DC Output (200mA Maximum)
  • Pin 2:SR/SRCLK/SH-CP (74HC595 Pin 11)
  • Pin 3: RCLK/ST-CP (74HC595 Pin 12)
  • Pin 4: SDI/DS/SER (74HC595 Pin 14)
  • Pin 5: GND
  • Pin 6: GND

SPI Output CN10 Connections

  • Pin 1:5V DC Output (200mA Maximum)
  • Pin 2:SR/SRCLK/SH-CP (74HC595 Pin 11)
  • Pin 3: RCLK/ST-CP (74HC595 Pin 12)
  • Pin 4: SDO (74HC595 Pin 9)
  • Pin 5: GND
  • Pin 6: GND

AC 230V Input CN1

  • Pin 1 AC Live In
  • Pin 2 AC Neutral In

AC Loads – 8 Channel (CN2, CN3, CN4, CN5, CN6, CN7, CN8, CN9)

  • Pin 1 AC Live Output
  • Pin 2 AC Neutral Output

Connector CN13

  • Pin 1 5V DC Output Maximum Load 200mA
  • Pin 2 GND

Power Supply Input – CN12

  • Pin1 VCC 12V DC (CN12)
  • Pin2 GND (CN12)

Connector CN12 (Optional Connector, do not Install read Note 1 for more info)

Features

  • Operating Supply 12V DC
  • Current Consumption 400mA Approx. when All Relays are ON (Each Relay 50mA)
  • Easy SPI Interface using Header Connector
  • SPI Output for Multiple board interface
  • Power LED
  • 8 Channel
  • Screw Terminals for Loads and AC input
  • 4 x 4.2mm Mounting Holes
  • PCB Dimensions 137.16 x 47.94mm

Schematic

Parts List

NO.QNTY.REF.DESC.MANUFACTURERSUPPLIERPART NO
11CN12 PIN SCREW TERMINAL PITCH 5.08MMPHOENIXDIGIKEY277-1247-ND
28CN2 - CN92 PIN SCREW TERMINAL PITCH 5.08MMPHOENIXDIGIKEY277-1247-ND
51CN106 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5319-ND
61CN116 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5319-ND
71CN12DNP
81CN132 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5315-ND
105C1,C2,C7,C8, C40.1uF/50V SMD SIZE 0805YAGEO/MURATADIGIKEY
111C3470uF/16VPANASONICDIGIKEY10-EEU-FM1C471LBCT-ND
121C510uF/16V SMD SIZE 1206YAGEO/MURATADIGIKEY
131D1LED RED SMD SIZE 0805LITE ON INCDIGIKEY160-1427-1-ND
148RE1 - RE8RELAY - 12V TE CONNECTIVITYDIGIKEYPB2029-ND
151R11K 5% SMD SIZE 0805YAGEO/MURATADIGIKEY
161U1LM7805-DAPKTIDIGIKEYMC78M05CDTGOS-ND
171U274HC595 SOIC16 NRWFAIRCHILDDIGIKEY2156-MM74HC595SJ-ND
181U3ULN2803TIDIGIKEY296-15777-1-ND
1C610uF/16V SMD SIZE 0805YAGEO/MURATADIGIKEY

Connections

Gerber View

Example Application

Photos

Video


ULN2803 Datasheet

Please follow and like us:
Pin Share

PCB

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS

TOP PCB Companies