[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-700082-105":59,"doc-detail-700082-en":130,"doc-similar-700082":161},{"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","design-of-a-system-for-driver-drowsiness-detection-and-seat-belt-monitoring-using-raspberry-pi-4-and-arduino-nano","Design of a System for Driver Drowsiness Detection and Seat Belt Monitoring Using Raspberry Pi 4 and Arduino Nano","","This research explores the design of a monitoring system for driver drowsiness and seat belt usage in interprovincial buses, motivated by Peru’s high road-accident burden and the dominant role of human factors. A Raspberry Pi 4 and Arduino Nano architecture stores monitoring data using a conventional camera with MediaPipe for drowsiness detection. Passenger supervision combines commercially available and custom-built sensors, with RS485 communication for data logging for both drivers and passengers. Simulations indicate reliable drowsiness detection under defined conditions and correct sensor operation. The proposed cost and design enable real-world implementation and improved transport safety.",{"@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/design-of-a-system-for-driver-drowsiness-detection-and-seat-belt-monitoring-using-raspberry-pi-4-and-arduino-nano/700082/",{"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/design-of-a-system-for-driver-drowsiness-detection-and-seat-belt-monitoring-using-raspberry-pi-4-and-arduino-nano/700082.png","ImageObject",300,407,{"name":92,"@type":93},"Aria","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-20","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the research address?","Question",{"text":112,"@type":113},"It addresses the safety risks caused by driver fatigue and drowsiness, and by inconsistent seat belt compliance in interprovincial buses.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the system detect driver drowsiness?",{"text":117,"@type":113},"It uses a conventional camera together with MediaPipe to perform non-invasive driver drowsiness detection.",{"name":119,"@type":110,"acceptedAnswer":120},"How is monitoring data stored and communicated?",{"text":121,"@type":113},"RS485 communication is used to store monitoring data related to both the driver and passengers.","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},700082,1794515648,{"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":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":56,"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":129,"read_time":143,"preview_page_count":19,"preview_urls":144},2336464648322,"https://ap-avatar.wpscdn.com/avatar/2200025388227c56fec?_k=1778556882303663488","Article  \nDesign of a System for Driver Drowsiness Detection and Seat Belt Monitoring Using Raspberry Pi 4 and Arduino Nano  \nAnthony Alvarez Oviedo 1,†, Jhojan Felipe Mamani Villanueva 1,†, German Alberto Echaiz Espinoza 2, *,†, Juan Moises Mauricio Villanueva 3,†, Andrés Ortiz Salazar 4,† and Elmer Rolando Llanos Villarreal 5,†  \nAcademic Editor: Yuping He  \nReceived: 8 November 2024  \nRevised: 28 December 2024  \nAccepted: 6 January 2025  \nPublished: 13 January 2025  \nCitation: Alvarez Oviedo, A.; Mamani Villanueva, J.F.; Echaiz Espinoza, G.A.; Villanueva, J.M.M.; Salazar, A.O.; Villarreal, E.R.L. Design of a System for Driver Drowsiness Detection and Seat Belt Monitoring Using Raspberry Pi 4 andArduino Nano. Designs 2025, 9, 11. [https://](https://)[ ](https://)[doi.org/10.3390/designs9010011](doi.org/10.3390/designs9010011)  \n[Copyright:](Copyright:) © 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ([https://creativecommons.org/](https://creativecommons.org/)[ ](https://creativecommons.org/)[licenses/by/4.0/](licenses/by/4.0/)) .  \n1 Professional School of Electronics Engineering, Universidad Nacional de San Agustin de Arequipa, Arequipa 04002, Peru; [aalvarezo@unsa.edu.pe](aalvarezo@unsa.edu.pe) (A.A.O.); [jmamanivill@unsa.edu.pe](jmamanivill@unsa.edu.pe) (J.F.M.V.)  \n2 Department of Electronics Engineering, Universidad Nacional de San Agustin de Arequipa, Arequipa 04002, Peru  \n3 Department of Electrical Engineering, Center for Alternative and Renewable Energies—CEAR, Federal University of Paraíba, João Pessoa 58051-900, PB, Brazil; [jmauricio@cear.ufpb.br](jmauricio@cear.ufpb.br)  \n4 Department of Computer Engineering and Automation, Federal University of Rio Grande do Norte (DCA-UFRN), Natal 59072-970, RN, Brazil; [andres@dca.ufrn.br](andres@dca.ufrn.br)  \n5 Department of Natural Sciences, Mathematics, and Statistics, Federal Rural University of Semi-Arid (DCME-UFERSA), Mossoró 59625-900, RN, Brazil; [elmerllanos@ufersa.edu.br](elmerllanos@ufersa.edu.br)  \n* Correspondence: [gechaiz@unsa.edu.pe](gechaiz@unsa.edu.pe)[ ](gechaiz@unsa.edu.pe)† These authors contributed equally to this work.  \nAbstract: This research explores the design of a system for monitoring driver drowsiness and supervising seat belt usage in interprovincial buses. In Peru, road accidents involving long-distance bus transportation amounted to 5449 in 2022, and the human factor plays a significant role. It is essential to understand how the use of non-invasive sensors for monitoring and supervising passengers and drivers can enhance safety in interprovincial transportation. The objective of this research is to develop a system using a Raspberry Pi 4 and Arduino Nano that allows for the storage of monitoring data. To achieve this, a conventional camera and MediaPipe were used for driver drowsiness detection, while passenger supervision was carried out using a combination of commercially available sensors as well as custom-built sensors. RS485 communication was utilized to store data related to both the driver and passengers. The simulations conducted demonstrate a high level of reliability in detecting driver drowsiness under specific conditions and the correct operation of the sensors for passenger supervision. Therefore, the proposed system is feasible and can be implemented for real-world testing. The implications of this research suggest that the system’s cost is not a barrier to its implementation, thus contributing to improved safety in interprovincial transportation.  \nKeywords: security; raspberry; computer vision; MediaPipe; Arduino Nano; RS485; data collection  \n1. Introduction  \nRoad traffic crashes are a major global health concern, causing approximately 1.19 million deaths annually. Key risk factors contributing to these fatalities include nonuse of safety restraints (seat belts and child restraints","cbCaitbss20NxLoS","https://ap.wps.com/l/cbCaitbss20NxLoS","pdf",20768704,"English","# Introduction\n## Driver drowsiness and safety restraints background\n## Motivation for integrated monitoring solutions","[{\"question\":\"What problem does the research address?\",\"answer\":\"It addresses the safety risks caused by driver fatigue and drowsiness, and by inconsistent seat belt compliance in interprovincial buses.\"},{\"question\":\"How does the system detect driver drowsiness?\",\"answer\":\"It uses a conventional camera together with MediaPipe to perform non-invasive driver drowsiness detection.\"},{\"question\":\"How is monitoring data stored and communicated?\",\"answer\":\"RS485 communication is used to store monitoring data related to both the driver and passengers.\"}]","Design of a System for Driver Drowsiness Detection and Seat Belt Monitoring Using Raspberry Pi 4 and Arduino Nano | PDF",48,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/d328a28c92af17bad5cd467d26826756.webp",983,1390,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/4d9872406ec6cf582051d6de468d3a0d.webp",982,1388,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/6ffae7c4d96409202c2282d6a921324e.webp",981,1387,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/9ea93f375a1e6d5c751efce344c3d2a0.webp",980,1385,{"list":162,"token":66},[163,169,175,181,188,194,200,206,212,218],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":29,"category_name":30,"create_tm":168},720277,"Arduino - Catalog","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024390592/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241659&Signature=nfJPds7SMsPYYVvlwxwr68zM1Tw%3D","arduino-catalog",1795036107,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":34,"category_name":30,"create_tm":174},720348,"Arduino Nano  - Overview - Hardware and I/O Specifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024393373/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241659&Signature=FoWK6BH5V4jSzTpLUqQdY%2FtssLI%3D","arduino-nano-overview-hardware-and-io-specifications",1795036749,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":19,"category_name":30,"create_tm":180},691567,"RAK7393 WisGate Connect Outdoor - Datasheet - Hardware & Specifications Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002679506/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241659&Signature=9XBhTn0Jp%2FvuRWLOz8l562Aqu0c%3D","rak7393-wisgate-connect-outdoor-datasheet-hardware-specifications-overview",1794175104,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":186,"category_name":30,"create_tm":187},43021,"Hacking Electronics Learning Electronics with Arduino and Raspberry Pi","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229796207513/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241659&Signature=Cu3L3guxFAvNUjIfvvKAHAeeaCI%3D","hacking-electronics-learning-electronics-with-arduino-and-raspberry-pi",28,1783376076,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":24,"category_name":30,"create_tm":193},700540,"Hall Magnetic Field Sensor - KY-003 - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012028313/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241659&Signature=KJzF%2Bu2XHZAvGH47LKDeSPjcV4k%3D","hall-magnetic-field-sensor-ky-003-user-guide",1794519263,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":44,"category_name":30,"create_tm":199},670186,"Arduino Nano ESP32 Datasheet - Specifications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988689666/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241659&Signature=9P8r8TNJkaWFr%2F1MtBP%2FcgddMoU%3D","arduino-nano-esp32-datasheet-specifications",1793567535,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":34,"category_name":30,"create_tm":205},720244,"Arduino Nano SKU A000005 - Hardware Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024389986/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241659&Signature=IDBdI5%2B%2FBhQDfYm%2BsJDnpuwEilk%3D","arduino-nano-sku-a000005-hardware-datasheet",1795035951,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":34,"category_name":30,"create_tm":211},720248,"Arduino Nano Product Reference Manual - SKU A000005","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024390015/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241659&Signature=4Ej7NB4P02enVMtIybP2mhTe2es%3D","arduino-nano-product-reference-manual-sku-a000005",1795035958,{"doc_id":213,"doc_title":214,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":24,"category_name":30,"create_tm":217},720253,"Arduino Nano Technical Overview - Pinout, Power, Memory, Communication","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024390057/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241659&Signature=WGBOXXvm7xmxwJ67CCf7uHYHwHA%3D","arduino-nano-technical-overview-pinout-power-memory-communication",1795035966,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":39,"category_name":30,"create_tm":223},720632,"MAX7218 8x8 Dot Matrix Display Module - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024401663/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796241659&Signature=3uTM3TgMgMwaeD2ox8eFsUvzD5k%3D","max7218-8x8-dot-matrix-display-module-user-guide",1795038537]