PROJECT 32 · GRENOBLE INP – PHELMA · 2025–2026
An empty room. Projectors switched off.
Designing an autonomous infrared remote, from the first captured signal to a custom circuit board inside its enclosure.
Aurélien Capron · Project lead · Electronics & embedded software
Project at a glance
- Context
- Industrial project at Phelma: automatically switching off projectors after occupants leave.
- Timeframe
- March–May 2026
- Team
- With Amaury Simonnot, Corentin Pilleux, Corentin Eletti and Reda Lounis.
- My role
- Project lead: coordination, PCB design, infrared reverse engineering, firmware and integration.
- Technologies
- KiCad · Raspberry Pi Pico 2WH · MicroPython · Arduino · NEC infrared
- Outcome
- Assembled and demonstrated prototype combining occupancy detection, projector-state sensing and infrared control.
On this page
Understanding the need
Preventing devices being left on after meetings
In Phelma’s boardroom, projectors were being left on after occupants departed. The project aims to reduce unnecessary energy use and lamp wear without adding a task for users.
Detect room occupancy, check whether a projector is on, then send the shutdown command: these three functions guide the design.
View requirements and system architecture
Capture, decode, reproduce
Before designing the board, the original remote’s command had to be reproduced. An oscilloscope acquisition and an Arduino test bench identify an NEC frame on a 38 kHz carrier.
Explore decoding and firmware
Code 0x6F905583 is reproduced using 38 kHz PWM. The firmware sends three frames 500 ms apart; a 3-second press enables learning of a new compatible frame.
Design and assemble the electronics
The prototype evolves into a 135 × 130 mm double-sided PCB, designed in KiCad 9 around a Raspberry Pi Pico 2WH. The board brings together 12 V to 5 V power regulation, sensor inputs and two infrared outputs.
From wiring to a custom board
Rotate the board, zoom into the components and explore both sides.
Board pinout and connections
| Connector | MCU pin | Function |
|---|---|---|
| J_VGA1 / J_VGA2 | GPIO3 / GPIO2 | Reads the powered-on state of video projectors 1 and 2. |
| J_Photoresistance1/2 | GPIO26 / GPIO27 · ADC0 / ADC1 | Analog brightness measurement (PGM1201). |
| J_DETECTEUR_MOUVEMENT1 | GPIO16 | Passive infrared motion sensor (SBC-PIR). |
| J_DETECTEUR_PRESENCE1 | GPIO17 | mmWave presence radar (SEN0609). |
| J_CAPTEUR_SONORE1/2 | GPIO20 / GPIO21 | Acoustic envelope and binary threshold (SEN-14262). |
| J_EMETTEUR1 / 2 | GPIO7 / GPIO14 | 38 kHz PWM drive for the 2 IR emitters (GT1087). |
| J_RECEPTEUR1 | GPIO18 | Reception and learning (Sniffer) of IR frames (GT1089). |
| J_Bouton1 | GPIO19 | Button that triggers the learning mode (3 s). |
| RV1 | GPIO28 · ADC2 | 100 kΩ potentiometer: threshold adjustment. |
| J_LED1 / J_LED2 | GPIO0 / GPIO1 | Status LEDs: presence detected and projector powered on. |
Integrate into an enclosure
An initial 3D CAD study precedes the choice of a laser-cut wooden enclosure. Its layout is generated with boxes.py, adapted for cable routing, then manufactured and assembled at the Phelma FabLab.
The selected enclosure measures 14 × 15.5 × 10 cm and houses the board, wiring and prototype interfaces.
Test in context
Check the complete system
Testing combines presence detection, projector status sensing and infrared transmission. The video shows the working prototype; the report details the approach and results.
My role in the project
Project lead for the autonomous remote team: coordination, KiCad PCB design, infrared reverse engineering, firmware and enclosure integration.
With Amaury Simonnot, Corentin Pilleux, Corentin Eletti and Reda Lounis. Supervised by Julien Traveaux, Sophie Cornu and the Phelma FabLab team.