![]()
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IntroductionThe µS-RL4 is designed to allow easy connection of four SPNO (Single Pole Normally Open) relays to a µStack system. Each relay is controlled by one of the µStack I/O lines configurable by jumper. It is therefore possible to use up to four relay boards on a µStack system. Note that when using an RL4 board the µStack should ideally be powered from a 12V D.C. source. Status LEDsEach relay on the RL4 has an associated status LED which is ON when the relay is energized. µS-RL4 ConfigurationThe µS-RL4 configuration is by jumper selection. A jumper link between J3 and J4 selects the µStack I/O line which control each relay. Note that it is important not to attempt to control a single relay with more than one I/O line, therefore great care should be taken to ensure that a single relay is not selected twice. Use of the µS-RL4 with Mains VoltagesWhile both the relay and connectors used on the µS-RL4 are mains rated, safe connection to hazardous voltages is highly installation specific. You should not connect the µS-RL4 to voltages greater than 40V A.C. unless you are qualified to do so and have ensured that all relevant safety standards are met. |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Technical Specification
|
|
µS-RL4/µFlash 876 test program
// Sequentially energizes each of the relays for 1 sec.
// Assumes uS-RL4 configured for relay control using P12-P15
//
// Compile with CCS PICC (PCM/PCW)
#include <uF876.h>
void main(void)
{
while(true) // Repeat forever
{
output_low(P12); // Relay 1 OFF
output_high(P15); // Relay 4 ON
delay_ms(1000); // Wait 1 Second
output_low(P15); // Relay 4 OFF
output_high(P14); // Relay 3 ON
delay_ms(1000); // Wait 1 Second
output_low(P14); // Relay 3 OFF
output_high(P13); // Relay 2 ON
delay_ms(1000); // Wait one Second
output_low(P13); // Relay 2 OFF
output_high(P12); // Relay 1 ON
delay_ms(1000); // Wait 1 Second
}
}
|
Home | Products | Technical Info | How to Order | Contact Us | Links