{"id":19442,"date":"2025-07-07T18:11:35","date_gmt":"2025-07-07T16:11:35","guid":{"rendered":"https:\/\/immune.institute\/?post_type=proyecto&#038;p=19442"},"modified":"2025-10-07T10:48:40","modified_gmt":"2025-10-07T08:48:40","slug":"coche-patrulla-interactivo-con-deteccion-de-proximidad-y-control-remoto","status":"publish","type":"proyectos","link":"https:\/\/immune.institute\/en\/proyectos\/coche-patrulla-interactivo-con-deteccion-de-proximidad-y-control-remoto\/","title":{"rendered":"Interactive police car with proximity detection and remote control"},"content":{"rendered":"<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-f72ede8d wp-block-columns-is-layout-flex\" style=\"margin-top:0;margin-bottom:0\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\">This prototype represents a small-scale police car, built with a cardboard frame and controlled by a Raspberry Pi 4. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The vehicle incorporates six strategically placed LEDs: two red at the rear, two white at the front (simulating headlights), and two blue on the top, which recreate police emergency lights.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"card card-light wp-block-paragraph\"><strong>Qualification<\/strong> <a href=\"https:\/\/immune.institute\/en\/programas\/programacion-informatica-jovenes\/\" target=\"_blank\" rel=\"noreferrer noopener\">Technology after-school clubs<\/a><\/p>\n\n\n\n<p class=\"card card-light wp-block-paragraph\"><strong>Technologies<\/strong> Electronics | Programming <\/p>\n\n\n\n<p class=\"card card-light wp-block-paragraph\"><strong>Tools<\/strong> Raspberry Pi 4 | LCD Screen | HC-SR04 Ultrasonic Sensor | Pygame <\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">How does it work?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At the rear of the car, there is an HC-SR04 ultrasonic sensor that<strong> measure the distance <\/strong>Regarding nearby objects. The system is connected to an application developed in Pygame, from which the various lights can be switched on and audible alarms activated. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Additionally, if the sensor detects that an object is approaching below a defined threshold, <strong>A warning beep activates automatically<\/strong>, simulating a parking security or assistance system.<\/p>\n<\/div>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Project IMMUNE: Interactive police car\" width=\"422\" height=\"750\" src=\"https:\/\/www.youtube.com\/embed\/_sKhI6iG3iI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">Educational purpose <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This project creatively combines hardware and software, using the Raspberry Pi 4 as the control centre to integrate sensors, actuators, and an interactive graphical interface.<\/p>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/immune.institute\/wp-content\/uploads\/IMG_7840-scaled.jpeg\" alt=\"\" class=\"wp-image-19443\"\/><\/figure>","protected":false},"excerpt":{"rendered":"<p>This project is a scale model of an interactive police car, made from cardboard and controlled by a Raspberry Pi 4. It incorporates LEDs to simulate emergency lights, headlights, and taillights, along with an ultrasonic sensor for detecting nearby objects. <\/p>","protected":false},"featured_media":19443,"menu_order":0,"template":"","area":[246],"class_list":["post-19442","proyectos","type-proyectos","status-publish","has-post-thumbnail","hentry","area-young-immuners"],"acf":[],"_links":{"self":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/proyectos\/19442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/proyectos"}],"about":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/types\/proyectos"}],"version-history":[{"count":0,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/proyectos\/19442\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/media\/19443"}],"wp:attachment":[{"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/media?parent=19442"}],"wp:term":[{"taxonomy":"area","embeddable":true,"href":"https:\/\/immune.institute\/en\/wp-json\/wp\/v2\/area?post=19442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}