[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-562620-105":59,"doc-detail-562620-en":130,"doc-similar-562620":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","an1321-keeloq-microcontroller-based-transmitter-with-acknowledge-application-note","AN1321 - KEELOQ Microcontroller-Based Transmitter with Acknowledge - Application Note","","AN1321 application note describes the design of a microcontroller-based KEELOQ transmitter that supports receiver acknowledge. The transmitter is implemented on a Microchip PIC16F636 and covers encoding process, encoding hardware, and software module descriptions. The firmware is backwards compatible with an HCS365 dual transmitter via memory map programming and uses the PIC16F636 internal encryption engine to generate hopping codes. Acknowledge uses an MRF49XA transceiver, with packet retry, FSK modulation, and dual transmitter configuration.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/an1321-keeloq-microcontroller-based-transmitter-with-acknowledge-application-note/562620/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/an1321-keeloq-microcontroller-based-transmitter-with-acknowledge-application-note/562620.png","ImageObject",300,407,{"name":92,"@type":93},"OmBimo","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-12","2026-10-12",true,{"@type":102,"interactionType":103,"userInteractionCount":44},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What microcontroller and encryption engine are used for the KEELOQ transmitter?","Question",{"text":112,"@type":113},"The transmitter is implemented on the Microchip PIC16F636, using its internal encryption engine to generate the hopping codes required for transmission.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How is the receiver acknowledge achieved in this design?",{"text":117,"@type":113},"After sending a packet, the transmitter switches to Receive mode and waits for a returning packet using the MRF49XA transceiver. If enabled, it can re-send the packet when no acknowledge is received.",{"name":119,"@type":110,"acceptedAnswer":120},"What controls the two independent transmitter configurations?",{"text":121,"@type":113},"The firmware contains two configurations with separate serial numbers, keys, user values, counters, and seed values, selectable via the SHIFT (S3) input pin. When dual transmitter is disabled, the S3 button acts as a local status request showing the last received status on the LEDs.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},562620,1791858262,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":44,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":52,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":144,"preview_page_count":19,"preview_urls":145},962090893581,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","AN1321  \nKEELOQ® Microcontroller-Based Transmitter  \nwith Acknowledge  \nAuthor: Cristian Toma  \nMicrochip Technology Inc.  \nINTRODUCTION  \nThis application note describes the design of a microcontroller-based KEELOQ® transmitter with receiver acknowledge using the KEELOQ encryption algorithm. This transmitter is implemented on the Microchip PIC16F636 microcontroller. Descriptions of the encoding process, the encoding hardware and description of the software modules are included within this application note. The software was designed to be backwards compatible with an HCS365 dual transmitter in terms of memory map programming. The software used in this implementation makes use of the PIC16F636 internal encryption engine to generate the hopping codes required for transmission. This design can be used to implement a secure system transmitter that has the flexibility to be designed into various types of KEELOQ receiver/decoders. The Acknowledge is achieved by using an MRF49XA transceiver.  \nTRANSMITTER OVERVIEW  \nThe transmitter has the following key features:  \nSecurity  \n• Two programmable 28-bit serial numbers  \n• Two programmable 64-bit encryption keys  \n• Two programmable 32-bit user values  \n• Each transmitter is unique  \n• 64-bit transmission code length  \n• 32-bit hopping code  \nOperation  \n• 2.0-5.5V operation  \n• Four-button inputs  \n• Automatic packet retry feature  \n• Nonvolatile synchronization data  \n• FSK modulation (handled internally by the MRF49XA)  \n• Dual transmitter functionality  \nDUAL TRANSMITTER OPERATION  \nThis firmware contains two transmitter configurations with separate serial numbers, transmitter keys, user values, counters and seed values. This means that the transmitter can be used as two independent systems. The SHIFT (S3) input pin is used to select between transmitter configurations. When the dual transmitter feature is disabled, the button acts as a local status request, displaying the last received status on the LEDs.  \nRECEIVER ACKNOWLEDGE  \nOn any button press, a data packet is sent over the air. The transmitter then goes to Receive mode for a period of time. During this time, the MRF49XA transceiver isin Receive mode and waits for a data packet coming back from the receiver. If no packet is received from the receiver end, then the transmitter has the ability tore-send the data packet (if the feature is enabled) . The Acknowledge indication is done using the two LEDs on the transmitter board.  \nSAMPLE BUTTONS/WAKE-UP  \nUpon power-up, the transmitter verifies the state of the buttons inputs and determines if a button is pressed. If no button press is detected, the transmitter will go to Sleep mode. The transmitter will wake-up whenever a button is pressed. Wake-up is achieved by configuring the input port to generate an interrupt-on-change. The button input values are then placed in the transmission buffer, in the appropriate section.  \nLOAD SYSTEM CONFIGURATION  \nAfter waking up and debouncing the input switches, the firmware will read the system Configuration bytes. All the system Configuration bytes are stored in the EEPROM. Below is the EEPROM mapping for the PIC16F636 transmitter showing the Configuration and data bits stored.  \n© 2010-2011 Microchip Technology Inc. DS01321B-page 1  \nAN1321  \nFIGURE 1: SOFTWARE FLOW DIAGRAM  \nSTART  \nSample Buttons  \nACK Rx Yet?  \nGet Config  \n|  |  |\n| --- | --- |\n| NO |  |\n| NO |  |\n\nIncrement Counter  \nEncrypt  \nTransmit  \nACK Time Out?  \nSleep  \n® KeeLoq  \nYES  \nYES  \nYES  \nNO  \nMax Retry  \nDS01321B-page 2 © 2010-2011 Microchip Technology Inc.  \nAN1321  \nMRF49XA RADIO CONFIGURATION  \nThe radio link parameters in the MRF49xA are set to a default configuration that is adequate for the majority of applications. The baud rate is 9600 bps, using an FSK modulation with deviation of 60 kHz. For a more detailed description on how to setup the MRF49XA, please refer to AN1252, “Interfacing the MRF49XA Transceiver to PIC® Microcontrollers”.  \nThe following consid","cbCaigHmge8iQKYY","https://ap.wps.com/l/cbCaigHmge8iQKYY","pdf",157347,"English","# Introduction\n# Transmitter Overview\n# Dual Transmitter Operation\n# Receiver Acknowledge\n# Sample Buttons/Wake-Up\n# Load System Configuration\n# MRF49XA Radio Configuration\n## EEPROM Mapping for the KEELOQ Transmitter","[{\"question\":\"What microcontroller and encryption engine are used for the KEELOQ transmitter?\",\"answer\":\"The transmitter is implemented on the Microchip PIC16F636, using its internal encryption engine to generate the hopping codes required for transmission.\"},{\"question\":\"How is the receiver acknowledge achieved in this design?\",\"answer\":\"After sending a packet, the transmitter switches to Receive mode and waits for a returning packet using the MRF49XA transceiver. If enabled, it can re-send the packet when no acknowledge is received.\"},{\"question\":\"What controls the two independent transmitter configurations?\",\"answer\":\"The firmware contains two configurations with separate serial numbers, keys, user values, counters, and seed values, selectable via the SHIFT (S3) input pin. When dual transmitter is disabled, the S3 button acts as a local status request showing the last received status on the LEDs.\"}]","AN1321 - KEELOQ Microcontroller-Based Transmitter with Acknowledge - Application Note | PDF",1791809108,25,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/e24e792d1a7eb9c64bd51b918865cee7.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ca6bb3415b77fd14fade16999fe900b5.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/8fbf9a084b77e01ffdc76dd91ab99510.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/cf91e56c99006dcaccd51137b1aa5f6b.webp",980,1268,{"list":163,"token":66},[164,170,177,183,189,195,201,207,213,219],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":52,"category_name":30,"create_tm":169},562625,"KEELOQ® Code Hopping Encoder with UHF ASK/FSK Transmitter - General","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947820454/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=yE%2FRQTvg6ldp9256QTS7MRngaJo%3D","keeloq-code-hopping-encoder-with-uhf-askfsk-transmitter-general",1791809124,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":30,"create_tm":176},562622,"HCS301 - KEELOQ Code Hopping Encoder - Security Features Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947820146/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=CSh8KhMz90fyt2EVE%2Fd4KtLBKoU%3D","hcs301-keeloq-code-hopping-encoder-security-features-overview",14,1791809115,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":52,"category_name":30,"create_tm":182},563050,"TS-530S Service Manual - Specifications - Transceiver Circuit Description","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947848202/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=fqN1Fn5c4HMHErsbfRUpyFbxs28%3D","ts-530s-service-manual-specifications-transceiver-circuit-description",1791810414,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":19,"category_name":30,"create_tm":188},690693,"EX-SFP-10GE-ER - Optical Transceiver Specs - 40Km","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002036783/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=kukHSgbjb%2BKVQtGwFKArWi86bPk%3D","ex-sfp-10ge-er-optical-transceiver-specs-40km",1794169527,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":34,"category_name":30,"create_tm":194},720473,"EN 2.4 GHz NRF24L01 wireless transceiver module - WPI322","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396723/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=KvtV%2FZfA%2FPAEWDot1InZO0kWc%2FE%3D","en-24-ghz-nrf24l01-wireless-transceiver-module-wpi322",1795037478,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":19,"category_name":30,"create_tm":200},690706,"QFX-QSFP-40G-SR4 - Part 740-067442 - 40GBase-SR4 850nm MMF Optics Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002036896/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=62KDgWo2YpIrOfFDDehHPzX%2Bez4%3D","qfx-qsfp-40g-sr4-part-740-067442-40gbase-sr4-850nm-mmf-optics-datasheet",1794169605,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":29,"category_name":30,"create_tm":206},720465,"nRF24L01+PA+LNA 2.4GHz RF Transceiver Module - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024396702/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=KT0VnROiRqcTi9wzkNUs14%2BP8Ys%3D","nrf24l01palna-24ghz-rf-transceiver-module-user-guide",1795037467,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":19,"category_name":30,"create_tm":212},700160,"Sense2GoL 24 GHz Radar Demo Kit User Application Note - BGT24LTR11 - Board version V 1.2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012013772/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=vN58vtOcvn5Dun%2Bukf1V2iC3rlU%3D","sense2gol-24-ghz-radar-demo-kit-user-application-note-bgt24ltr11-board-version-v-12",1794516336,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":14,"category_name":30,"create_tm":218},720332,"Piksi Datasheet - Product Overview and Technical Architecture","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023672283/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=69%2BDZRwzMUTJiHu62PYAB3o2Loo%3D","piksi-datasheet-product-overview-and-technical-architecture",1795036632,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":39,"category_name":30,"create_tm":224},689965,"SFP-1G-SX-C Data Sheet - Product Specifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001891240/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109899&Signature=Hfse327KUUMzDt26SqrTIHs%2FlVY%3D","sfp-1g-sx-c-data-sheet-product-specifications",1794141625]