DESENVOLVIMENTO DE SISTEMA PARA CONTROLE REMOTO DE UM LIBS PORTÁTIL K.S.G. Silva1, A. Fragalli2, M. Campos3, P.R. Villas-Boas3, M. Becker2, S. Crestana3, D.M.B.P. Milori3 'HSDUWDPHQWRGH)tVLFD')8)6&DU5RGRYLD:DVKLQJWRQ/XL]NP6mR&DUORV63 QLQORWK#JPDLOFRP (VFRODGH(QJHQKDULDGH6mR&DUORV((6&863$YHQLGD7UDEDOKDGRU6mR&DUOHQVH 6mR&DUORV63IUDJDOOLDQGUH#JPDLOFRPEHFNHU#VFXVSEU (PEUDSD,QVWUXPHQWDomR5XD;9GH1RYHPEUR6mR&DUORV63PDUFHOREWX#JPDLOFRP SDXOLQRYLOODVERDV#HPEUDSDEUVLOYLRFUHVWDQD#HPEUDSDEUGHERUDPLORUL#HPEUDSDEU Resumo:$DQiOLVHGDFRPSRVLomRTXtPLFDGRVRORpGHIXQGDPHQWDOLPSRUWkQFLDSDUDRHVWXGRGHSUREOHPDVDWXDLV WDLVFRPRRDTXHFLPHQWRJOREDOFiOFXORGHHVWRTXHGHFDUERQRDQiOLVHGHQXWULHQWHVHFRQWDPLQDQWHV$IRUPD SDGUmRGHDQiOLVHGHVRORpUHDOL]DGDDWUDYpVGHFROHWDVDOHDWyULDVGHXPDUHJLmRWRPDQGRDPRVWUDVHPGLYHUVDV SURIXQGLGDGHVHDVHQYLDQGRSDUDXPODERUDWyULRSDUDVHGHWHUPLQDURVHOHPHQWRVXWLOL]DQGRWpFQLFDVDQDOtWLFDV FRPRSRUH[HPSORSRWHQFLRPHWULDWLWXORPHWULDFDORULPHWULD,&3&+1HDEVRUomRDW{PLFD2SUREOHPDpTXH HVVD FDUDFWHUL]DomR GHPDQGD PDLRU WHPSR GHYLGR DR SUHSDUR GH DPRVWUDV EHP FRPR JHUD UHVtGXR TXtPLFR$ HVSHFWURVFRSLDGHHPLVVmRySWLFDFRPSODVPDLQGX]LGRSRUODVHUFRQKHFLGDSHORDFU{QLPR/,%6pXPDWpFQLFD TXHSHUPLWHDYDOLDUHPWHPSRUHDODFRPSRVLomRHOHPHQWDUGHDPRVWUDVGHVyOLGRVOtTXLGRVHJDVHV'HYLGRDR IDWR GR /,%6 VHU XPD HVSHFWURVFRSLD ySWLFD SRVVXL D FDSDFLGDGH GH SRUWDELOLGDGH H DVVLP HIHWXDU PHGLGDV GR solo in situ1HVWHSURMHWRIRLGHVHQYROYLGRXPVLVWHPDSDUDFRQWUROHUHPRWRGHXP/,%6SRUWiWLOXWLOL]DQGRXP PLQLFRPSXWDGRU5DVSEHUU\3LFRQHFWDGRjXPDUHGH:L¿6RIWZDUHVIRUDPGHVHQYROYLGRVHP&H3\WKRQSDUD FRQWUROH GR ODVHU H LQWHUIDFH FRP RV XVXiULRV (P WHVWHV R VLVWHPD FRQVHJXLX PHGLU j GLVWkQFLD XPD SODFD GH DOXPtQLRREWHQGRXPHVSHFWURSURQWRSDUDDQiOLVH&RPDPHOKRULDGRDSDUDWRySWLFRHVSHUDVHID]HUPHGLGDVGH VRORHPFDPSR Palavras-chave/,%6VRORHVSHFWURVFRSLDLQVWUXPHQWDomRDJURQRPLD DEVELOPMENT OF A REMOTE CONTROL SYSTEM FOR PORTABLE LIBS Abstract: $QDO\VLVRIWKHVRLOFKHPLFDOFRPSRVLWLRQLVRIIXQGDPHQWDOLPSRUWDQFHIRUWKHVWXG\RIFXUUHQWLVVXHV VXFKDVFDOFXODWLRQRIFDUERQVWRUDJHQXWULHQWVDQGFRQWDPLQDQWVDQDO\VLV7KHVWDQGDUGPHWKRGIRUVRLODQDO\VLV LV PDGH JHWWLQJ UDQGRP VDPSOHV IURP DQ DUHD DW GLIIHUHQW GHSWKV DQG VHQGLQJ WR D ODERUDWRU\ IRU HOHPHQWDO GHWHUPLQDWLRQ XVLQJ DQDO\WLFDO WHFKQLTXHV OLNH SRWHQWLRPHWU\ WLWUDWLRQ FDORULPHWU\ ,&3 &+1 DQG DWRPLF DEVRUSWLRQ7KHSUREOHPLVWKDWWKL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VXPSURJUDPD QDOLQJXDJHP&SDUDDTXLVLomRGDVPHGLGDV 3DUDRFRQWUROHGRODVHUXWLOL]DPRVXPDGDV*3,2*HQHUDO3XUSRVH,QSXW2XWSXWGLVSRQtYHLVQR5DVSEHUU\3LSDUDDFLRQDUXPUHOrHID]HURGLVSDUR3RUPHLRGDELEOLRWHFD:LULQJ3LLPSOHPHQWDPRVHVVDIXQFLRQDOLGDGHQRQRVVRVRIWZDUHREWHQGRXPVLVWHPDTXHWDQWRDTXLVLFLRQDRVLQDOTXDQWRFRQWURODRODVHUWDOTXDOXP VLVWHPD/,%6GHEDQFDGD 3RU~OWLPRIRLGHVHQYROYLGRXPSURJUDPDHP3\WKRQSDUDVHUH[HFXWDGRWDQWRQRFRPSXWDGRUUHPRWR FKDPDGRGHmódulo clienteTXDQWRQR5DVSEHUU\3LFKDPDGRGHmódulo servidor2PyGXORFOLHQWHSHUJXQWD DRXVXiULRDOJXPDVLQIRUPDo}HVFRPRQRPHGDDPRVWUDQ~PHURGHWLURVHLQWHUYDORGHWHPSRHQWUHWLURVWDLV GDGRVVmRHQYLDGRVSRU:L¿SDUDRPyGXORVHUYLGRUTXHID]DVPHGLGDVGHDFRUGRFRPRVSDUkPHWURVSDVVDGRVH SRU¿PUHWRUQDRVHVSHFWURV(VVHVHVSHFWURVUHFHELGRVVmRDEHUWRVSHORPyGXORFOLHQWHTXHH[LEHDPHGLGDQDWHOD SDUDRXVXiULR8PDPHGLomRHPXPDSODFDGHDOXPtQLRFRPFLQFRWLURVSRGHVHUYLVXDOL]DGDQD)LJXUD )LJXUD0HGLomRHIHWXDGDFRPRVLVWHPD/,%6SRUWiWLO siagro-2014.indb 359 16/12/14 18:30 360 K.S.G. Silva, A. Fragalli, M. Campos, P.R. Villas-Boas, M. Becker, S. Crestana, D.M.B.P. Milori 4. Conclusões 1HVWHWUDEDOKRIRLGHVHQYROYLGDXPDPHWRGRORJLDSDUDDX[LOLDUQDSRUWDELOLGDGHGDWpFQLFD/,%6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