Home
PAGINA TITOLO
Contents
1. 10 62 926 5 926 6 926 7 100 10 30 913 7 913 8 913 9 100 10 63 926 9 927 927 1 100 10 31 914 1 914 2 914 3 100 10 64 927 3 927 4 927 5 100 10 32 914 5 914 6 914 7 100 10 65 927 7 927 8 927 9 100 10 33 914 9 915 915 1 100 10 26 G3P HAMP User Manual Release 1 02 11 HARDWARE CONNECTIONS G3P modules can be connected in different ways depending by the availability of I O from the user microcontroller 11 1 AMP with external microcontroller The master devices can use the sleep pin if required Connection diagram for 19200 baud If a different baud rate is required change pin 10 and 11 polarization Micro Controller Digital GND d O 3 3v Busy Input 8 GND Data Enable lee HW Sleep control Output P Radio GND Radio VCC DOOROP gt OVOJDONAOPN je ES A a o The slave devices cannot use the sleep Connection diagram for 19200 baud If a different baud rate is required change pin 10 and 11 polarization Micro Controller Digital GND 3 3v Reset G3P Output Serial Tx Serial Rx Busy Input 8 GND Data Enable ia Sleep 14 PX Radio GND ha Radio VCC 27 G3P HAMP User Manual Release 1 02 11 2 AMP stand alone The master devices must have an external m
2. 11 G3P HAMP User Manual Release 1 02 6 TRANSMISSION features All the devices have two kinds of addresses Network address must be the same for all devices in the network This allows to have different networks separated but in the same radio range Device address indentifies the device inside the network See chapter Address specifications 6 1 SINGLE CHANNEL and DUAL CHANNELS transmission The communication can be set in single channel or in frequency hopping mode In the single channel mode the user chooses the frequency channel of the communication There are 17 available channels for transmission in 433 MHz ISM band 5 for transmission in 868 MHz ISM band and 65 channels in 915MHz band In Dual Channels mode the modules will use two channels at time This slow a little the transmission time but increase very much the anti noise features Setting this mode specify two not near channels This feature is better in 433Mhz frequency due to the law duty cycle In 433MHz band the allowed duty cycle is 10 otherwise using the dual channels mode in 868MHz band will limit the duty cycle to 0 1 6 2 Hardware Sleep mode Hardware sleep mode can be used only in the MASTER devices The SLAVE devices must be active all time Setting HIGH the SLEEP input PIN 13 the device enters in hardware power done mode The module completes all the pending transmission before entering in this power down mode The device wakes up only by set
3. 6 2 Hardware Sleep MOd iiicsiieiccenciececeidivccieisdeacieacacadaceccetesendgeneaeaeieaceeaesttdiestaeddaeacaetes 12 6 3 MODULERTIES dd Mo E 12 7 PROGRAM MODE and RUN MODE tike case ge dea Ba aa dala a des da kay kiye sons 13 7 1 Program MOE ky kai td a E A e A BA v RI ko AE RWA e ki BRA aji 13 8 AMP COMMAND S trist ta v goa dik ant all n ik dad ata ak n e de a na kk a e e a n dana de a a a Es 13 8 1 Commands tablero Vo VR ala Cavan wie RE aie DAN Re DA SAA DAY L ake Dalle A Pane 13 8 2 Commands GESCriPtiOn kew ate ina tate de haba kata liked ti n tn Kake a a n jaka ka die kt DANY Aa 14 9 AMP USE EXAMPLES ed kk nek ane te an weds aa a in n das 18 9 1 AMP use with external microcontrollers akv kkk aa 18 9 1 1 AMP network configuration s s ninos a EKA RACER RA WA n ae ae RA WA kk RE RAN AAA A BAN AA mn AAS a 19 9 1 2 Message tra MISSION n 20 9 2 AMP use with stand alone SIAVES 0 aaa kkk kakaa 21 9 2 1 AMP network CONFIQUIALION 2 ea rak kanni ka na la kika ke a E mn a KAK KRE REKA danda m a 21 9 2 2 Remote command transmission kakaa 23 9 3 Add remove Slaves ii ld at day in da ll a cena daa ld l A 25 9 3 1 Nal IIA Ye pate aa ke o kak Sete cabs aie Ga e aby a ki ele sity Date Sane dake DAN oaks eke Dake WE Ne Ke PA 25 9 3 2 R MOVE A deViC asii dva da kt Mta dje kt e a kan za n Eva g da VEn enaA Enen aAa ka a a Ra nants 25 10 RADIO CHANNELS kay av dila en ve 26 11 HARDWARE
4. CONNECTIONS wo sik ka pai kata aa kin pan aa za earen iA PPAP REAP ERE erste REPE Pann pas 27 11 1 AMP with external microcontroller 0 aaa aaa kaaa inaa kaaa kakaa aka aaa 27 11 2 AMP Stand Alon Gis seis gododine adado ooo ia sla on od nats add ek mo oko sE dia iii vka 28 124 ASSEMBLY cag ba nats ct nian i dal o ba dwn naw a O dd ka O o ob A atta 29 12 1 Connector assembly ss anan kaa kane m n ak kan ni ae ae A a aa tk an SA WA atak AA aa aa t EENE RWA KANA NEENA aaa 30 12 2 Smd assembly a kid kek kt kn ko it ida j JK EE A a a y a 30 13 REC AMO IZAN e kk o OR n AE e 32 G3P HAMP User Manual 1 RELEASE HISTORY 1 1 Release 1 01 e First release 1 2 Release 1 02 e Added commands C80 and C85 Release 1 02 G3P HAMP User Manual Release 1 02 2 GENERAL FEATURES The G3P RF modules are a fully integrated transceiver for radio communications for the low frequency 433 868 or 915MHz ISM band Gp3 modules can implement different network architectures Models available differ by the MCU on board and by the software features Those modules provide a competitive solution for cost sensitive or for power critical applications Typical wireless applications for these modules are security system remote control home automation Operating at 3 3 V CMOS power supply G3P modules have an asynchronous serial interface Power Supply 2 2 3 6 V pan RF maximum power dBm RF sensibility dBm Temperat
5. Set device address 1 to 00016 C32C020020 lt CR gt Set device address 2 to 00020 C32C030034 lt CR gt Set device address 3 to 00034 C32C100414 lt CR gt Set dual channel mode with channels 04 and 14 C32C113 lt CR gt Set tx power 10mW C32C13112500 lt CR gt Set PWM 100Hz 12 5 seconds for acceleration initial value 00 C32C1411100000 lt CR gt Set SPI enabled 16 bit CE enabled initial value 00000 C12 0 Master exits from programming mode Press again pushbutton on the slave the led goes off The slave exit from program mode and then store setup into the flash For other slaves the set up is the same will change only addresses 9 2 2 Remote command transmission When the master start a transmission will use bridge 1 If bridge 1 fails automatically will try with bridges 11 12 and 18 in order After the transmission gives the result as OK address bridge used number of recovered errors 1 OK 00010 000 Used bridge 10 no errors 2 OK 00011 001 Bridge 10 failed used 11 1 total error 10 fail ER address last bridge used number of errors 1 ER 00018 004 All 4 bridges failed last used was 18 the message has not delivered If successful means only that the message has been properly posted into the network In case the routing will not deliver the message later the master will receive a notification like KO nnnnn eee The slave nnnnn has not received data eee number of total errors After the ro
6. The addresses sequence now is 10 11 12 13 x x 16 17 18 Change address 16 to 14 Master command C3100016C2400014 lt CR gt The addresses sequence now is 10 11 12 13 14 x x 17 18 Change address 17 to 15 Master command C3100017C2400015 lt CR gt The addresses sequence now is 10 11 12 13 14 15 x x 18 Change address 18 to 16 Master command C3100018C2400016 lt CR gt The addresses sequence now is 10 11 12 13 14 15 16 x x 25 G3P HAMP User Manual Release 1 02 10 RADIO CHANNELS The following table shows the channels band for communication for 433 MHz 434 65 434 7 434 75 868 2 868 3 8 The following table shows the channels band for communication for 915 MHz 1 902 1 902 2 902 3 100 10 34 915 3 915 4 915 5 100 10 2 902 5 902 6 902 7 100 10 35 915 7 915 8 915 9 100 10 3 902 9 903 903 1 100 10 36 916 1 916 2 916 3 100 10 4 903 3 903 4 903 5 100 10 37 916 5 916 6 916 7 100 10 5 903 7 903 8 903 9 100 10 38 916 9 917 917 1 100 10 6 904 1 904 2 904 3 100 10 39 917 3 917 4 917 5 100 10 7 904 5 904 6 904 7 100 10 40 917 7 917 8 917 9 100 10 8 904 9 905 905 1 100 10 41 918 1 918 2 918 3 100 10 9 905 3 905
7. 25 5 seconds Parameter nn ASCII decimal number in the range 00 99 Set the PWM value to use at power on C14 adcnnnnn Set SPI parameters RP This command can be sent to a stand alone slave in program mode to set the SPI operating parameters The master in program mode will use the command C32 to send the C14 remote command Parameter a ASCII decimal number in the range 0 1 0 SPI not used OUT 1 OUT 2 PWM status available 1 SPI enabled OUT 1 OUT 2 not available Parameter d ASCII decimal number in the range 0 1 O SPI8 bit mode 1 SPI 16 bit mode Parameter c ASCII decimal number in the range 0 1 O SPI CE not used PWM status available OUT 1 OUT 2 not available 1 SPI CE enabled OUT 1 OUT 2 PWM status available Parameter nnnnn ASCII decimal number in the range 00000 nnnnn Set the SPI value to output at power on In 8 bit mode parameter c 0 nnnnn range 00000 00255 In 16 bit mode parameter c 1 nnnnn range 00000 65535 Ci6 nn Set communication step S SP This command can be used only in a master device Set the communication step long jump unit is the number of slave device to jump Step can be changed in every moment before a communication Parameter nn ASCII decimal number in the range 00 99 15 G3P HAMP User Manual Release 1 02 Parameters Description Operating conditions Ci7 n Set Reset broadcast mode S SP This command can be used only in a master device Set or reset the broadc
8. 4 905 5 100 10 42 918 5 918 6 918 7 100 10 10 905 7 905 8 905 9 100 10 43 918 9 919 919 1 100 10 11 906 1 906 2 906 3 100 10 44 919 3 919 4 919 5 100 10 12 906 5 906 6 906 7 100 10 45 919 7 919 8 919 9 100 10 13 906 9 907 907 1 100 10 46 920 1 920 2 920 3 100 10 14 907 3 907 4 907 5 100 10 47 920 5 920 6 920 7 100 10 15 907 7 907 8 907 9 100 10 48 920 9 921 921 1 100 10 16 908 1 908 2 908 3 100 10 49 921 3 921 4 921 5 100 10 17 908 5 908 6 908 7 100 10 50 921 7 921 8 921 9 100 10 18 908 9 909 909 1 100 10 51 922 1 922 2 922 3 100 10 19 909 3 909 4 909 5 100 10 52 922 5 922 6 922 7 100 10 20 909 7 909 8 909 9 100 10 53 922 9 923 923 1 100 10 21 910 1 910 2 910 3 100 10 54 923 3 923 4 923 5 100 10 22 910 5 910 6 910 7 100 10 55 923 7 923 8 923 9 100 10 23 910 9 911 911 1 100 10 56 924 1 924 2 924 3 100 10 24 911 3 911 4 911 5 100 10 57 924 5 924 6 924 7 100 10 25 911 7 911 8 911 9 100 10 58 924 9 925 925 1 100 10 26 912 1 912 2 912 3 100 10 59 925 3 925 4 925 5 100 10 27 912 5 912 6 912 7 100 10 60 925 7 925 8 925 9 100 10 28 912 9 913 913 1 100 10 61 926 1 926 2 926 3 100 10 29 913 3 913 4 913 5 100
9. C00 12345 set network address to 12345 C010000 C01 00000 set device address to 00000 Master bus have address lt 00010 C0500010 C05 00010 set first using bridge to 00010 C0600011 C06 00011 set second using bridge to 00011 C0700012 C07 00012 set third using bridge to 00012 C0800018 C08 00018 set fourth using bridge to 00018 C100414 C10 0414 set dual channel mode with channels 04 and 14 C113 C11 3 set tx power 10mW C1605 C16 05 set step 5 C170 C17 0 set broadcast mode disabled C120 C12 0 exit from programming mode C45 C45 stores setup in flash 9 1 1 2 Slaves configuration Send to the slave 00010 1 device address the serial commands C121 C12 1 set program mode C0012345 C00 12345 set network address to 12345 C010010 C01 00010 set device address 1 to 00010 C100414 C10 0414 set dual channel mode with channels 04 and 14 C113 C11 3 set tx power 10mW C120 C12 0 exit from programming mode C45 C45 stores setup in flash Send to the slave 00013 2 device addresses the serial commands C121 C12 1 set program mode C0012345 C00 12345 set network address to 12345 C010013 C01 00013 set device address 1 to 00013 C020037 C02 00037 set device address 2 to 00037 C100414 C10 0414 set dual channel mode with channels 04 and 14 C113 C11 3 set tx power 10mW C120 C12 0 exit from programming mode C45 C45 stores setup in flash Send to the slave 00016 3 device addresses the serial commands C121 C12 1 set program mode
10. C0012345 C00 12345 set network address to 12345 C010016 C01 00016 set device address 1 to 00016 C020020 C02 00020 set device address 2 to 00020 Co30034 CO3 00034 set device address 3 to 00034 C100414 C10 0414 set dual channel mode with channels 04 and 14 C113 C11 3 set tx power 10mW C120 C12 0 exit from programming mode C45 C45 stores setup in flash For other slaves the set up is the same will change only addresses 19 G3P HAMP User Manual Release 1 02 9 1 2 Message transmission When the master start a transmission will use bridge 10 If bridge 10 fails automatically will try with bridges 11 12 and 18 in order After the transmission gives the result as OK address bridge used number of recovered errors 1 OK 00010 000 Used bridge 10 no errors 2 OK 00011 001 Bridge 10 failed used 11 1 total error 10 fail ER address last bridge used number of errors 1 ER 00018 004 All 4 bridges failed last used was 18 the message has not delivered If successful means only that the message has been properly posted into the network In case the routing will not deliver the message later the master will receive a notification like KO nnnnn eee The slave nnnnn has not received data eee number of total errors After the routing has finished 1 AK nnnnn 000 Message delivered to slave nnnnn with 000 errors The destination slave will send on its own serial port nnnnn eee message lt CR gt Data from master
11. direct radio communication between the master and the slave The master MUST be on the radio range of the slave to initialize In case the master is physically too far use another portable master 21 G3P HAMP User Manual Release 1 02 9 2 1 1 Master configuration In the description field commands and parameters are separated by This is to be clearer the real command to send is without commas like in the first field Send to the master the serial commands C121 C12 1 set program mode C0012345 C00 12345 set network address to 12345 C010000 C01 00000 set device address to 00000 Master bus have address lt 00010 C0500010 C05 00010 set first using bridge to 00010 C0600011 C06 00011 set second using bridge to 00011 C0700012 C07 00012 set third using bridge to 00012 C0800018 C08 00018 set fourth using bridge to 00018 C100414 C10 0414 set dual channel mode with channels 04 and 14 C113 C11 3 set tx power 10mW C1605 C16 05 set step 5 C170 C17 0 set broadcast mode disabled C120 C12 0 exit from programming mode C45 C45 stores setup in flash 9 2 1 2 Slaves configuration Initialize slave 00010 1 device address Master command Action Press pushbutton on the slave the led switch on The slave is in program mode C121 Master in program mode C32C001234 CR Set network address to 12345 C32C010010 lt CR gt Set device address 1 to 00010 C32C100414 lt CR gt Set dual channel mode with channels
12. specifics conditions e The master asks and the slave answers A slave NEVER will start a communication if not expected by the master e All the slave elements must be powered all time The master elements can sleep using the SLEEP pin e The addresses attribution must follows a specific preview system see Address specifications chapter Address or radio parameters change can be realized trough remote radio commands without a local action required e In the radio rage of a single element 350mt 500mt open air must be reachable at least other 3 or more slaves 5 3 Address specifications The AMP Arianna s Mesh Protocol has some specific address rules The addresses are set by the customer using serial commands or remote radio commands There are two address types e Network address that is the same for all the elements This address identify a specific network generally is different for every network e Device address is the address of an element inside the network and is different for every device This address identifies the physical position into the network e A master must have only ONE device address in the range 0 9 up to 10 masters per network e The slaves must have at least ONE device address in the range 10 32767 e The slaves can also have up to 4 device addresses all in the range 10 32767 e The slave s enumeration must start from 10 and then will increase without number holes G3P HAMP User Manual Release 1 02 5 3 1 A
13. 04 and 14 C32C113 lt CR gt Set tx power 10mW C32C13112500 CR Set PWM 100Hz 12 5 seconds for acceleration initial value 00 C32C1411100000 CR Set SPI enabled 16 bit CE enabled initial value 00000 C12 0 Master exits from programming mode Press again pushbutton on the slave the led goes off The slave exit from program mode and then store setup into the flash Initialize slave 00013 2 device addresses Master command Action Press pushbutton on the slave the led switch on The slave is in program mode C121 Master in program mode C32C001234 lt CR gt Set network address to 12345 C32C010013 lt CR gt Set device address 1 to 00013 C32C020037 lt CR gt Set device address 2 to 00037 C32C100414 lt CR gt Set dual channel mode with channels 04 and 14 C32C113 lt CR gt Set tx power 10mW C32C13112500 lt CR gt Set PWM 100Hz 12 5 seconds for acceleration initial value 00 C32C1411100000 lt CR gt Set SPI enabled 16 bit CE enabled initial value 00000 C12 0 Master exits from programming mode Press again pushbutton on the slave the led goes off The slave exit from program mode and then store setup into the flash 22 G3P HAMP User Manual Release 1 02 Initialize slave 00016 3 device addresses Master command Action Press pushbutton on the slave the led switch on The slave is in program mode C121 Master in program mode C32C001234 lt CR gt Set network address to 12345 C32C010016 lt CR gt
14. 1 65535 This command is available both in a master module and in a slave one too CO1 nnnnn Set DEVICE address 1 SP RP Set the device address 1 nnnnn is an ASCII decimal number Master module nnnnn is in the range 00000 00009 Slave module with ext micro nnnnn is in the range 00010 32767 Slave module stand alone Sent by the master using radio command C32 CO2 nnnnn Set DEVICE address 2 SP RP It s an optional command for a slave module Add the device address 2 nnnnn is an ASCII decimal number Use this command after CO1 now the slave module has 2 device addresses Slave module with ext micro nnnnn is in the range 00010 32767 Slave module stand alone Sent by the master using radio command C32 CO3 nnnnn Set DEVICE address 3 SP RP It s an optional command for a slave module Add the device address 3 nnnnn is an ASCII decimal number Use this command after CO1 CO2 Now the slave module has 3 device addresses Slave module with ext micro nnnnn is in the range 00010 32767 Slave module stand alone Sent by the master using radio command C32 c04 nnnnn Set DEVICE address 4 SP RP It s an optional command for a slave module Add the device address 4 nnnnn is an ASCII decimal number Use this command after CO1 CO2 CO3 Now the slave module has 4 device addresses Slave module with ext micro nnnnn is in the range 00010 32767 Slave module stand alone Sent by the master using radio command C32 CO5 nnnnn Set BRIDGE ad
15. 1 Set broadcast mode C3100026C2033 lt CR gt PWM up to 26 33 Tx trough the bridge 10 OK 00010 000 Routing to 26 and less 10 to 26 PWM 33 AK 00026 000 C170 Reset broadcast mode 9 2 2 6 PWM value to all in broadcast mode 2 Bridge 18 the bridge is the middle of the network Can be obtained with two separated commands Set the higher address with broadcast mode activated Set the lower address with broadcast mode activated Master command Action Master serial 26 C171 Set broadcast mode C3100026C2033 lt CR gt PWM up to 26 33 Tx trough the bridge 18 OK 00018 000 Routing to 26 and less 18 to 26 PWM 33 AK 00026 000 C3100010C2033 lt CR gt PWM down to 10 33 Tx trough the bridge 18 OK 00018 000 Routing to 10 and higher 18 to 10 PWM 33 AK 00018 000 C170 Reset broadcast mode 24 G3P HAMP User Manual 9 3 Add remove slaves In a just installed network it s possible to add or remove slaves without local actions Release 1 02 Physically is necessary to remove or add the concerned slaves the necessary changes in the address sequence can be made through radio commands 9 3 1 Add a device To add the new device the operations are Configure the new device in program mode Install the new device in place Switch off the new one an address 14 just exist Using the network change the slave addresses leaving free the address 14 Switch on the new one PI In this case the high
16. 2 54mm male strip antenna holes SMA not fitted and 32KHz oscillator and top pad for manual smd assembly 30 G3P HAMP User Manual Release 1 02 Top view for SMD assembly with the measure to realize two holes under the 32KHz oscillator and under the antenna connection In RED the two holes to provide in the PCB 31 G3P HAMP User Manual 13 RF Harmonization G3P modules respect ETSI EN 300 220 03 V 1 1 1 ETSI EN 300 220 01 V 2 2 1 433MHz Band occupation Release 1 02 10 48 432 8 MHz Channel 1 433 4 433 45 MHz dBuV m 80 10 43450 434 5 MHz Channel 17 434 55 434 60 434 80 434 85 43490 43495 435 00 435 MHz 32 G3P HAMP User Manual Release 1 02 433MHz Transmission spurious emissions aa dB W m Title Final Scan P o AV QP 45 2 20 15 10 6 0 100 30 MHz Step SUkHz IFBW 120kHz MTimePre Ims DetectPre Pcisp SubRange 50 MTimeFin 1s DetectFin OP 1000 MHz File 4IIISTPON ASC MessStart domenica 09 giu 1996 20 05 CorFactor REJM CST Limit Line R 228 LIM Horizontal polarization 80MHz 1GHz standby sa dB W m Title Final Scan P o AV QP 45 a 15 100 3UMHZ Step 50kHz IFBW 120kHz MTimePre Ims DetectPre Pcisp SubRange SU MTimeFin 1s DetectFin QP 1000 MHz File 4JJSTPVO ASC MessStart domenica 09 giu 1996 19 44 CorFactor RE3M CST Limit Line R 228 LIM Vertical polarization 80MHz 1GHz standby 33 G
17. 3P HAMP User Manual Release 1 02 50 dBy W m Title Final Scan P o AV QP x al T T T T T T T T T T T 45 20 in 100 30 MHz Step SUkHz IFBW 120kHz MTimePre Ims DetectPre Pcisp SubRange 5U MlimeFin 1s DetectFin GP 1000 MHz File 493CAPO0 RSC MessStart domenica 09 giu 1996 21 52 CorFactor RESM CST Limit Line R_22B LIM Horizontal polarization 80MHz 1GHz in transmission i dB Title Final Scan P 0 AV QP x im 30 MHz Step 50KkHz IFBW 120kHz MTimePre ms DetectPre Pcisp SubRange 50 MTimeFin 1s DeteciFin OP 1000 MHz File 433CAPVU RSC MessStart domenica 09 giu 1996 22 05 CorFactor REJM CST Limit Line R_22B LIM Vertical polarization 80MHz 1GHz in transmission 34 G3P HAMP User Manual Release 1 02 433MHz Receiver spurious emissions 50 dB W m Title Final Scan P o AV QP 45 40 m 20 15 10 L 5 U 100 30 MHz Step SUkHz IFBW 120kHz MTimePre Ims DetectPre Pcisp SubRange 5U MTimeFin 1s DetectFin GP 1000 MHz File 4HSTPON RASC MessStart domenica 09 00 1996 20 06 Corfactor REIM CST Limit Line R 228 11M Horizontal polarization 80MHz 1GHz Rx mode sa dByvim Title Final Scan P o AV GP x 45 20 15 10 u 100 30 MHZ Step SUktiz IFBW 120kHz MTimePre Ims DetectPre Pcisp SubRange 50 MTimeFin 1s DetectFin QP 1000 MHz File 4JJSTPVO ASC MessStart domenica 09 qiu 1996 19 44 CorFactor REAM CST Limit Line R_220 LIM Ve
18. 433 433 MHz 50 Ohm G3P HAMP 433 S 433 MHz 50 Ohm G3P HAMP 868 868 MHz 915 MHz 50 Ohm G3P HAMP 868 S 868 MHz 915 MHz 50 Ohm G3P HAMP User Manual Release 1 02 5 AMP NETWORK 5 1 General features AMP is a special routing stack born for Lighting control or big building network It s a master slave system where the master asks and the slave answers The multi master performances allow having up to 10 different masters in the network An UNLIMITED number of mesh allows realizing very big networks A high performances routing allows a proper communication even in case of many slaves not working No specific functions must be preview for mesh like router or end points in other competition protocols All the elements of the network are simply SLAVES the mesh routing is completely dynamic The Master elements must have an external microcontroller connected The Slave elements can operate either with an external microcontroller connecter that stand alone No preview network entry element every master can connect dynamically trough every slave This allows working even if the preferred entry element is not working Every master has 4 preferred network entry points Broadcast messages or commands are controlled with AKN for every involved element The goal of AMP is to connect a very large number of elements with a very little messages and rate required 5 2 Working conditions AMP to work properly requires some
19. G3P HAMP User Manual Release 1 02 G3P HAMP User Manual Release 1 02 G3P HAMP User Manual Release 1 02 INDEX 1 RELEASE HISTORY cia a a dai 3 1 1 Released Dai Ed a id 3 1 2 Release 1 02 a caia cena po ka pote PEN RE ta Deka e E TO alos ata 3 242 GENERAL FEATURES ie added Ske koua dva ao to kte a ea kt Njena ia blind vida TAAA dhe kines dhe Mayi ya 4 3 CONTROL SIGNALS e coccion klate into nate la a Za PARKA KD gla U RK Gens dea kt ko ER lis 5 3 1 Control signals with external microcontroller ccceceee cesses eee eee eee eee eee eee eats 5 3 2 Control signals without an external microcontroller aaa kakaa 7 4 ORDER CODES aciendo Cet radia veh dr permet onde wes neds edhe wait wants datan ains 7 Be AMP NETWORK acts cuca ao 8 Bel General features isiksi cos e AA AR WA a AA e 8 5 2 Working conditiON5 A FR aa it A EDE 8 5 3 Address specifications co 8 5 3 1 Address enumeration example 0 kkk kakaa 9 5 3 2 Over mesh FOULING ave Dedinje dio ka a kanji Dr kk e Enio ibi poh pie tii 10 5 3 3 Over mesh alterMatives cas pt gla a all ld lla al la 10 5 4 AMP VS COMPE Mois tartera bart dea kadi 10 5 4 1 Competition 868MHAZ routing ici dias 10 5 4 2 AMP FOUNO ek de centre tem ne e n n e i 11 6 TRANSMISSION FOQt reS fisik aka kisak miki on alka k a ak aj aj L aa L Eka DA E ab ma aaa w 12 6 1 SINGLE CHANNEL and DUAL CHANNELS transmission ecceeeee eee eee eee ee nents eee eaeas 12
20. ND all not used input pins The module can be connected in SMD mode or trough the 2 54mm male strip See order codes In the G3P hardware configuration the digital and radio supply are separated and for best performances must be connected together in the power supply origin point The Vcc range is from 2V to 3 6V Rx and Tx signal are Cmos level and operating in asynchronous mode 8N1 Reset Input pin is the active low module reset The module parameters are set to default Rx Asynchronous serial RX input at 3V Tx Asynchronous serial TX output at 3V Busy Output pin Active high busy signal means that the module is processing the last command Wait this signal to zero before load a command Data Ready Active high output means that the module has received data The transmission of data on the RX pin depends by the state of Data enable Pin Active Output pin that shows the module status High the module is active low the module is sleeping When wake up the module trough the SLEEP pin wait this signal high before send commands G3P HAMP User Manual Release 1 02 Baud O Baud 1 Input baud rate selection VCC VCC 19200 Data out enable Active low input pin Enables the TX pin to transmit the received data Used with Data Ready pin allows to wake up the user micro controller when a message is received When the microcontroller wakes up and is ready set low Data Out Enable pin to it receive data on th
21. RF band power and propagation In this comparison the use the distance between devices as 25mt quite a standard in street lights For both protocols we assume a valid radio range of 200mt 5 4 1 Competition 868MHz routing e A router every 100mt e Over mesh realized with a router in the middle e 3 end devices between a router and another one e A mesh every 4 devices The structure will be like C gt E gt E gt E gt R gt E gt E gt E gt R To communicate to device 50 the routing results are e 7 mesh jumps e Globally 13 different routing ways e Maximum router fault 1 10 G3P HAMP User Manual 5 4 2 AMP routing The structure will be like Step 8 200 25 8 device gt device gt device gt device gt device No pre fixed network entry point To communicate to device 50 the routing results are e 7 mesh jumps e Globally 48 different routing ways e Maximum device fault 7 Compare conditions e Frequency 868MHz e Radio range 200mt e Radio power 10mw e Device distance 25mt Release 1 02 Maximum mesh number 10 15 Unlimited Maximum chain 40 60 elements 32757 elements Master number 1 10 Router position fixed in advance YES NO Mesh routing Fixed in advance Dynamic Jumps to reach device 100 14 27 14 Global routing ways to reach device 100 26 107 Subsequent critical fault i 7 Note 1 Depends by product 2 Depends by protocol
22. ast mode for messages or remote commands Broadcast mode can be changed in every moment before a communication Parameter n ASCII decimal number in the range 0 1 O Broadcast mode disabled Data will reach only the final destination module 1 Broadcast mode enabled Data will reach the final destination module and all modules in the address range between the final one and the bridge used C20 nn Set PWM value R This command can be sent to a stand alone slave in run mode to set the PWM value The master will use the command C31 to send the C20 remote command Parameter nn ASCII decimal number in the range 00 99 00 PWM stop 01 99 new PWM value C21 ns Set Reset remote output R This command can be sent to a stand alone slave in run mode to set a remote output The master will use the command C31 to send the C21 remote command Parameter n ASCII decimal number in the range 1 2 Output number to set or reset Parameter s ASCII decimal number in the range 0 1 0 Reset the output n 1 Set the output n C22 nnnnn Output SPI data R This command can be sent to a stand alone slave in run mode to set a remote output The master will use the command C31 to send the C22 remote command Parameter nnnnn ASCII decimal number SPI 8 bit mode nnnnn in the range 00000 00255 SPI 16 bit mode nnnnn in the range 00000 65535 C23 Read remote I O R This command can be sent to a stand alone slave in run mode to read I O The master will use th
23. ating conditions C10 aabb Set radio channels SP RP Set the radio channels to use and also defines if work in single or dual channel mode Parameter aa First radio channel to use Parameter bb If 00 set the single channel mode channel used will be aa If gt 00 set the dual channel mode the used channels will be aa and bb See the chapter Radio Channels for specifications Cii n Set radio Tx power SP RP Set the radio power in transmission Parameter n ASCII decimal number in the range 0 3 0 10dBm imW 1 2dBm 1 58mW 2 6dBm 3 98mW 3 10dBm 10mW C12 n Set Reset program mode S SP Set the module in program mode or in run mode Parameter n ASCII decimal number in the range 0 1 0 Set run mode 1 Set program mode C13 faaann Set PWM parameters RP This command can be sent to a stand alone slave in program mode to set the PWM operating parameters The master in program mode will use the command C32 to send the C13 remote command Parameter f ASCII decimal number in the range 0 1 Set the PWM frequency 1 100Hz 200Hz 300Hz 400Hz 500Hz 600Hz 700Hz 800Hz 900Hz 1000Hz Parameter aaa ASCII decimal number in the range 000 255 Set the PWM acceleration time This is the time to switch from PWM 0 to 99 PWM different changes will apply a proportional time to generate a constant Av At in the external power supply 000 Acceleration off O OO TON abc Acceleration ab c seconds 255 Acceleration
24. ddress enumeration example The AMP protocol is tough for linear network like street lights In the reality street light have some lateral sub lines for big building the main line is the floor to floor line and the laterals ones are the corridors In this example we have 34 slave devices they will have address from 10 up to 67 In a single line network the addresses will be from 10 to 44 but the lateral connections will increase the total addresses Some device will have 1 address other 2 and some 3 Starting from the starting one with address 10 go on and increase by 1 the address at each device When will be founded a lateral sub net follow that and go back In the picture the way to follow for set addresses Give sequentially the addresses and will be obtained Now set to every device the 1 2 or 3 addresses founded G3P HAMP User Manual Release 1 02 5 3 2 Over mesh routing The over mesh is based on the concept of step The step is the long jump of the data among the devices For example a step value of 10 means that the data will directly jump from address 10 to 20 30 the final jump will be reduced to reach the final destination 5 3 3 Over mesh alternatives In case a device is not working for example 20 the routing will have 9 alternative ways equal step 1 to follow the data to the next jump The next jump also will have other 9 alternatives Longer is the way to reach the destination more will be th
25. dress 1 S P This command can be used ONLY in a master module The BRIDGE address 1 is the first address that the master will use to transmit into the network nnnnn is an ASCII decimal number and is the device address of a slave device CO6 nnnnn Set BRIDGE address 2 S P This command can be used ONLY in a master module The BRIDGE address 2 is the second address that the master will use to transmit into the network in case of bridge address 1 fails nnnnn is an ASCII decimal number and is the device address of a slave device Use this command after C05 Now the master module has 2 bridge addresses CO7 nnnnn Set BRIDGE address 3 S P This command can be used ONLY in a master module The BRIDGE address 3 is the third address that the master will use to transmit into the network in case of bridge address 1 and 2 fail nnnnn is an ASCII decimal number and is the device address of a slave device Use this command after CO5 CO6 Now the master module has 3 bridge addresses CO8 nnnnn Set BRIDGE address 4 S P This command can be used ONLY in a master module The BRIDGE address 4 is the fourth address that the master will use to transmit into the network in case of bridge address 1 2 and 3 fail nnnnn is an ASCII decimal number and is the device address of a slave device Use this command after C05 C06 C07 Now the master module has 4 bridge addresses 14 G3P HAMP User Manual Release 1 02 Parameters Description Oper
26. e serial interface Sleep High active input pin Put the module in the SLEEP HW mode The module wakes up setting this pin low G3P HAMP User Manual Release 1 02 3 2 Control signals without an external microcontroller Reset Input pin is the active low module reset The module parameters are set to default Program Run LED Output pin for an external led active low Normal Status Rx radio data FLASH FLASH PWM Status SPI CE Output pin indicates the PWM status High PWM gt 1 LOW PWM 0 If enabled the alternative functions SPI CE will acts as active low CE for SPI PWM Output pin is the PWM output PWM frequency can be set from 100Hz up to 1000Hz with steps of 100Hz PWM duty can be set from 1 up to 99 with steps of 1 OUPUT 1 SPI CLOCK Output pin is output 1 set or reset with radio commands If enabled SPI acts as SPI CLOCK data valid on rising edge OUPUT 2 SPI DATA Output pin is output 2 set or reset with radio commands If enabled SPI acts as SPI DATA Data is valid at rising edge of SPI CLOCK Output data is MSB LSB INPUT 1 Input pin is input 1 read with a radio command INPUT 2 Input pin is input 2 read with a radio command PROGRAM RUN PUSH BUTTON Input pin Connect an external push button to GND Toggle the module in PROGRAM MODE and in RUN MODE ANALOG INPUT 10 bit S amp H analog input read with a radio command 4 ORDER CODES G3P HAMP
27. e command C31 to send the C23 remote command After received the slave will transmit the I O values in the format Iis I2s 01s O2s nnnn pp CR Iis Input 1 s 0 1 I2s Input 2 s 0 1 Ois Output 1 s 0 1 02s Output 2 s 0 1 nnnn Analog input value nnnn in the range 0000 1023 pp PWM value pp in the range 00 99 C24 nnnnn Remote address substitution R This command can be sent to a stand alone slave in run mode to read I O The master will use the command C31 to send the C24 remote command Useful to change one of the device addresses in case of network reconfiguration The slave will substitute the address active with the new one Parameter nnnnn ASCII decimal number in the range 00010 32767 c30 nnnnn message lt CR gt Tx a massage to a slave S This command can be used only in a master device in run mode Send a message to a slave with an external microcontroller Parameter nnnnn ASCII decimal number in the range 00010 32767 Address of the slave Parameter message message to send max 15 characters terminated by a lt CR gt C31 nnnnnCxx par lt CR gt Tx a remote command to a slave S This command can be used only in a master device in run mode Send a message to a stand alone slave Parameter nnnnn ASCII decimal number in the range 00010 32767 Address of the slave Parameter Cxx par Command and parameters to send terminated by a lt CR gt C32 Cxx par lt CR gt Tx a remote setup command to a slave SP T
28. e mesh alternatives In a linear network of 100 elements addresses from 10 up to 110 the routing to reach the device 105 10 normal jumps will be like e From 10 the entry network point to 110 Master gt 10 gt 20 gt 30 gt 40 gt 50 gt 60 gt 70 gt 80 gt 90 gt 100 gt 105 e The answer from 105 to 10 105 gt 95 gt 85 gt 75 gt 65 gt 55 gt 45 gt 35 gt 25 gt 15 gt 10 gt Master In this communication example the total amount of routing ways will be Step 1 total full step jumps last step In this routing the total amount of routing ways is 86 5 4 AMP vs competition This sub chapter will compare the AMP routing features with the actual standard protocols on the market All the competitors are based on the same concept of a structured network Can be at 2 4GHz like Zig Bee or 868MHz proprietary but the structure idea is the same e One COORDINATOR is the network fix entry point e Many ROUTERS allow the mesh only routers can be realize the mesh every protocol have a maximum mesh number limited e END DEVICES communicate with the COORDINATOR or with a ROUTER but cannot realize a mesh The over mesh is obtained installing in one radio range at least 2 or 3 routers If more then 2 or 3 subsequent routers are fault the chain will be broken The routing alternatives per jump are only 2 or 3 We take as example a linear network of 50 devices and compare between AMP and a structured protocol working at 868MHz with the same
29. ectPre Pcisp SubRange 50 MfTimeFfin 1s DetectFin QP 1000 MHz File B68STPVO ASC MessStart luned 10 giu 1996 16 23 CorFactor RESM CST Limit Line R_22B LIM Vertical polarization 80MHz 1GHz Rx mode 39
30. eeds to strictly respect the syntax No extra characters are allowed There are 4 different conditions to use a command Command condition eS Command available from serial connection in RUN mode e SP Command available from serial connection in PROGRAM mode e R Command available as radio command if the target module is in RUN mode e RP Command available as radio command if the target module is in PROGRAMMING mode 8 1 Commands table SP RP coo nnnnn Load Network Address nnnnn from 00001 to 65535 SP RP C01 nnnnn Load Device address 1 Master 00000 00009 Slave 00010 32767 SP RP C02 nnnnn Load Device address 2 Slave 00010 32767 SP RP C03 nnnnn Load Device address 3 Slave 00010 32767 SP RP C04 nnnnn Load Device address 4 Slave 00010 32767 S SP CO5 nnnnn Load Master bridge address 1 nnnnn from 00010 to 32767 S SP C06 nnnnn Load Master bridge address 2 nnnnn from 00010 to 32767 Set up S SP C07 nnnnn Load Master bridge address 3 nnnnn from 00010 to 32767 S SP C08 nnnnn Load Master bridge address 4 nnnnn from 00010 to 32767 SP RP C10 aabb Set radio channels if bb 00 mono channel aa else dual channels aa and bb SP RP C11 n Set Tx power n 3 10dBm n 2 6dBm n 1 2dBm n 0 10dBm S SP C12 n Set Reset program mode n 1 program mode n 0 run mode RP C13 faaann Set PWM parameters f freq aaa acceleration nn starting percentage RP C14 adcnnnnn Set SPI param
31. er address will increase of two units Use a step double than the increase entity Last device will change address from 16 to 18 so use step 4 or more Start to increase the addresses from the last and proceed up the lower Will be used the command C31 to send the remote command C24 Change address 16 to 18 Master command C3100016C2400018 lt CR gt The addresses sequence now is 10 11 12 13 14 15 x x 18 Change address 15 to 17 Master command C3100015C2400017 lt CR gt The addresses sequence now is 10 11 12 13 14 x x 17 18 Change address 14 to 16 Master command C3100014C2400016 lt CR gt The addresses sequence now is 10 11 12 13 x x 16 17 18 Add address 2 15 to device 13 Master command C3100013C0200015 lt CR gt The addresses sequence now is 10 11 12 13 x 15 16 17 18 Now switch on the new slave 14 9 3 2 Remove a device To remove a device the operations are 1 Switch off the device to remove 2 Using the network change the slave addresses In this case the higher address will decrease of two units Use a step double than the decrease entity Last device will change address from 18 to 16 so use step 4 or more Start to decrease the addresses from the first after the removed one and proceed up the last Will be used the command C31 to send the remote command C24 Remove address 2 15 to device 13 set to 65535 Master command C3100013C0265535 lt CR gt
32. eters a abilitation d 8 16 bit nnnnn starting out data S SP C16 nn Set communication step Use in master module Master S SP C17 n Set reset broadcast mode n 1 broadcast enabled n 0 broadcast disable R C20 nn Set PWM to nn nn 00 99 00 stop PWM R C21 ns Set reset out n s 0 reset s 1 set Radio R C22 nnnnn Out SPI data SPI 8 bit 00000 00255 SPI 16 bit 00000 65535 R C23 Slave I O read Send to master I O and AD values R C24 nnnnn Device address subsitution nnnnn replaces the receiving address S C30 nnnnndd CR Tx to nnnnn message dd CR CR ends the message max len 15 bytes Master S C31 nnnnnCxx data CR Tx to nnnnn command Cxx CR Remote command to slave CR ends SP C32 Cxx data CR Tx R type setup command CR ends command S C45 Store set up S SP C80 n Generate fixed carrier n 1 carrier on n 0 carrier off S SP C85 Send back an 13 G3P HAMP User Manual Release 1 02 8 2 Commands description Operating conditions es Serial command in run mode SP Serial command in program mode after command C121 eR Radio command sent by the master using C31 and received in run mode e RP Radio command sent by the master using C32 and receives in program mode after pushbutton pressed lt CR gt Carriage return character ASCII code 13 decimal OD Hex Parameters Description Operating conditions Coo nnnnn Set NETWORK address SP RP Set the network address nnnnn is an ASCII decimal number in the range 0000
33. his command can be used only in a master device in program mode Send a remote setup command to a stand alone slave in program mode Parameter Cxx par Command and parameters to send terminated by a lt CR gt 16 G3P HAMP User Manual Release 1 02 Parameters Description Operating conditions C45 Store setup in flash S This command can be used only in a device with an external microcontroller and in run mode Store the setup in flash to use at the next power up In a slave device stand alone this action is automatically done at the exit from program mode led off 17 G3P HAMP User Manual Release 1 02 9 AMP USE EXAMPLES The AMP protocol use is very easy The system has e Upto 10 master devices with an external microcontroller connected e Up to 32757 slave devices that can operate either stand alone or with an external microcontroller e A master begins a communication sending a message or a remote command to a slave e A slave devices transmit to a master only after receiving data from the master For maintenance simplicity the stand alone slaves can remotely setup The system can have up to 10 masters but its better activate one master per time A master can communicate using every slave as network bridge this allows for example to stop the main master use a portable master for tests or maintenance works along the line The devices have two operating modes programming mode and run mode Programming mode allows only the
34. icrocontroller and can use the sleep pin if required Connection diagram for 19200 baud If a different baud rate is required change pin 10 and 11 polarization Micro Controller Digital GND Digital VCC if Reset O 3 3v Reset G3P Output Serial Tx Serial Rx Busy Input GND X Baudo Baud 1 Data Enable Sleep HW Sleep control Output PA Radio GND Radio VCC DOORBROPN gt OVOJDONAOPD The slave devices works without an external microcontroller Signals in and out are managed trough radio commands vgc RYCC veo Ls 3 3v LED Digital GND Digital VCC Out Ted PWM status PWM out OUT 1 SPI CLK OUT 2 SPI DATA Input 1 nput Prog Run Analog input PWM status SPI CE CONJDAIRAON Input 1 Input 2 Analog input Radio GND Radio V 28 G3P HAMP User Manual Release 1 02 12 ASSEMBLY The modules allow a connector or smd assembly arith O at Not electrically connected holes JAK Use for mechanic stability 9009999 ww ime a Holes for 2 54mm male strip 20000 A Metalization for manual SMD assembly Metalization for SMD assembly For a proper use some rules must respected 1 Ifthe module is assembled planar with the board under the module any CS connection component power or gr
35. nnnnn eee recovered errors in the routing message sent 9 1 2 1 Transmission to slave 26 successful Master command Action Master serial 26 serial C3000026Stupid lt CR gt Send to 26 message Stupid Tx trough the bridge 10 OK 00010 000 Routing to 26 00000 000 Stupid AK 00026 000 9 1 2 2 Transmission to slave 26 bridge 10 fault Master command Action Master serial 26 serial C3000026Stupid lt CR gt Send to 26 message Stupid Tx trough the bridge 10 10 fails try with 11 OK 00011 001 Routing to 26 00000 001 Stupid AK 00026 000 9 1 2 3 Transmission to slave 26 26 off line Master command Action Master serial 26 serial C3000026Stupid lt CR gt Send to 26 message Stupid Tx trough the bridge 10 OK 00010 000 Routing to 26 26 fails KO 00026 001 9 1 2 4 Transmission to slave 26 16 and 24 fault Master command Action Master serial 26 serial C3000026Stupid lt CR gt Send to 26 message Stupid Tx trough the bridge 10 OK 00010 000 Routing to 15 OK errors 0 Routing to 20 fails errors 1 Routing to 19 OK errors 1 Routing to 24 fails errors 2 Routing to 23 OK errors 2 Routing to 26 OK errors 2 0000 002 Stupid AK 00026 002 20 G3P HAMP User Manual Release 1 02 9 1 2 5 Transmission to slave 26 16 and 24 fault 26 answers Master command Action Master serial 26 serial C3000026Stupid lt CR gt Send to 26 message Stupid Tx trough the b
36. ound plane can be placed Under the module the board CS must be wide 2 Over the module do not place LCDs or other modules that can act as a Faraday shield 3 Place the module near the card border to allow the RF signal to exit outside with the shortest distance possible 4 If a wire antenna is used weld the antenna 17cm 433MHz 8cm Q868MHZ directly on the central point of the SMA holes The wire antenna can be turned if there is not enough space will only be reduced the maximum distance 5 If the module is assembled in SMD mode provide two holes under the module corresponding to the antenna welding point and to the 32kHz oscillator This will guarantee a proper planar contact between the module and the customer PCB 29 G3P HAMP User Manual Release 1 02 12 1 Connector assembly The module is sold WITHOUT connector if a connector is required can be welded by the customer a male 2 54mm strip The module is provided with the holes for the strip and at the same time has the pads for a smd assembly 12 2 Smd assembly Provide the two holes described in precaution point 5 The welding pads are present under the module and also on the border This allow to weld both manually using the border metallization or automatically Physical dimensions 2 ri O __382 Q 0 4445 O E a 2 6510 Bottom view with pads dimensions for SMD assembly 43 81 2 34 38 10 46 23 Top view with holes for the
37. p SubRange 50 MTimeFin 1s DetectFin GP 1000 MHz File B68STPVU ASC MessStart luned 10 giu 1996 16 23 CorFactor REIM CST Limit Line R_27B LIM Vertical polarization 80MHz 1GHz standby 37 G3P HAMP User Manual Release 1 02 dB W m Title Final Scan P o AV QP x 50 AG 100 30 MHz Step 50kHz IFBW 120kHz MTimePre Ims DetectPre Pcisp SubRange 50 MTimeFin 1s DetectFin QP 1000 MHz File 868CAPOU RSC MessStart lunedi 10 giu 1996 19 16 CorFactor RE3M CST Limit Line R_22B L IM Horizontal polarization 80MHz 1GHz in transmission po dB Wim Title Final Scan P o AV OP x 45 35 30 10 hall 100 30 MHz Step 50kH2 IFBW 120kKHz MTimePre ims DetectPre Peisp SubRange 50 MTimeFin 1s DetectFin OP 1000 MHz File BGUCAPVU RSC MessStart lunedi 10 giu 1996 19 14 CorFactor REJM CST Limit Line R 22B LIM Vertical polarization 80MHz 1GHZ in transmission 38 G3P HAMP User Manual Release 1 02 868MHz Receiver spurious emissions 50 dB W m Title Final Scan P o AV QP 45 2 20 100 30 MHz Step SUkHz IFBW 120kHz MTimePre Ims DetectPre Pcisp SubRange 50 MTimeFin 1s DetectFin QP 1000 MHz File 868STPOD ASC MessStart lunedi 10 giu 1996 16 33 CorFactor REJM CST Limit Line R_22B LIM Horizontal polarization 80MHz 1GHz Rx mode sa dByW m Title Final Scan P o AV QP x 45 100 30 MHz Step SUkHz IFBW 120kHz MTimePre Ims Det
38. ridge 10 OK 00010 000 Routing to 15 OK errors 0 Routing to 20 fails errors 1 Routing to 19 OK errors 1 Routing to 24 fails errors 2 Routing to 23 OK errors 2 Routing to 26 OK errors 2 0000 002 Stupid AK 00026 002 C300000You too lt CR gt Routing to 21 OK errors 2 Routing to 16 fails errors 3 Routing to 17 OK errors 3 Routing to 12 OK errors 3 Routing to Bridge 10 OK errors 3 00026 003 You too lt CR gt 9 1 2 6 Transmission to slave 26 16 to 24 fault network broken Master command Action Master serial 26 serial C3000026Stupid lt CR gt Send to 26 message Stupid Tx trough the bridge 10 OK 00010 000 Routing to 15 OK errors 0 Routing to 20 fails errors 1 Routing to 19 fails errors 2 Routing to 18 fails errors 3 Routing to 17 fails errors 4 Routing to 16 fails errors 5 Slave 15 generate error back to master ER 00016 005 9 2 AMP use with stand alone slaves Master operates with an external microcontroller Slaves are stand alone all functions and remote commands concerning PWM SPI I O are available 9 2 1 AMP network configuration The master will be initialized by serial commands The slaves will be initialized by radio commands sent by the master There is not a preview sequence master can be initialized before or after slaves The remote radio slaves setup commands will not use the master network setup The slave setup trough radio commands is a
39. rtical polarization 80MHz 1GHz Rx mode 35 G3P HAMP User Manual 868MHz Band occupation og Boy Tite so gt gt gt r gt rp 20 Final Scan P o AV QP x 15 gera 997 9 868 0 958 1 853 2 868 3 B4 868 5 867 8 MHZ Step kHz IFBW 120kHz MTimePre 0 5s DetectPre Pcisp SubRange 50 MTimeFin 1s DetectFin QP File B68CHIPO RSC MessStart lunedi 10 giu 1996 19 46 CorFactor REJM CST Limit Line R_22B LIM Channel 1 dBpVA Titi gs im E686 852 7 858 7 MHz Final Scan P o AV QP s a SAA YON A en 15 0695 0535 0637 En 3099 a700 9701 869 5 MHZ Step 5kHz IFBW 120kHz MTimePre 0 2s DetectPre Pcisp SubRange 50 MTimeFin 1s Detectrin OP File B68CH5PO RSC MessStart lunedi 10 giu 1996 21 02 CorFactor RE3M CST Limit Line R_22B LIM Channel 5 8702 870 3 870 3 MHz Release 1 02 36 G3P HAMP User Manual Release 1 02 868MHz Transmission spurious emissions sa dB W m l A l l N _ l Title l a Final Scan P o AV QP x 45 2 100 30 MHz Step SUkHz IFBW 120kHz MTimePre Ims DetectPre Pcisp SubRange 5U MTimeFin 1s DetectFin QP 1000 MHz File BG8STPOD RSC MessStart lunedi 10 giu 1996 16 33 CorFactor REJM CST Limit Line R 22B LIM Horizontal polarization 80MHz 1GHz standby 50 dByW m i i Title i Final Scan Pio AY QP x 45 20 m 100 30 MHz Step 5UkHz IFBW 120kHz MTimePre Ims DetectPre Pcis
40. setup commands while run mode allows only communication commands In the examples we ll assume a network like e One master with address 00000 19 slaves with some lateral sub networks see picture Master will use 4 entry points 10 11 12 18 Dual channel mode using channels 04 and 14 Communication step 5 The examples with external microcontrollers show e Messages transmissions e Correct transmissions Recovered error transmissions Unrecovered error transmissions The examples with stand alone modules show PWM SPI I O remote commands e Correct transmissions Broadcast transmissions The errors recovery is the same in both cases The broadcast transmission is the same in both cases 9 1 AMP use with external microcontrollers Both masters and slaves operate with an external microcontroller In this case AMP will route messages so all functions and remote commands concerning PWM SPI I O will not be available 18 G3P HAMP User Manual Release 1 02 9 1 1 AMP network configuration With an external microcontroller every module will be configured by its own microcontroller Initialization differs between masters and slaves 9 1 1 1 Master configuration In the description field commands and parameters are separated by This is to be clearer the real command to send is without commas like in the first field wou pou Send to the master the serial commands C121 C12 1 set program mode C0012345
41. ting low PIN 13 During the Power down mode radio and serial interface arent available and the power consumption drops down to 3 pA 6 3 MODULE TEST To test the first time the G3P module connect to a PC or to a microcontroller Use the C54 command to verify if the module is working e C54The module answers model and firmware release Ex G3P HAMP 868 R101 12 G3P HAMP User Manual 7 PROGRAM MODE and RUN MODE Release 1 02 The AMP module has two different status PROGRAM mode and RUN mode Run mode is the normal communication status In program mode are accepted serial commands or radio commands to set the module or the radio parameters 7 1 Program mode To enter in program mode send the command C121 if an external micro is connected If the module is working stand alone push the button connected to pin 12 The led connected to pin 5 will switch on to indicate the programming mode status In this status the module will use addresses and radio channel reserved This allows to radio set a slave from a master without loose the radio link The set up command will be ignored if the module is not in programming mode To exit from program mode send the command C120 if an external micro is connected If the module is working stand alone push again the button connected to pin 12 The led connected to pin 5 will switch off to indicate the running mode status 8 AMP COMMANDS The commands syntax is case sensitive and n
42. ure range 40 75 C The main AMP communication features include 65536 networks 65536 elements per network Automatic AKN Automatic retry in case of communication error Single channel or multi channel operating Noise filter allows a proper communication even in very noisy fields Simple serial interface commands Enhanced mesh functions AES 128 bit encryption available Multi master operation Slave modules can operate with or without an external microcontroller Special functions and I O available for an efficient lighting control o Two outputs Two inputs Analog input 10 bit SPI output 8 16 bit MSB LSB Programmable PWM output Set up trough radio remote commands e Broadcast messages or commands with AKN control e CE marked and homologated with a wire antenna 17cm long for 433MHz and 8cm long for 868MHz e Improved anti noise digital filter OO 5 00 10 G3P HAMP User Manual Release 1 02 3 CONTROL SIGNALS 3 1 Control signals with external microcontroller Reserved pull down Program run LED PWM status PWM Output 1 Output 2 Input 1 Input 2 Program run push button Analog input Reserved 16 Radio Vec Yo PII per Lavi SPI CE SPI Clock SPI Data Note e Reserved pin 14 must left unconnected e Reserved pin 7 with an external microcontroller must be unconnected e Connect to G
43. uting has finished 1 AK nnnnn 000 Message delivered to slave nnnnn with 000 errors The destination slave will send on its own serial port nnnnn eee message lt CR gt Data from master nnnnn eee recovered errors in the routing message sent 9 2 2 1 PWM value slave 26 Master command Action Master serial 26 C3100026C2033 lt CR gt PWM of 26 33 Tx trough the bridge 10 OK 00010 000 Routing to 26 PWM to 33 AK 00026 000 9 2 2 2 SPI value slave 26 Master command Action Master serial 26 C3100026C2232768 lt CR gt Out 32768 from 26 SPI Tx trough the bridge 10 OK 00010 000 Routing to 26 SPI out 32768 AK 00026 000 23 G3P HAMP User Manual Release 1 02 9 2 2 3 I O set slave 26 Master command Action Master serial 26 C3100026C2110 CR Reset out 1 of 26 no outputs available if SPI enabled Tx trough the bridge 10 OK 00010 000 Routing to 26 Output 1 0 AK 00026 000 9 2 2 4 VO read slave 26 Master command Action Master serial H26 C3100026C23 lt CR gt Read I O of 26 Tx trough the bridge 10 OK 00010 000 Routing to 26 AK 00026 000 Transmits back I O Routing to Master 110 121 010 020 0325 32 Input 1 0 Input 2 1 Out 1 0 Out 2 0 AD 325 PWM 32 9 2 2 5 PWM value to all in broadcast mode 1 Bridge 10 the bridge is the lower address Can be obtained with one command Set the higher address with broadcast mode activated Master command Action Master serial 26 C17
Download Pdf Manuals
Related Search
Related Contents
Manual justificación técnica ACTEPARQ 2008 PDF manual - Ocean Drilling Program Mode d`emploi Sèche-linge à pompe à chaleur Soehnle Style Copyright © All rights reserved.
Failed to retrieve file