[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-692128-105":59,"doc-detail-692128-en":130,"doc-similar-692128":157},{"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","jacdac-service-based-prototyping-of-embedded-systems","Jacdac - Service-Based Prototyping of Embedded Systems","","Jacdac presents a service-based approach to prototyping embedded systems that replaces monolithic firmware with independently managed, discoverable services. The work defines a service specification language for embedded devices and pairs each sensor/actuator with a low-cost microcontroller that advertises functionality over an efficient single-wire bus. A separate microcontroller runs the user application as a client of Jacdac services, enabling automated discovery, device substitution, and higher-level programming, monitoring, and debugging. The evaluation reports low-cost performance and experience moving Jacdac to commercial availability.",{"@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/jacdac-service-based-prototyping-of-embedded-systems/692128/",{"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/jacdac-service-based-prototyping-of-embedded-systems/692128.png","ImageObject",300,407,{"name":92,"@type":93},"WHO AM I","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-12","2026-11-08",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does Jacdac address in embedded systems prototyping?","Question",{"text":112,"@type":113},"Jacdac targets the monolithic nature of embedded firmware, where application code and low-level drivers are tightly coupled to static hardware configuration and protocols. It replaces this with a service-based abstraction that supports easier prototyping.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does Jacdac represent sensors and actuators in a system?",{"text":117,"@type":113},"Each sensor/actuator is paired with a low-cost microcontroller that advertises the corresponding services over a low-cost single-wire bus. The user application runs on a separate microcontroller that acts as a client of these services.",{"name":119,"@type":110,"acceptedAnswer":120},"What benefits does the evaluation report for Jacdac?",{"text":121,"@type":113},"The evaluation reports service-based abstraction with low cost and reasonable performance, plus benefits for prototyping: automated discovery of devices and capabilities, substitution of same-service devices, and higher-level programming, monitoring, and debugging.","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},692128,1794179359,{"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":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":26,"preview_page_count":81,"preview_urls":144},10857686687108,"https://eur-avatar.wpscdn.com/avatar/9e0008edd84b319fe0c?x-oss-process=image/resize,m_fixed,w_180,h_180&k=1794290847020028784","Jacdac: Service-Based Prototyping of Embedded Systems  \nTHOMAS BALL, Microsoft, USA PELI DE HALLEUX, Microsoft, USA JAMES DEVINE, Microsoft, UK  \nSTEVE HODGES, Lancaster University, UK MICHAŁ MOSKAL, Microsoft, USA  \nThe traditional approach to programming embedded systems is monolithic: ﬁrmware on a microcontroller contains both application code and the drivers needed to communicate with sensors and actuators, using low-level protocols such as I2C, SPI, and RS232 . In comparison, software development for the cloud has moved to a service-based development and operation paradigm: a service provides a discrete unit of functionality that can be accessed remotely by an application, or other service, but is independently managed and updated.  \nWe propose, design, implement, and evaluate a service-based approach to prototyping embedded systems called Jacdac. Jacdac deﬁnes a service speciﬁcation language, designed especially for embedded systems, along with a host of speciﬁcations for a variety of sensors and actuators. With Jacdac, each sensor/actuator in a system is paired with a low-cost microcontroller that advertises the services that represent the functionality of the underlying hardware over an eﬃcient and low-cost single-wire bus protocol. A separate microcontroller executes the user’s application program, which is a client of the Jacdac services on the bus.  \nOur evaluation shows that Jacdac supports a service-based abstraction for sensors/actuators at low cost and reasonable performance, with many beneﬁts for prototyping: ease of use via the automated discovery of devices and their capabilities, substitution of same-service devices for each other, as well as high-level programming, monitoring, and debugging. We also report on the experience of bringing Jacdac to commercial availability via third-party manufacturers.  \nCCS Concepts: • Computer systems organization → Embedded and cyber-physical systems; Embedded software; Firmware; • Software and its engineering → Embedded software; Abstraction, modeling and modularity.  \nAdditional Key Words and Phrases: embedded systems, services, plug-and-play, microcontrollers  \nACM Reference Format:  \nThomas Ball, Peli de Halleux, James Devine, Steve Hodges, and Michał Moskal. 2024. Jacdac: Service-Based Prototyping of Embedded Systems. Proc. ACM Program. Lang. 8, PLDI, Article 175 (June 2024), 24 pages.  \n[https://doi.org/10.1145/3656405](https://doi.org/10.1145/3656405)  \n1 INTRODUCTION  \nThe traditional approach to programming embedded systems is monolithic: ﬁrmware on a microcontroller unit (MCU) contains both application code and the drivers needed to communicate with sensors, actuators, and other peripherals using low-level protocols such as I2C, SPI, and RS232 [9, 18, 30] . Such protocols were designed to provide a universal interconnect between microcontrollers and their peripherals; they are eﬃcient but are low-level and use static addressing. While  \nAuthors’ addresses: Thomas Ball, [tball@microsoft.com](tball@microsoft.com), Microsoft, USA; Peli de Halleux, [jhalleux@microsoft.com](jhalleux@microsoft.com), Microsoft,  \nUSA; James Devine, Microsoft, UK; Steve Hodges, [steve.hodges@lancaster.ac.uk](steve.hodges@lancaster.ac.uk), Lancaster University, UK; Michał Moskal, [mimoskal@microsoft.com](mimoskal@microsoft.com), Microsoft, USA.  \nThis work is licensed under a Creative Commons Attribution 4 .0 International License.  \n© 2024 Copyright held by the owner/author(s) .  \nACM 2475-1421/2024/6-ART175  \n[https://doi.org/10.1145/3656405](https://doi.org/10.1145/3656405)  \nProc. ACM Program. Lang., Vol. 8, No. PLDI, Article 175 . Publication date: June 2024 .  \n175:2 Thomas Ball, Peli de Halleux, James Devine, Steve Hodges, and Michał Moskal  \n(a) (b)  \nFig. 1. (a) a variety of Jacdac modules: (first row) light sensor, two diﬀerent accelerometers, LED ring module;(second row) bu􀀝on, slider, and relay modules ; (third row) passive hub and servo modules; (b)“night light”system—a BBC mi","cbCairGh5pgnGJFs","https://ap.wps.com/l/cbCairGh5pgnGJFs","pdf",2291995,24,"English","# Introduction\n## Monolithic embedded programming vs service-based development\n## Jacdac approach and architecture\n## Contributions and evaluation overview","[{\"question\":\"What problem does Jacdac address in embedded systems prototyping?\",\"answer\":\"Jacdac targets the monolithic nature of embedded firmware, where application code and low-level drivers are tightly coupled to static hardware configuration and protocols. It replaces this with a service-based abstraction that supports easier prototyping.\"},{\"question\":\"How does Jacdac represent sensors and actuators in a system?\",\"answer\":\"Each sensor/actuator is paired with a low-cost microcontroller that advertises the corresponding services over a low-cost single-wire bus. The user application runs on a separate microcontroller that acts as a client of these services.\"},{\"question\":\"What benefits does the evaluation report for Jacdac?\",\"answer\":\"The evaluation reports service-based abstraction with low cost and reasonable performance, plus benefits for prototyping: automated discovery of devices and capabilities, substitution of same-service devices, and higher-level programming, monitoring, and debugging.\"}]","Jacdac - Service-Based Prototyping of Embedded Systems | PDF",[145,149,153],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/d60a988e24d8fe7ebeb0d5a07d23c557.webp",983,1415,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2f1b0d70afd5d2e75440d03911c3f0de.webp",982,1414,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/c572523275c293d4ddf1117b9a7ca123.webp",981,1412,{"list":158,"token":66},[159,165,171,177,183,189,195,201,208,214],{"doc_id":160,"doc_title":161,"file_type":137,"home_preview_img_url":162,"slug":163,"view_count":19,"category_name":30,"create_tm":164},732122,"PSoC® 3: CY8C38 Family Datasheet - Technology Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031401798/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111459&Signature=UFv9DTNBelqOzRfMIQ55Td8D09s%3D","psoc-3-cy8c38-family-datasheet-technology-overview",1795378433,{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":52,"category_name":30,"create_tm":170},656128,"Raspberry Pi Pico W Pinout - Technical Reference Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974785482/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111459&Signature=YhnLGmq7XzFeu%2FWPifOQvGi4BUQ%3D","raspberry-pi-pico-w-pinout-technical-reference-guide",1792966541,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":19,"category_name":30,"create_tm":176},720343,"ATmega328P Xplained Mini - Preface - Getting Started User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024393313/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111459&Signature=QdssFix54rr8mFza%2Bokd23JZxLs%3D","atmega328p-xplained-mini-preface-getting-started-user-guide",1795036735,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":24,"category_name":30,"create_tm":182},700381,"PSoC™ 6 CY8CPROTO-063-BLE withAIROC™ Bluetooth® LE Prototyping Board - user guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012024943/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111459&Signature=vUgVizMZppgZ0OCIKvw9HEnw2ZE%3D","psoc-6-cy8cproto-063-ble-withairoc-bluetooth-le-prototyping-board-user-guide",1794518475,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":39,"category_name":30,"create_tm":188},561948,"AN857 - Brushless DC Motor Control Made Easy - Application Note","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947785376/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111459&Signature=p5iSyxSxMf6zpgwSK4PzV5Kodaw%3D","an857-brushless-dc-motor-control-made-easy-application-note",1791807333,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":81,"category_name":30,"create_tm":194},720419,"Rust meets cheap bare-metal RISC-V - Speaking today","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024394683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111459&Signature=7rmJd1RkBmdUGgXdB9SP2qugeao%3D","rust-meets-cheap-bare-metal-risc-v-speaking-today",1795037163,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":39,"category_name":30,"create_tm":200},692447,"ESP32-S3-Touch-LCD-1.54 - EN User Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003827576/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111459&Signature=ug3itmQFrRcqFfhKmaYODjDYGDI%3D","esp32-s3-touch-lcd-154-en-user-manual",1794208494,{"doc_id":202,"doc_title":203,"file_type":204,"home_preview_img_url":205,"slug":206,"view_count":29,"category_name":30,"create_tm":207},561830,"Pulser - TMR1 interrupt every 0.5 seconds - quick and dirty program","txt","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947661213/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111459&Signature=JCojKSGilefHZAMcuH8K%2Bjp9rSo%3D","pulser-tmr1-interrupt-every-05-seconds-quick-and-dirty-program",1791807031,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":52,"category_name":30,"create_tm":213},561716,"ATME L APPLICATIONS JOURNAL - Building a RS-232 to USB Bridge Using a AT89C5131 Microcontroller","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947658178/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111459&Signature=29wURB4dRETyaI5N1lNahRHuuU8%3D","atme-l-applications-journal-building-a-rs-232-to-usb-bridge-using-a-at89c5131-microcontroller",1791806722,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":81,"category_name":30,"create_tm":219},720854,"BTT SKR MINI E3 V1.2 User’s Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023681420/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111459&Signature=8MyP%2FzyP0Uc61D7Z6O1jXJyw1yU%3D","btt-skr-mini-e3-v12-users-manual",1795040518]