This action might not be possible to undo. Are you sure you want to continue?
Model #: 1187
Product’s Page: www.sunrom.com/p-1064.html
Power Line Communication Modem (PLC)
Power line modem is useful to send and receive serial data over existing AC mains power lines of the building. It has high immunity to electrical noise persistence in the power line and built in error checking so it never gives out corrupt data. The modem is in form of a ready to use circuit module, which is capable of providing 9600 baud rate low rate bi-directional data communication. Due to its small size it can be integrated into and become part of the user’s power line data communication system.
• • • • • • Transmit and Receive serial data at 9600 bps Data Tx/Rx LEDs Powered from 5V Low Cost & Simple to use Built in Error Checking Direct interface with microcontroller uart txd, rxd pins
• • • • • • • • • • • • • • Home Automation Automatic Meter Reading Process Control Heating & Ventilation, Air conditioning Control Lighting Control Status Monitoring and Control Low Speed Data Communication Networks Intelligent Buildings Sign and Information Display Fire and Security Alarm System Remote Sensor Reading Data/File Transfer Fire & Security Alarm System Power Distribution Management
Back View of Modem
Once you give one byte to module for transmission. Application Diagram 5V AC Power Line Customer’s Device GND TXD RXD Sunrom. Once transmit process is complete it switches back to receive mode.com . then we will have to transmit ‘T’. 50 . then wait 500ms. There is no hassle of building interface circuits. 2 Sunrom Technologies Your Source for Embedded Systems Visit us at www. This can be quite slow speed for big data transfer.com PLC Modem Model: 1187 L L N N L N Sunrom. Interface to user’s data devices is a simple data-in and data-out serial link. For AC 50Hz system the zero crossing of AC signals happens every 10ms and modem needs 50 zero crossings to transmit one byte with error checking data. it switches over to transmit and transmits the data through power line. Normally module is in receiving mode all the time listening to incoming communication on the power line. Once your application gives serial data to transmit on its RX-IN pin. That is why it takes 500ms for one byte.60 Hz Protocol independent. For example we want to transmit character “TEST”.sunrom. data transfer transparent to user's data terminals High noise immunity and reliable data communication Simple serial interface to user's data devices of 9600 bps Built-in on board AC coupling circuit with direct connection to mains Built-in carrier generation and detection Multiple units can be connected to the power line of the distribution transformer TTL level serial interface to user's data devices Built with industrial grade components for operation under harsh environment Indicates Transmit and Receive with LEDs Built in Error Checking so it never gives out corrupt data. you will have to wait at least 500ms(mili second) before a new byte is given to module again since the module waits for zero crossing of AC mains to transfer a bit. The transmission of data is indicated by Red LED. as a result. then transmit ‘T’ and wait 500ms. multiple units can be connected to the mains without affecting the operation of the others. Data communication of the modules is transparent to user’s data terminals and protocol independent. The reception of data by modem is indicated by Green LED which is on TXout pin itself. then transmit ‘E’ and wait 500ms. but the purpose of this module is transfer of small data bytes like sensor readings and remote control for which this speed is ok to implement. then transmit ‘S’ and wait 500ms. Half Duplex communication means it can either transmit or receive data at a time but not both at same time.com PLC Modem Model: 1187 5V GND TXD RXD Customer’s Device Specs Overview • • • • • • • • • • • • • • Embedded ready-to-go Power Line Carrier Modem module with SMT components Small form factor for easy of system integration Bi-directional half-duplex data communication over the mains Applicable to universal mains voltage and frequency up to 250v. Transmission is based on byte by byte basis.Information The module provides bi-directional half-duplex communication over the mains of any voltage up to 250V AC and for frequency 50hz or 60hz.
3/INT1 P3. there is no worry to get shock on the low voltage side when working with it which is shown in blue box below.6/AD6 P0.2/AD2 P0. Blue Box Isolated Part.0/RXD P3.4/A12 P2.0/T2 P1. Do not Touch Interfacing Pin Details Pin RX-IN TX-OUT +5V GND Pin Name Receive Input Transmit Output Power Supply Ground Details Input serial data of 5V logic level Usually connected to TXD pin of microcontrollers.0/A8 P2. Due to isolation on AC part. Shock Hazard.6/WR P3. Ground level of power supply. PIC or such. VCC + XTAL1 C8 10uF 16V R1 10K 9 RST VCC TTL UART INTERFACING C1 100n P2. The TXD pin of MCU will go to RX-IN pin of PLC modem The RXD pin of MCU will go to TX-OUT pin of PLC modem Ground & +5V Power Supply between PLC modem and MCU should be connected.4/AD4 P0.6/MISO P1.2/A10 P2.1/T2EX P1. When AC main line is connected to module do not touch the non insolated part which is shown in red.com 3 4 +5V GND . AVR.0592 18 C10 33p 3 Sunrom Technologies Your Source for Embedded Systems Visit us at www. which allows direct and simple connections to mains.7/SCK EA/VPP VCC 40 1 2 VCC PSEN ALE/PROG XTAL2 GND 20 19 Y1 C9 33p 11.5/AD5 P0. Must be common ground with microcontroller.sunrom. Ok to Touch Red Box AC mains section.7/RD 21 22 23 24 25 26 27 28 10 11 12 13 14 15 16 17 29 30 U4 PLC MODEM SUNROM#1187 RX-IN TX-OUT U2 AT89S52 39 38 37 36 35 34 33 32 1 2 3 4 5 6 7 8 31 P0.5/MOSI P1. You can use any microcontroller like 8051.2 P1. Output serial data of 5V logic level Usually connected to RXD pin of microcontrollers.1/A9 P2. Interfacing with microcontroller You can interface the module with directly microcontroller pins since the level of module is at 5V level.3/AD3 P0.3/A11 P2.0/AD0 P0.2/INT0 P3.Shock Hazard It has built-in on board AC isolated coupling circuit.7/AD7 P1.4/T0 P3. Regulated 5V supply input.6/A14 P2.1/TXD P3.5/A13 P2.7/A15 P3.4/SS P1.5/T1 P3. This document below has remote control application notes below with source code.1/AD1 P0. Just configure your microcontroller to communicate at 9600 baud rate.3 P1.
Interfacing with RS232 If you wish to interface the module with RS232 level like a PC serial port or any other device you need a level convertor such as MAX232 as shown below.html VCC RS232 INTERFACING VCC Interfacing to USB Port and Powering from USB Port U7 PLC MODEM SUNROM#1187 RX-IN TX-OUT U8 USB to Serial Board SUNROM#1151 RX-IN TX-OUT GND +5V 15 GND You can use our USB to Serial Board Model 1151 1 2 3 4 +5V GND USB INTERFACING 1 2 3 4 http://www.sunrom. 4 Sunrom Technologies Your Source for Embedded Systems Visit us at www. U5 PLC MODEM SUNROM#1187 RX-IN TX-OUT VCC C16 100n U6 MAX232 11 9 12 10 + C13 10uF 16V 1 3 2 + C14 10uF 16V 16 14 8 13 7 4 5 6 C15 10uF 16V + + C12 10uF 16V P2 DB9-CONN-F 1 6 2 7 3 8 4 9 5 You can also use our Max232 Board Model 1104 +5V GND T1IN R2OUT R1OUT T2IN C+ C1V+ 1 2 3 4 VCC T1OUT R2IN R1IN T2OUT C2+ C2V- http://www.sunrom.html It will appear as virtual serial port on PC to which you can communicate two ways through any software which can transmit / receive by this serial port like hyperterminal or custom made software.sunrom.com/p-244.com .com/p-245.
7/RD 21 22 23 24 25 26 27 28 10 11 12 13 14 15 16 17 29 30 U11 PLC MODEM SUNROM#1187 RX-IN TX-OUT U10 AT89S52 39 38 37 36 35 34 33 32 1 2 3 4 5 6 7 8 VCC + C20 10uF 16V R3 10K 31 P0.0/T2 P1.5/A13 P2.3 P1.5/T1 P3.4/SS P1.0/AD0 P0.com .1/T2EX P1.2 P1.2/AD2 P0.1/TXD P3.0592 C21 33p Q2 BC547 5 Sunrom Technologies Your Source for Embedded Systems Visit us at www.3/INT1 P3.7/SCK EA/VPP VCC 40 1 2 VCC PSEN ALE/PROG XTAL2 GND OFF SW2 SW 20 19 Y2 C11 33p 11.7/A15 P3.6/A14 P2.4/T0 P3. character ‘A’ is transmitted.3/INT1 P3.6/WR P3.0/AD0 P0.4/AD4 P0. Source Code for this application can be downloaded from link below http://www.1/T2EX P1.5/AD5 P0.sunrom.6/MISO P1.1/TXD P3.5/A13 P2.1/AD1 P0.2/A10 P2.0/A8 P2.2/INT0 P3.zip The source code is in Keil C51 compiler.0/T2 P1. Transmit Code View 39 38 37 36 35 34 33 32 1 2 3 4 5 6 7 8 VCC + XTAL1 C17 10uF 16V R2 10K 9 RST 31 VCC CONTROL PANEL ON/OFF C2 100n P2.7/SCK EA/VPP VCC 40 1 2 VCC VCC R5 1K D3 1N4007 D4 LED 1 2 PBT2 VCC LS2 5V Relay 5 3 4 3 4 +5V GND 3 4 +5V GND ON CN2 PSEN ALE/PROG XTAL1 GND RST XTAL2 Y3 18 9 20 19 R4 4K7 C19 33p 11.2 P1.5/T1 P3.7/AD7 P1.0/A8 P2.2/A10 P2.0592 18 C18 33p Receive Code View VCC REMOTE UNIT RELAY C3 100n P2.6/MISO P1.7/A15 P3.3/A11 P2.4/T0 P3.sunrom.1/AD1 P0.5/MOSI P1.6/AD6 P0. When OFF switch is pressed character ‘B’ is transmitted through PLC modem.6/WR P3. The receiver side listens to the data through power line modem and switches on or off relay accordingly.5/MOSI P1.7/RD 21 22 23 24 25 26 27 28 10 11 12 13 14 15 16 17 29 30 SW1 SW U9 PLC MODEM SUNROM#1187 RX-IN TX-OUT U3 AT89S52 P0.Remote Control Application To show what the PLC modem is capable of we will see one remote control application.1/A9 P2.4/AD4 P0.0/RXD P3.4/A12 P2.com/files/1187a.3/AD3 P0.4/SS P1.1/A9 P2.3/AD3 P0.5/AD5 P0.2/INT0 P3.3 P1.6/AD6 P0.4/A12 P2.7/AD7 P1.2/AD2 P0.0/RXD P3.3/A11 P2.6/A14 P2. In this application there will be first unit which will be control panel with ON and OFF switch. When ON switch is pressed.
com .sunrom.Module Dimensions 6 Sunrom Technologies Your Source for Embedded Systems Visit us at www.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue listening from where you left off, or restart the preview.