Download PN 85150 SitePlayer Web Controller Kit Version 1.5

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Switched-mode power supply wikipedia , lookup

Resistor wikipedia , lookup

Transistor wikipedia , lookup

Capacitor wikipedia , lookup

Electrical connector wikipedia , lookup

History of the transistor wikipedia , lookup

Printed circuit board wikipedia , lookup

Ohm's law wikipedia , lookup

Surface-mount technology wikipedia , lookup

Transcript
Assembly:
Make sure all components are inserted from the component side (side with
the white lettering) of the printed circuit board (PCB). The circuit board is
labeled with the outlines and IDs of all components. Certain parts are
polarity sensitive and must be installed correctly. Solder all parts and trim
off the excess lead lengths before moving to the next step.
PN 85150 SitePlayer Web Controller Kit
Version 1.5
•
•
•
•
•
•
•
Controller board for NetMedia’s SitePlayer
embedded web server module (SitePlayer module
not included).
Perform remote control via web browser.
Controls up to 8 PowerSwitch Tails without
additional driver circuits.
SitePlayer programmed with SitePlayer project
language.
Preprogrammed PIC12F683 initializes and sets
static IP address through RS-232 DB-9 serial
interface.
Fits into Hammond 1598ASGYPBK enclosure.
Controller requires 7-12 volts @ 75 ma plus 40 ma
for each PowerSwitch Tail energized at the same
time.
© 2011, PowerSwitchTail.com, LLC. All rights reserved.
We suggest assembling the kit in the following sequence:
1. Separate the ceramic capacitors into two groups. There should be 4
each .01 mf, 50v capacitors marked “103” and 9 each .1 mf, 50v
capacitors marked “104.”
2. Install the four .01 mf, 50 v ceramic capacitors at locations C7C10. The body of these parts are marked “103”.
3. Install the nine .1 mf, 50v ceramic capacitors at locations C3, C5C6, C12-C17. The body of these parts are marked “104”.
4. Install resistors R1 and R3, 1K ohm (Brn, Blk, Red, Gold).
5. Install resistor R2, 10K ohm (Brn, Blk, Orn, Gold).
6. Install resistor R12, 750 ohm (Vio, Grn, Brn, Gold).
7. Install resistors R4-R11 and R13, 22K ohm (Red, Red, Orn, Gold).
8. Install diode D1 with the banded end toward U5 as marked on the
PCB.
1
9. Bend the excess lead clipped from D1 into a “U” and install into
the double pads labeled “GND”. This loop will serve as a
convenient test point for ground.
10. Install resistor network RN1. The small dot on the body of the part
is pin 1.
11. Carefully bend the 3 leads on the voltage regulator U5 (7805) at a
right angle and insert but do not solder them into the three pads.
Make sure the hole in the metal tab lines up with the hole on the
circuit board. You can use any of a number of methods to secure
the part to the circuit board. We normally solder the center lead
first and then insert our soldering iron into the hole in the metal tab
and solder that to the circuit board. We then solder the remaining
two leads. Alternatively you may want to solder the end of the
metal tab to the circuit board. In this case, using a Xacto knife,
scrape some of the solder mask off of the circuit board to expose a
soldering surface. Another method is to install a suitable TO-220
type heat sink. This is recommended when powering more than 3-4
PowerSwitchTails units continuously.
12. Install LEDs D2-D11. Insert the shorter (cathode) lead into the
square pad or in the pad toward the flat edge of the component
outline. Install the red LED at location D2, the yellow LED at
location D11, and the remaining green LEDs at locations D3-D10.
13. Install U3 and U4. Orient the notch on the part next to the pad
labeled pin “1”.
14. Install the 8-pin DIP socket at location U2. Orient the notch end of
the socket next to the pad labeled pin “1”.
15. Install capacitors C1-C2 and C4. Insert the shorter lead into the pad
labeled “+”. Or, mount the banded or negative lead AWAY from
the pad labeled “+”.
16. Install transistors Q1-Q9. Bend the center lead slightly toward the
flat side of the part and insert into the circuit board to match the
part’s outline as marked on the PCB. Push downward gently on the
transistor and solder it close to the circuit board.
17. Install terminal blocks J1, J2, and J4 at their respective locations
with the wire slots toward the edge of the PCB. Insert the terminal
block and solder only one of the pins. Check the alignment and
© 2011, PowerSwitchTail.com, LLC. All rights reserved.
18.
19.
20.
21.
22.
23.
adjust mounting if necessary by reheating the soldered pin. Be sure
the wire entry slots are oriented toward the edge of the PCB before
soldering the remaining pins.
Install the ICSP/ICD 6-pin .1 in header in location J4. Insert the
side with the shorter pins into the PCB and solder.
Install the DB9 connector at location J3. Make sure the connector is
firmly seated against the PCB before soldering.
Install Ethernet connector/filter in location J6. Make sure the
connector is firmly seated against the PCB before soldering.
The easiest way to install the pins for the SitePlayer Module at
location U1 is to insert the headers with the longer pin into the
SitePlayer Module (user provided) and then insert the assembly
with the short side of the headers into the circuit board. While
holding the assembly against the board, solder one or two pins on
each connector. Then remove the SitePlayer Module and solder the
remaining pins.
Check your work and make sure all solder joints are good. Retouch
if necessary
Finally, insert U2 (PIC 12F683) into its socket. Be sure to align the
notch on the part with the notch on the socket.
Testing:
The Microchip PIC12F683 is preprogrammed to run a configuration menu
on power up. The configuration menu allows you to enter an IP address and
a site name for the SitePlayer. Upon exiting the configuration menu (option
3) the IP address and the site name is first saved to the PIC’s EEROM and
then sent to the SitePlayer module.
1. Connect a 7-12vdc power supply or AC-DC power adapter to J1.
Connect the minus (-) lead to J1-GND and the positive (+) lead to
J1-+IN.
2. The red LED D2 will confirm power to the circuit board.
3. Connect a PC running a terminal program such as HyperTerminal
to J3. Set communication parameters to 9600 baud, 8 data bits, no
parity, 1 stop bit (96008N1).
2
4. Press and release Reset switch SW1 and the configuration menu
will appear on the PC monitor.
The SitePlayer is then programmed to those settings. Therefore, the
Controller remembers these parameters when power is turned off.
4. The PIC12F683 or compatible MCU can be programmed to poll
the IO pins of the SitePlayer module and execute a program which
then sends additional commands to the SitePlayer module or out
the serial port.
5. Pin IO7 is accessible on connector J4 and can be used to sense an
input condition.
IP addr: 192.168.0.145
Sitename: Powerswitchtail
Enter:
1 to change addr.
2 to change sitename.
3 to exit.
5. Press “1” to enter an IP address. This information is stored at
SitePlayer memory locations 0FFE6h, 0FFE7h, 0FFE8h and
0FFE9h.
6. Press “2” to enter a site name consisting of up to 15 characters.
This data is stored at SitePlayer memory location 0000h through
000Eh
7. Press “3” to exit the menu. The menu will “time out” after 10
seconds if no key is pressed.
8. Connect your local area network to J6. Yellow LED D11 will light
to confirm a valid network connection.
Notes:
1. Connect PowerSwitch Tails to connector J2. Use hook up wire to
connect the +5v pin on J2 to the + terminal of the PowerSwitch
Tail. Then connect the IO pin on J2 to the – terminal of the
PowerSwitch Tail. The PowerSwitch Tail should energize when the
corresponding SitePlayer pin is low.
2. To use the SitePlayer Serial Demo program with the Controller
Board, remove U2 and jumper pin 2 to pin 6 and pin 3 to pin 5 with
short pieces of solid wire. Then connect your PC to J3 with a serial
cable and run the Demo program on the PC.
3. When power is applied to the Controller board, the PIC runs the
configuration menu. If you do not make changes to the
configuration menu, the menu will time out and the IP address and
site name saved in the PIC’s EEROM is copied to the SitePlayer.
© 2011, PowerSwitchTail.com, LLC. All rights reserved.
For assistance, please contact us at [email protected].
Soft copy of this and related documents can be found at
www.powerswitchtail.com.
Our liability is limited to the purchase price of this product only. By using this product you
agree that PowerSwitchTail.com, LLC can not be held liable for any damages or injuries
resulting from use or repairs.
3
ID
Description
Parts List
Product:
Revision:
Date:
ID
C1
C2
C3
C4
C5
C6
C7
C8
C9
C10
C11
C12
C13
C14
C15
C16
C17
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
J1
J2
J3
J4
J5
J6
Q1
Q2
Q3
Q4
Q5
Q6
Q7
Q8
Q9
R1
R2
R3
R4
R5
R6
R7
R8
R9
R10
R11
R12
R13
RN1
SW1
U1
U2
U3
U4
U5
PN 85150 SitePlayer Web Controller Kit
v1.5
2/19/2011
Description
Capacitor, Electrolytic, 47mf, 16V
Capacitor, Electrolytic, 47mf, 16V
Capacitor, Ceramic, .1mf, 50v, Z5U (104)
Capacitor, Electrolytic, 47mf, 16V
Capacitor, Ceramic, .1mf, 50v, Z5U (104)
Capacitor, Ceramic, .1mf, 50v, Z5U (104)
Capacitor, Ceramic, .01mf, 50v, Z5U (103)
Capacitor, Ceramic, .01mf, 50v, Z5U (103)
Capacitor, Ceramic, .01mf, 50v, Z5U (103)
Capacitor, Ceramic, .01mf, 50v, Z5U (103)
Not assigned
Capacitor, Ceramic, .1mf, 50v, Z5U (104)
Capacitor, Ceramic, .1mf, 50v, Z5U (104)
Capacitor, Ceramic, .1mf, 50v, Z5U (104)
Capacitor, Ceramic, .1mf, 50v, Z5U (104)
Capacitor, Ceramic, .1mf, 50v, Z5U (104)
Capacitor, Ceramic, .1mf, 50v, Z5U (104)
Rectifier, 1N4001, 50v, 1 amp
LED, 3mm, Hi-eff Red Transparent
LED, 3mm, Green Transparent
LED, 3mm, Green Transparent
LED, 3mm, Green Transparent
LED, 3mm, Green Transparent
LED, 3mm, Green Transparent
LED, 3mm, Green Transparent
LED, 3mm, Green Transparent
LED, 3mm, Green Transparent
LED, 3mm, Yellow Transparent
Terminal Block, 3.08mm, 2 position
Terminal Block, 3.08mm, 16 position
Connector, DB9, Right Angle PCB Female
Terminal Block, 3.08mm, 2 position
© 2011, PowerSwitchTail.com, LLC. All rights reserved.
4
Connector Header, .1 in, 6 position
Filter, Ethernet 10base-T, PCA EPJ9372A
Transistor, PNP, 2N3905BU
Transistor, PNP, 2N3905BU
Transistor, PNP, 2N3905BU
Transistor, PNP, 2N3905BU
Transistor, PNP, 2N3905BU
Transistor, PNP, 2N3905BU
Transistor, PNP, 2N3905BU
Transistor, PNP, 2N3905BU
Transistor, PNP, 2N3905BU
Resistor, 1K ohm, 10%, 1/4w (Brn, Blk, Red, Gold)
Resistor, 10K ohm, 10%, 1/4w (Brn, Blk, Orn, Gold)
Resistor, 1K ohm, 10%, 1/4w (Brn, Blk, Red, Gold)
Resistor, 22K ohm, 10%, 1/4w (Red, Red, Orn, Gold)
Resistor, 22K ohm, 10%, 1/4w (Red, Red, Orn, Gold)
Resistor, 22K ohm, 10%, 1/4w (Red, Red, Orn, Gold)
Resistor, 22K ohm, 10%, 1/4w (Red, Red, Orn, Gold)
Resistor, 22K ohm, 10%, 1/4w (Red, Red, Orn, Gold)
Resistor, 22K ohm, 10%, 1/4w (Red, Red, Orn, Gold)
Resistor, 22K ohm, 10%, 1/4w (Red, Red, Orn, Gold)
Resistor, 22K ohm, 10%, 1/4w (Red, Red, Orn, Gold)
Resistor, 750 ohm, 10%, 1/4w (Vio, Grn, Brn, Gold)
Resistor, 22K ohm, 10%, 1/4w (Red, Red, Orn, Gold)
Res Network, 9 res 820 ohm, 10 pin SIP
Switch Tact 6mm Rt Angle (Reset)
Site Player Module (user provided)
MCU, PIC12F683-I/P, Preprogrammed
Darlington Transistor Array, 8 NPN, ULN2803A
Transceiver, ST232CN
Voltage Regulator, 5v, 1 amp, UA7805C
Circuit Board, SitePlayer Web Controller
Socket, 8 pin DIP
Connector Header, .1 in, 9 position (2 each, for SitePlayer Module)
© 2011, PowerSwitchTail.com, LLC. All rights reserved.
5