Home
Lindy 84001 remote power controller
Contents
1. Set KO K3 print sending code 1011 ALL on GPIO output 11 True GPIO output 15 True GPIO output 16 False GPIC OUCput L37 eu let it settle encoder requires this time sleep 0 1 Enable the modulator GPIO output 22 True keep enabled for a period time sleep 0 25 Disable the modulator GPIO output 22 False taw iNput nLt return key to send ALL OFF Code Set KO K3 print sending code 0011 All off GPIO output 11 True GPIO output 15 True GPIO output 16 False GPIO output 13 False let it settle encoder requires this time sleep 0 1 Enable the modulator GPIO OUtTput 227 True keep enabled for a period time sleep 0 25 Disable the modulator GPIO output 22 False Clean up the GPIOs for next time except KeyboardInterrupt GPIO cleanup CE Statement CE Certification This equipment complies with the requirements relating to Electromagnetic Compatibility Standards EN55022 EN55024 and the further standards cited therein It must be used with shielded cables only It has been manufactured under the scope of RoHS compliance INDY CONNECTION PERFECTION LINDY Electronics Ltd Sadler Forster Way Teesside Industrial Estate Thornaby Stockton on Tees TS17 9JY England Declaration of Conformity LINDY Part Number 84001 Description Raspberry Pi RF Board with 2 x RF Sockets We LINDY Electronics LTD hereby declare that the above product is in conformity
2. IESIND Y CONNECTION PERFECTION Raspberry Pi RF Transmitter User Manual English No 84001 www lindy com CE LINDY ELECTRONICS LIMITED amp LINDY ELEKTRONIK GMBH FIRST EDITION September 2014 User Manual English Introduction Thank you for purchasing this RF controlled Raspberry Pi starter kit Using this RF transmitter add on board you can control up to 4 radio controlled sockets from your Raspberry Pi The add on board connects to the row of pins called the GPIO which can be controlled as either input or output lines under the control of software We have written a simple program in Python to allow you to switch the remote controlled sockets on and off with a single key press Package Contents 1x RF transmitter add on board 2 x Radio Controlled Sockets Short range radio transmitter Simple plug in installation Up to 10 individual commands Easy software control Ideal learning and experimental tool Compatible with 73113 3 Pack Remote Control Sockets amp 73122 4 Way Remote Controlled Strip Raspberry Pi Version A or B Installed OS Raspian or other LINUX OS with Python installed Installation Installing the board Install the board on to the row of pins as shown below and connect your Raspberry Pi as normal to a monitor mouse keyboard and USB power supply User Manual English The pin header connects to the add on board as follows to allow you to control t
3. e encoder KO K3 data inputs GPIO setup 11 GPIO OUT User Manual GPIO setup 15 GPIO setup 16 GPIO setup 13 Select the signal GPIO setup 189 Select the signal GPIO setup 22 English GPIO GRELO GRIO OUT OUT OUT to select ASK FSK GPIO OUT used to enable disable the modulator GPIO OUT Disable the modulator by setting CE pin lo GPTOSOUEDUE 22 False Set the modulator to ASK for On Off Keying by setting MODSEL pin lo GPTOLOUCRUE 18 False Initialise K0 K3 inputs of the encoder to 0000 GPIO GP TOS GETO GELO output 11 False output 15 False output 16 False output 13 False The On Off code pairs correspond to the hand controller codes der rue Pring print PELNE PEINE PELNE EE PELINE PELNE DELNE PEENE print PEENE PELNE PELNE DEAL PELNE DLIA DELNE ECKE EE EE DEINE PELNE prine PELIN PEINT Drin PELNE DENG PELNE Print PEENE PETNE PELIN PENG DEINE PETRE PLINE CES 1 False 0 OUT OF THE BOXE Plug the PL Transmitter board into the Raspberry Pi GPIO pin header ensuring correct polarity and pin alignment The sockets will need to be inserted into separate mains wall sockets with a physical separation of at least 2 metres to ensure they don t interfere with each other Do not put into a single extension lead For proper set up the sockets should be in their factory state with the red led flashing a
4. este apparecchiature devono essere riciclate Ogni stato membro dell EU ha tramutato le direttive WEEE in leggi statali in varie misure Fare riferimento alle leggi del proprio Stato quando si dispone di un apparecchio elettrico o elettronico Per ulteriori dettagli fare riferimento alla direttiva WEEE sul riciclaggio del proprio Stato LINDY No 84001 C 1 Edition September 2014 www lindy com
5. he GPIO lines as outputs to drive the radio frequency transmitter Your software will use the outputs on the GPIO connector to drive the add on board We have written some code in Python to switch the two sockets on and off Each board transmits a frame of information using On Off Keying OOK which is a basic form of Amplitude Shift Keying ASK This frame includes source address 20 bits and control data 4 bits GPIO Pin Header Rev 2 0 view from top Ground Ground Encoder signal DO GPIO17 Encoder signal D3 GPIO27 Encoder signal DI GPIO22 Ground GPIO23 Encoder signal D2 7 MODSEL mode select signal GPIO24 OOK FSK Ground 3V3 CE modulator enable Output GPIO25 ON OFF Ground The source address is randomly selected so unique for that board pre programmed and cannot be changed The socket will accept commands frames that have the source address that it learns during the learning process described later data H k kb data L i 3 Ick 256clk Here are the pairs of codes using DO D3 that can be sent to control sockets we will use socket 1 and socket 2 in the sample program at the end DO Meaning D3 D2 D1 DO Meaning a wen l olola a1 asp a socketion o 1 1 1 sockettoff_ 1 2 0 socket 2 off 1 01 socket 3 off ele socket off O socketzon 0_ a socket3on 0_ Lo socketaon o User Manual English The PCB can therefore control a maxi
6. mum of 4 radio sockets independently However more than one socket may be controlled by the same control code There are two parts to the transmitter board the encoder and the modulator 1 The encoder will accept 4 input signal levels programmed onto 4 of the GPIO lines DO D3 as shown above It will then serialise them on a single line to the modulator part 2 The modulator transmits the serialised signal It needs to be programmed in Amplitude Shift Keying ASK mode for the sockets using a GPIO signal It also needs to be enabled by a separate GPIO signal Firstly we need to install a Python module RPi GPIO to enable software control of the GPIO pins for the Raspberry Pi Open an LXterminal from the desktop and type the following lines sudo apt get install python rpi gpio Now open a text editor such as leafpad and type the python code listed at the end called LINDY002 2PI py into a new file under home pi This program will allow us to send coded commands to the sockets to program them and then switch them on and off when the return key on the keyboard is hit Controlling the sockets Launch your program by typing the following command at the prompt in the LXterminal window sudo python LINDY002 2PI py Then insert one of the radio controlled sockets into a mains wall socket which is switched on The socket must then be programmed to learn a control code from the transmitter To do this the socket must be in learning mode indica
7. t 1 second intervals If this is not the case for either socket press and hold the green button on the front of the unit for 5 seconds or more until the red light flashes slowly A socket in learning mode will be listening for a control code to be sent from a transmitter A socket can pair with up to 2 transmitters and will accept the following code pairs OO LLLI SUO dan ea MERO A socket in learning mode should accept the first code lt recelves If you wish the sockets to react to different codes plug in and program first one socket then the other using this program LOLLI OLA OLL JEON 0100 ON and OFF and OFF and OFF and OFF and OFF all sockets socket 1 ON socket 2 ON socket 3 ON socket 4 ON and and and and and When the code is accepted you will see the red lamp on the socket flash quickly then extinguish The program will now loop around sending codes as follows when you Whit we key socket 1 on socket L COLE socket A on NSOCKeL 2 OC all sockets on akl ss 0Ckebs DEE Hit Crh For clean exit User Manual English We will just loop round switching the units on and off while True raw Input hit ceuurn key bo send socket LON code Set KO K3 print sending code 1111 socket 1 on GPIO output 11 True GPIO output 15 True GPIOOUtput L6 Kee GPIO soutput 13 True let it settle encoder reguires this time sleep 0 1 Enable
8. ted by the lamp on the front of the socket housing flashing slowly If it is not doing this press and hold the green button on the front of the housing while the lamp is off for 5 seconds or more and then release it when the lamp starts to flash at 1 second intervals Then send a signal to it from you program by hitting the return key Acceptance will be indicated by a brief quick flashing of the lamp on the housing which will then extinguish Program one socket first then the others in this way otherwise they will react to the same signal You can then toggle the sockets on and off by hitting the return key You can also switch them manually on and off by briefly pressing the button on the front housing You can always reset the socket programming by holding down the green button for 5 seconds or more as mentioned before To increase the range of the transmitter you may wish to add an extra antenna to the circuit board You can do this by soldering a piece of ordinary copper wire 13 5cm long into the hole marked ANT1 on the circuit board IMPORTANT The sockets will need to be inserted into separate mains wall sockets with a physical separation of at least 2 metres to ensure they don t interfere with each other Do not put into a single extension lead Here is the program LINDY002 py import the required modules import RP1 GPIO as GPIO import time set the pins numbering mode GPIO setmode GPIO BOARD Select the GPIO pins used for th
9. the WEEE regulations into national law in slightly different ways Please follow your national law when you want to dispose of any electrical or electronic products More details can be obtained from your national WEEE recycling agency Germany Deutschland Die Europ ische Union hat mit der WEEE Direktive Regelungen f r die Verschrottung und das Recycling von Elektro und Elektronikprodukten geschaffen Diese wurden im Elektro und Elektronikger tegesetz ElektroG in deutsches Recht umgesetzt Dieses Gesetz verbietet das Entsorgen von entsprechenden auch alten Elektro und Elektronikgeraten uber die Hausmulltonne Diese Ger te m ssen den lokalen Sammelsystemen bzw rtlichen Sammelstellen zugef hrt werden Dort werden sie kostenlos entgegen genommen Die Kosten fur den weiteren Recyclingprozess bernimmt die Gesamtheit der Geratehersteller France En 2006 l union Europ enne a introduit la nouvelle reglementation DEEE pour le recyclage de tout equipement lectrique et lectronique Chaque Etat membre de Union Europ enne a mis en application la nouvelle r glementation DEEE de mani res l g rement diff rentes Veuillez suivre le d cret d application correspondant a l limination des d chets lectriques ou lectroniques de votre pays Italy Nel 2006 l unione europea ha introdotto regolamentazioni WEEE per la raccolta e il riciclo di apparecchi elettrici ed elettronici Non pi consentito semplicemente gettare qu
10. the modulator GPIOOUTput 22 True keep enabled for a period time sleep 0 25 Disable the modulator GPIO output 22 False raw EELER hit revurp key to send socket 1 OFF code Set KO K3 print sending code 0111 Socket 1 off GPIO output 11 True GPIO output 15 True GPIO output 16 True GPIO output 13 False let it settle encoder requires this time sleep 0 1 Enable the modulator GPIO OUCput 22 True keep enabled for a period time sleep 0 25 Disable the modulator GPIO output 22 False raw input thie return key to send socket 2 ON code Set KO K3 print sending code 1110 socket 2 on GPIO output 11 False GPIO OULDUL boz True GPIO output 16 True GPIO output L3 True let it settle encoder requires this time sleep 0 1 Enable the modulator GPIOUtput 22 True keep enabled for a period time sleep 0 25 Disable the modulator GPIO output 22 False raw anput nit tetori key Eer send SocketA sORF Code Set K0 K3 print sending code 0110 socket 2 off GPIO output 11 False GPIO output 15 True GPIO output 16 True GPIO output 13 False let it settle encoder requires this time sleep 0 1 Enable the modulator GPIO output 22 True keep enabled for a period time sleep 0 25 Disable the modulator GPIO output 22 False User Manual English baw input hit return key tO Send ALL ON Gode
11. with the EU Directive 2004 108 EC Electromagnetic Compatibility Directive 2006 95 EC Low Voltage Directive 2009 125 EC ErP Directive and 2011 65 EU Restriction of the use of certain hazardous substances RoHS The following standards were used to evaluate the product for electromagnetic compatibility Safety BS5733 EN 61058 1 EMC amp Radio EN 300 220 2 EN 301489 01 EN 301489 03 Energy 1EC62301 2005 And is in accordance with the following Directive s 2006 95 EC The Low Voltage Directive 2004 108 EC The Electromagnetic Compatibility Directive 1999 5 EC R amp TTE Directive 2002 96 EC Waste Electrical and Electronic Equipment WEEE Directive 2011 65 EU Restriction of the Use of Certain Hazardous Substances RoHS Directive EU 2009 125 EC ErP Directive 2009 125 EC Date 16 September 2014 Signature M Name Darren N Casey Position Managing Director LINDY Electronics LTD LINDY Supplier Office Reference 24 June 2014 L PF 103b DOC EMC LVD ErP RoHS Issue 3 Recycling Information WEEE Waste of Electrical and Electronic Equipment Recycling of Electronic Products Europe United Kingdom In 2006 the European Union introduced regulations WEEE for the collection and recycling of all waste electrical and electronic equipment It is no longer allowable to simply throw away electrical and electronic equipment Instead these products must enter the recycling process Each individual EU member state has implemented
Download Pdf Manuals
Related Search
Related Contents
5162755 - Weltbild Best K210A User's Manual MODE D`EMPLOI OLGA BOLDYREFF - FRAC Nord Pas-de 取扱説明書 - マックスレイ BSW - Hitecsa.com XEED WUX6000, XEED WX6000 and XEED WUX5000 Manual N° 3192 Hitachi 50PD960DTA User's Manual AgfaPhoto AF5109PS digital photo frame Copyright © All rights reserved.