Renard PX1 Pixel Controller: Difference between revisions

From doityourselfchristmas.com
Jump to navigation Jump to search
(Created page with "'''Renard PX1 Pixel String Controller''' ---- ==General== The Renard PX1 is an inexpensive Pixel controller designed to be a pixel controller that utilizes the stand Renard ...")
 
(added parts)
Line 1: Line 1:
'''Renard PX1 Pixel String Controller'''
----
==General==
==General==
The Renard PX1 is an inexpensive Pixel controller designed to be a  pixel controller that utilizes the stand Renard format and controls.  It can be daisy chained with other Renard controllers.  
The Renard PX1 is an inexpensive Pixel controller designed to be a  pixel controller that utilizes the stand Renard format and controls.  It can be daisy chained with other Renard controllers.  
Line 12: Line 9:


==Features==
==Features==
Standard Renard connections
*Standard Renard connections
5VDC and 12VDC operation
*5VDC and 12VDC operation
WS2801 and WS2811 pixels
*WS2801 and WS2811 pixels
Some Design Details:
*Some Design Details:
 
#1) One output (same 3.5mm connector and pinout as jstjohnz's controller), handling up to 200 pixels
1) One output (same 3.5mm connector and pinout as jstjohnz's controller), handling up to 200 pixels
#2) RS485 input, same RJ45 pinout and protocol as Renard controllers
2) RS485 input, same RJ45 pinout and protocol as Renard controllers
#3) 115200 input baudrate (lower rates provided, but not recommended)
3) 115200 input baudrate (lower rates provided, but not recommended)
#4) Uses PIC16 parts, so existing programmers should work.
4) Uses PIC16 parts, so existing programmers should work.
#5) Supports WS2811 strings at with either 400KHz or 800 KHz data rate, 5V power input
5) Supports WS2811 strings at with either 400KHz or 800 KHz data rate, 5V power input
#6) Uses external 5V supply (readily available from Ebay, China, etc).
6) Uses external 5V supply (readily available from Ebay, China, etc).
#7) Power, RxD and FE (framing error) indicators
7) Power, RxD and FE (framing error) indicators
#8) Jumper to select pixel speed (400 KHz vs 800 KHz)
8) Jumper to select pixel speed (400 KHz vs 800 KHz)


The PCB has been designed, with just a few details to be worked out after I receive some connectors to make sure that they fit. I haven't sent the board out for fab yet. The firmware is a work in progress, although I have verified that the microcontroller that I've selected can control the faster WS2811 pixels.
The PCB has been designed, with just a few details to be worked out after I receive some connectors to make sure that they fit. I haven't sent the board out for fab yet. The firmware is a work in progress, although I have verified that the microcontroller that I've selected can control the faster WS2811 pixels.
First jumper is used to select between a chase and a solid static pattern.
First jumper is used to select between a chase and a solid static pattern.
Other three jumpers select one of 12 possible themes:
Other three jumpers select one of 12 possible themes:
 
#1) Orange theme (Halloween/Thanksgiving)
1) Orange theme (Halloween/Thanksgiving)
#2) Purple theme (Advent/Lent)
2) Purple theme (Advent/Lent)
#3) Red & Green (Christmas)
3) Red & Green (Christmas)
#4) Red (or pink) Valentines Day
4) Red (or pink) Valentines Day
#5) Green (St. Patrick's Day)
5) Green (St. Patrick's Day)
#6) White (Easter)
6) White (Easter)
#7) Red/White/Blue (4th of July)
7) Red/White/Blue (4th of July)


With five possible other themes (national day colors for other selected countries???)
With five possible other themes (national day colors for other selected countries???)
Line 42: Line 37:


==Schematic==
==Schematic==
This is a preliminary Renard PX1 schematic, useful as the basis of a PCB design.   
This is a preliminary Renard PX1 schematic.   
[http://doityourselfchristmas.com/wiki/images/e/ee/Renard-PX1-schematic.pdf Schematic]
[http://doityourselfchristmas.com/wiki/images/e/ee/Renard-PX1-schematic.pdf Schematic]


Line 48: Line 43:
==PCB Layout==
==PCB Layout==
[[File:Renard-PX1-layout.png|300px]]
[[File:Renard-PX1-layout.png|300px]]




==BOM  - Bill Of Materials==
==BOM  - Bill Of Materials==
To build Renard PX1 Pixel Controller you will need parts from Mouser and a Renard PX1 Pixel Controller PCB.<br/>
To build Renard PX1 Pixel Controller you will need parts from Mouser and a Renard PX1 Pixel Controller PCB.<br/>
J1 RJ45 Input
J2 RJ45 Output
J3 1x2 Termination
J4 2x5 Options Connector
J5 1x2 RS232
J6 1x6 ICSP
J7 1x2 Programing?
J8 1x3 5V Bypass
J9 1x2 Power Feed
J10 1x4 Pixel connection 538-39501-1004 or 538-39501-6004 (green)
IC1 SN65LBC179A RS485 Comms
IC2 PIC16F1825 Pic Microprocessor
IC3 LP2950/TO92 Voltage regulator
U1 8 Pin Socket
U2 14 Pin Socket
R1 120 Ohm Termination resistor
R2 1K Ohm
R3 1K Ohm
R4 27K Ohm
R5 27K Ohm
R6 1x5 680 Ohm Network Resistor (common lead)
R7 120 Ohm Resistor (Pixel Output)
R8 120 Ohm Resistor (Pixel Output)
C1 0.1uf Cap
C2 0.1uf Cap
C3 0.1uf Cap
D1 1N5239 Zener Diode
D2 1N5229 Zener Diode
D3 LED Attn
D4 LED RX
D5 LED FE
D6 LED PWR
2x Fuse Holder 534-3544-2
5A Fuse (Mini Plugin?)
1x2 Jumper (7x)
Pixel Plug  538-39503-2004 (green)
291-120-RC          Resistor, 120 Ohm                              R1
299-1K-RC          Resistor, 1K,                                  R2, R3
299-27K-RC          Resistor, 27K,                                R4, R5
260-680-RC          Resistor Network, 680 Ohm, Bussed, 6-pin      R6
299-47-RC          Resistor, 47                                  R7, R8
810-FX28X5R1E105K  Capacitor, Multilayer Ceramic, Leaded, 1.0uF  C1
80-C322C104K5R      Capacitor, Multilayer Ceramic, Leaded, .1uF    C2, C3
595-SN65LBC179PE4  Buffers and Line Drivers                      IC1
579-PIC16F1825-I/P  Microcontroller, ...                          IC2
926-2950CZ-5.0/NOPB LDO 5.0/100mA                                  IC3
Add PART to table


===Mouser===
===Mouser===
<table border="1">
<table border="1">
<tr><td>Mouser PN</td><td>Description</td><td>Qty</td><td>Optional</td></tr>
<tr><td>Part</td><td>Mouser PN</td><td>Description</td><td>Qty</td><td>Optional</td></tr>
<tr><td>538-22-03-2021</td><td>Headers & Wire Housings VERT PCB HDR 2P TIN PLATING</td><td>2</td><td></td></tr>
<tr><td>R1</td><td>291-120-RC</td><td>Carbon Film Resistors - Through Hole 120ohms 0.05</td><td>1</td><td></td></tr>
<tr><td>538-22-03-2061</td><td>Headers & Wire Housings VERT PCB HDR 6P TIN PLATING</td><td>1</td><td></td></tr>
<tr><td>R2.R3</td><td>299-1K-RC</td><td>Carbon Film Resistors - Through Hole 1Kohms 5%</td><td>2</td><td></td></tr>
<tr><td>538-22-03-2031</td><td>Headers & Wire Housings VERT PCB HDR 3P TIN PLATING</td><td>3</td><td></td></tr>
<tr><td>R4,R5</td><td>299-27K-RC</td><td>Carbon Film Resistors - Through Hole 27Kohms 0.05</td><td>2</td><td></td></tr>
<tr><td>80-C322C104K5R</td><td>Multilayer Ceramic Capacitors (MLCC) - Leaded 50volts 0.1uF 10% X7R</td><td>1</td><td></td></tr>
<tr><td>R6</td><td>260-680-RC</td><td>Resistor Network, 680 Ohm, Bussed,  6-pin</td><td>1</td><td></td></tr>
<tr><td>299-82-RC</td><td>Carbon Film Resistors - Through Hole 82ohms 5%</td><td>8</td><td></td></tr>
<tr><td>R7,R8</td><td>299-47-RC</td><td>Carbon Film Resistors - Through Hole 47ohms 0.05</td><td>2</td><td></td></tr>
<tr><td>511-ST485BN</td><td>Buffers & Line Drivers Hi-Spd Lo Pwr Trans</td><td>1</td><td></td></tr>
<tr><td>C1</td><td>810-FX28X5R1E105K</td><td>Multilayer Ceramic Capacitors (MLCC) - Leaded 50volts 1.0uF 10% X7R</td><td>1</td><td></td></tr>
<tr><td>579-PIC16F1826-I/P</td><td>Microcontrollers (MCU) 3.5KB Flash 256 byte 32 MHz Int. Osc</td><td>1</td><td></td></tr>
<tr><td>C2,C3</td><td>80-C322C104K5R</td><td>Multilayer Ceramic Capacitors (MLCC) - Leaded 50volts 0.1uF 10% X7R</td><td>2</td><td></td></tr>
<tr><td>571-1-390261-2</td><td>IC & Component Sockets 8P ECONOMY TIN</td><td>1</td><td></td></tr>
<tr><td>D1</td><td>78-1N5239B</td><td>Diode, Zener 9.1V .5W</td><td>1</td><td></td></tr>
<tr><td>571-1-390261-5</td><td>IC & Component Sockets 18P ECONOMY TIN</td><td>1</td><td></td></tr>
<tr><td>D2</td><td>78-1N5229B</td><td>Diode, Zener 4.3V .5W</td><td>1</td><td></td></tr>
<tr><td>604-WP7104GT</td><td>Standard LED - Through Hole GREEN TRANSPARENT</td><td>1</td><td>****</td></tr>
<tr><td>D3,D5</td><td>604-WP710A10IT</td><td>LED, 3mm Red</td><td>2</td><td></td></tr>
<tr><td>299-330-RC</td><td>Carbon Film Resistors - Through Hole 330ohms 5%</td><td>1</td><td>****</td></tr>
<tr><td>D4,D6</td><td>604-WP710A10GT</td><td>LED, 3mm Green</td><td>2</td><td></td></tr>
<tr><td>291-120-RC</td><td>Carbon Film Resistors - Through Hole 120ohms 0.05</td><td>1</td><td>****</td></tr>
<tr><td>IC1</td><td>595-SN65LBC179PE4</td><td>Buffers & Line Drivers</td><td>1</td><td></td></tr>
<tr><td>TBD</td><td>5V Voltage Regulator</td><td>1</td><td>****</td></tr>
<tr><td>IC2</td><td>579-PIC16F1825-I/P</td><td>Microcontroller</td><td>1</td><td></td></tr>
<tr><td>151-8000-E</td><td>Headers & Wire Housings MINI JUMPER GF 6.0MM OPEN TYPE BLACK</td><td>1</td><td>****</td></tr>
<tr><td>IC3</td><td>926-2950CZ-5.0/NOPB</td><td>LDO 5.0/100mA  </td><td>1</td><td>****</td></tr>
<tr><td>U1</td><td>571-1-390261-2</td><td>IC & Component Sockets 8P ECONOMY TIN</td><td>1</td><td></td></tr>
<tr><td>U2</td><td>571-1-390261-3</td><td>IC & Component Sockets 14P ECONOMY TIN</td><td>1</td><td></td></tr>
<tr><td>J1,J2</td><td>571-5556416-1</td><td>Jack, Modular RJ45 PCB Mount Top Entry</td><td>2</td><td></td></tr>
<tr><td>J3,J5,J7.J9</td><td>538-22-03-2021</td><td>Headers & Wire Housings VERT PCB HDR 2P TIN PLATING</td><td>4</td><td></td></tr>
<tr><td>J4</td><td>TBD</td><td>2x5 Header</td><td>1</td><td></td></tr>
<tr><td>J6</td><td>538-22-03-2061</td><td>Headers & Wire Housings VERT PCB HDR 6P TIN PLATING</td><td>1</td><td></td></tr>
<tr><td>J8</td><td>538-22-03-2031</td><td>Headers & Wire Housings VERT PCB HDR 3P TIN PLATING</td><td>3</td><td></td></tr>
<tr><td>Jumpers</td><td>151-8000-E</td><td>Headers & Wire Housings MINI JUMPER GF 6.0MM OPEN TYPE BLACK</td><td>7</td><td></td></tr>
<tr><td>J10</td><td>538-39501-6004</td><td>Pluggable Terminal Blocks 3.5MM EURO HEADER VE HEADER VERT GRN 4CKT</td><td>1</td><td></td></tr>
<tr><td>Pixel Connector</td><td>538-39503-2004</td><td>Pluggable Terminal Blocks 3.50MM EURO PLUG VER UG VERT RWE BLK 4CKT</td><td>1</td><td></td></tr>
<tr><td>Fuse</td><td>504-ATM-5</td><td>Fuses 5A 32Vdc 1kA IR Tan</td><td>1</td><td></td></tr>
<tr><td>Fuse Holder</td><td>534-3544-2</td><td>Fuse Holder</td><td>1</td><td></td></tr>
</table><br/>
</table><br/>


Line 134: Line 88:
#Begin by inspecting the PCBs to look for any defects such as cracks or breaks.  The holes on the board should be open on both sides.  Then inspect and sort out the various parts for the boards.<br/>
#Begin by inspecting the PCBs to look for any defects such as cracks or breaks.  The holes on the board should be open on both sides.  Then inspect and sort out the various parts for the boards.<br/>
[[File:Renard-PX1-layout.png|300px]]
[[File:Renard-PX1-layout.png|300px]]
#Install resistors
#Install Resistors
#Install capacitors
#Install Capacitors
#Instal IC sockets
#Install Diodes
#Instal IC Sockets
#Install LEDs
#Install LEDs
#Install the headers.  The short end of the header is soldered into the PCB.
#Install Headers.  The short end of the header is soldered into the PCB.
#Install the voltage regulator
#Install Voltage Regulator
#Install Connectors
#Install Fuse Holder
#Install ICs
#Install ICs
## Install the 14 pin PIC in  
## Install the 14 pin PIC in  
Line 145: Line 102:


===Configure Jumpers ===
===Configure Jumpers ===
J3 1x2 Termination
You must place the appropriate jumpers on the various headers to configure the Renard PX1 Pixel Controller.<br>
J4 2x5 Options Connector
*J3- 1x2 DMX Termination Resistor<br/>
J5 1x2 RS232
*J4- 2x5 Options Connector<br/>
J7 1x2 Programing?
*J5- 1x2 RS232<br/>
J8 1x3 5V Bypass
*J7- 1x2 Programing?<br/>
 
*J8- 1x3 5V Bypass<br/>
J1-<br/>
J2-<br/>
J3-<br/>
J4-<br/>
J5 <br/>
J5<br/>


Congratulations, you have finished constructing your Renard PX1 Pixel Controller. <br/>
Congratulations, you have finished constructing your Renard PX1 Pixel Controller. <br/>
Line 167: Line 118:
*J10 1x4 Pixel connection 538-39501-1004 or 538-39501-6004 (green)
*J10 1x4 Pixel connection 538-39501-1004 or 538-39501-6004 (green)


===J12 and J2-Renard Input and Output===
===J1 and J2-Renard Input and Output===
NEEDS WORK<br>
NEEDS WORK<br>
The two 3 pin jumpers J2&J3 near the bottom left side of the board are used to bring DMX signals to and from the board.  The 3 pin connectors are polarized and should be connected as follows:<br/>
The two 3 pin jumpers J2&J3 near the bottom left side of the board are used to bring DMX signals to and from the board.  The 3 pin connectors are polarized and should be connected as follows:<br/>
Line 201: Line 152:


==Firmware==
==Firmware==
'''TBD'''<br/>


'''TBD'''
<br/>
<br/>


==Enclosure==
==Enclosure==
'''TBD'''<br/>


=Other Information=
=Other Information=

Revision as of 03:04, 23 April 2013

General

The Renard PX1 is an inexpensive Pixel controller designed to be a pixel controller that utilizes the stand Renard format and controls. It can be daisy chained with other Renard controllers. The design consists of a controller board with a PIC16F1825

Disclaimers

The standard disclaimers pertaining to the information contained on this wiki page are listed here.
THIS BOARD IS STILL IN DEVELOPMENT AND SUBJECT TO CHANGE.
THIS WIKI PAGE IS NOT COMPLETE YET.

Features

  • Standard Renard connections
  • 5VDC and 12VDC operation
  • WS2801 and WS2811 pixels
  • Some Design Details:
  1. 1) One output (same 3.5mm connector and pinout as jstjohnz's controller), handling up to 200 pixels
  2. 2) RS485 input, same RJ45 pinout and protocol as Renard controllers
  3. 3) 115200 input baudrate (lower rates provided, but not recommended)
  4. 4) Uses PIC16 parts, so existing programmers should work.
  5. 5) Supports WS2811 strings at with either 400KHz or 800 KHz data rate, 5V power input
  6. 6) Uses external 5V supply (readily available from Ebay, China, etc).
  7. 7) Power, RxD and FE (framing error) indicators
  8. 8) Jumper to select pixel speed (400 KHz vs 800 KHz)

The PCB has been designed, with just a few details to be worked out after I receive some connectors to make sure that they fit. I haven't sent the board out for fab yet. The firmware is a work in progress, although I have verified that the microcontroller that I've selected can control the faster WS2811 pixels. First jumper is used to select between a chase and a solid static pattern. Other three jumpers select one of 12 possible themes:

  1. 1) Orange theme (Halloween/Thanksgiving)
  2. 2) Purple theme (Advent/Lent)
  3. 3) Red & Green (Christmas)
  4. 4) Red (or pink) Valentines Day
  5. 5) Green (St. Patrick's Day)
  6. 6) White (Easter)
  7. 7) Red/White/Blue (4th of July)

With five possible other themes (national day colors for other selected countries???)


Schematic

This is a preliminary Renard PX1 schematic. Schematic


PCB Layout


BOM - Bill Of Materials

To build Renard PX1 Pixel Controller you will need parts from Mouser and a Renard PX1 Pixel Controller PCB.

Mouser

PartMouser PNDescriptionQtyOptional
R1291-120-RCCarbon Film Resistors - Through Hole 120ohms 0.051
R2.R3299-1K-RCCarbon Film Resistors - Through Hole 1Kohms 5%2
R4,R5299-27K-RCCarbon Film Resistors - Through Hole 27Kohms 0.052
R6260-680-RCResistor Network, 680 Ohm, Bussed, 6-pin1
R7,R8299-47-RCCarbon Film Resistors - Through Hole 47ohms 0.052
C1810-FX28X5R1E105KMultilayer Ceramic Capacitors (MLCC) - Leaded 50volts 1.0uF 10% X7R1
C2,C380-C322C104K5RMultilayer Ceramic Capacitors (MLCC) - Leaded 50volts 0.1uF 10% X7R2
D178-1N5239BDiode, Zener 9.1V .5W1
D278-1N5229BDiode, Zener 4.3V .5W1
D3,D5604-WP710A10ITLED, 3mm Red2
D4,D6604-WP710A10GTLED, 3mm Green2
IC1595-SN65LBC179PE4Buffers & Line Drivers1
IC2579-PIC16F1825-I/PMicrocontroller1
IC3926-2950CZ-5.0/NOPBLDO 5.0/100mA 1****
U1571-1-390261-2IC & Component Sockets 8P ECONOMY TIN1
U2571-1-390261-3IC & Component Sockets 14P ECONOMY TIN1
J1,J2571-5556416-1Jack, Modular RJ45 PCB Mount Top Entry2
J3,J5,J7.J9538-22-03-2021Headers & Wire Housings VERT PCB HDR 2P TIN PLATING4
J4TBD2x5 Header1
J6538-22-03-2061Headers & Wire Housings VERT PCB HDR 6P TIN PLATING1
J8538-22-03-2031Headers & Wire Housings VERT PCB HDR 3P TIN PLATING3
Jumpers151-8000-EHeaders & Wire Housings MINI JUMPER GF 6.0MM OPEN TYPE BLACK7
J10538-39501-6004Pluggable Terminal Blocks 3.5MM EURO HEADER VE HEADER VERT GRN 4CKT1
Pixel Connector538-39503-2004Pluggable Terminal Blocks 3.50MM EURO PLUG VER UG VERT RWE BLK 4CKT1
Fuse504-ATM-5Fuses 5A 32Vdc 1kA IR Tan1
Fuse Holder534-3544-2Fuse Holder1



Assembly Instructions

Assembly of the Renard PX1 is done in two steps:

  1. Assemble PCB and Solder parts
  2. Configure Jumpers

Renard PX1 Pixel Controller Assembly

  1. Begin by inspecting the PCBs to look for any defects such as cracks or breaks. The holes on the board should be open on both sides. Then inspect and sort out the various parts for the boards.

  1. Install Resistors
  2. Install Capacitors
  3. Install Diodes
  4. Instal IC Sockets
  5. Install LEDs
  6. Install Headers. The short end of the header is soldered into the PCB.
  7. Install Voltage Regulator
  8. Install Connectors
  9. Install Fuse Holder
  10. Install ICs
    1. Install the 14 pin PIC in
    2. Install the 8 pin RS485 chip in

Configure Jumpers

You must place the appropriate jumpers on the various headers to configure the Renard PX1 Pixel Controller.

  • J3- 1x2 DMX Termination Resistor
  • J4- 2x5 Options Connector
  • J5- 1x2 RS232
  • J7- 1x2 Programing?
  • J8- 1x3 5V Bypass

Congratulations, you have finished constructing your Renard PX1 Pixel Controller.

Connections

  • J1 RJ45 Input
  • J2 RJ45 Output
  • J6 1x6 ICSP
  • J9 1x2 Power Feed
  • J10 1x4 Pixel connection 538-39501-1004 or 538-39501-6004 (green)

J1 and J2-Renard Input and Output

NEEDS WORK
The two 3 pin jumpers J2&J3 near the bottom left side of the board are used to bring DMX signals to and from the board. The 3 pin connectors are polarized and should be connected as follows:
Pin 1 is the Square hole of the three holes on the side towards the center of the board: Connect to DMX Ground
Pin 2 is the center hole of the three holes: Connect it to DMX Data -
Pin 3 is the left most hole of the three holes: Connect it to DMX Data +
Note that the two 3pin DMX connections are setup as a thru connection and can be used as either the input or output of the board. If the LEDancer is the last connection on a DMX data line, it may be necessary to add a 120 ohm terminating resistor to the unused DMX terminals between PIN 2 and Pin 3.

J6-ICSP Programming Header

NEEDS WORK
J4 is the 6 pin header located in the bottom center of the board. J4 allows the PIC microprocessor to be programmed in place on the board by directly connecting a PICKIT2 or PICKIT3 programer.
Pin 1 is the square hole towards the right side of the board closest to D1.

J9-Power

NEEDS WORK
J1 is the 2 pin header located at the top left side of the PCB. The LEDancer can be powered by 5-24VDC. If you are using 5VDC, omit the voltage regulator and jumper the voltage regulator position by soldering a wire jumper to where the two outer pins of the regular would have gone in position U1 near the top left side of the PCB. If you are feeding greater than 5VDC, then you must use the on board voltage regulator.
Round Hole closest to the top of the board: Positive Power feed
Square Hole: Negative Power feed

J1 and J2-Renard Input and Output

NEEDS WORK
The two 3 pin jumpers J2&J3 near the bottom left side of the board are used to bring DMX signals to and from the board. The 3 pin connectors are polarized and should be connected as follows:
Pin 1 is the Square hole of the three holes on the side towards the center of the board: Connect to DMX Ground
Pin 2 is the center hole of the three holes: Connect it to DMX Data -
Pin 3 is the left most hole of the three holes: Connect it to DMX Data +
Note that the two 3pin DMX connections are setup as a thru connection and can be used as either the input or output of the board. If the LEDancer is the last connection on a DMX data line, it may be necessary to add a 120 ohm terminating resistor to the unused DMX terminals between PIN 2 and Pin 3.


J10(4 pin)- Output to Pixels

NEEDS WORK
J5 is located along the right edge of the board and is a 8 pin connector used to connect to the LED Segment PCB. Pin1 of the connector is marked by the arrow next to it on the silkscreen.


Firmware

TBD


Enclosure

TBD

Other Information

DIYC Flood Discussion Threads

Initial Thread


Video

TBD

FAQ

TBD