Extension board · Sensors and inputs
A receiver for ordinary 38 kHz infrared remote controls. It removes the carrier and gives a clean digital signal that is low while a burst is arriving. Turning that signal into key presses needs a decoder, which the firmware does not have.
| Purpose | Receiving a hand remote for menus or macros with your own decoder. Never for emergency stop or any safety function |
| Receiver | Vishay TSOP38238, 38 kHz carrier |
| Output | Demodulated digital signal through 100 Ω, active low, internal 30 kΩ pull-up |
| Supply | 3.3 V from the socket through a 100 Ω and 4.7 µF filter |
| Indicator | Green LED lit during reception |
| Sockets | Two 10-contact Gadgeteer type X sockets (Samtec SHF-105, 1.27 mm): input and chain |
| Size | 50 × 45 mm, four M3 holes on a 40 × 30 mm pattern |
| Works with | Smoothieboard V2 Prime header GF electrically; no firmware decoder |
| Licence | Open hardware, CERN-OHL-S-2.0 |
Every figure with its basis is in the electrical specifications appendix; hole positions are in the mounting dimensions appendix.
The numbers on the drawing match the list below it. The board is shown from the component side.
1Input socket X IN (J1) — The type X socket to the controller; the signal is on contact 3.
2Chain socket CHAIN (J2) — Passes the unused contacts on.
3Receiver module (U1) — Point its dome towards the remote.
4Supply filter (R1, C1, C2) — Keeps supply noise away from the sensitive receiver.
5Output resistor (R2) — 100 Ω in series with contact 3.
6Indicator (D1, R3) — Lights while the output is low, that is while a signal arrives.
7LED link (JP20) — Closed as delivered; open it to switch the LED off.
8Chain link (JP3) — Open as delivered, keeping the signal off the chain.
9Mounting hole — One of four M3 holes.
Check contact numbering with the power removed before wiring by hand.
| Contact | Signal | Use | Prime header GF |
|---|---|---|---|
| 1 | 3.3 V | Receiver supply | 3.3 V |
| 2 | 5 V | Passed to the chain only | 5 V |
| 3 | IR_OUT | Low during a burst | PB1 |
| 4 to 9 | Passed through | Not used | PJ4, PA4, PG0, PJ3, PG1, PJ2 |
| 10 | GND | Ground | GND |
Give the receiver dome a clear view of where the remote will be used, away from strong lamps.
Plug J1 into header GF.
Power up and aim the remote at the dome.
By design the green LED flickers while the button is held.
| You want | Module | Example |
|---|---|---|
| Decode remote keys | None | No SmoothieV2 infrared decoder exists |
| Check that signals arrive | None | Watch the LED or test point OUT |
There is nothing to add to config.ini. Polled input modules are too slow to decode remote codes, whose pulses last well under a millisecond.
The module contains the photodiode, amplifier, 38 kHz filter and demodulator. Its output rests high and pulls low for the length of each received burst, so the timing of the pulses carries the remote’s code. The supply passes through a resistor and capacitors as the data sheet advises for noisy rails.
Leave JP3 open while the receiver is in use. Open JP20 if the light is unwanted.
| Link | What it does | As delivered |
|---|---|---|
| JP3 | Joins contact 3 to the chain socket | Open |
| JP20 | Powers the indicator LED | Closed |
A further board on CHAIN can use contacts 4 to 9.
| Contact | Signal | On CHAIN |
|---|---|---|
| 1, 2, 10 | Power and ground | Passed on |
| 3 | IR signal | Stopped by open JP3 |
| 4 to 9 | Free | Passed on |
| Symptom | Likely cause | What to check |
|---|---|---|
| LED never flickers | Wrong carrier, flat remote battery, no power or JP20 open | Try another remote; check test points 3.3 V and OUT |
| Short range | Sunlight or strong lamps, dome off axis | Shade the receiver and aim it |
| LED flickers with no remote | Interfering light source | Move away from lamps |
| Controller sees nothing | Wrong pin, or no decoder running | Confirm PB1 and your decoder |
| Light | Meaning |
|---|---|
| Green (D1) | Infrared signal being received |
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | What it is |
|---|---|
| Schematic (PDF) | The circuit diagram |
| Parts list (CSV) | Every component with its value, footprint and part number where one is chosen |
| Board drawing (PNG) | The top view used on this page |
| 3D view, top (PNG) | Rendered from the design files |
| 3D view, angled (PNG) | Rendered from the design files |
For drilling a mounting plate or designing an enclosure. Positions are hole centres, in millimetres, measured from the top-left corner with the board seen from the component side.
| Hole | X (mm) | Y (mm) | Diameter | Use |
|---|---|---|---|---|
| 1 | 5.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 2 | 45.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 3 | 5.00 | 35.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 4 | 45.00 | 35.00 | 3.2 mm, not plated | Mounting, M3 screw |
Every figure is a design value, a calculated or simulated value, or a manufacturer’s data sheet value, as the last column says. A dash means no figure is given.
| Parameter | Applies to | Lower | Nominal | Upper | Basis |
|---|---|---|---|---|---|
| Supply voltage | J1 contact 1 | — | 3.3 V | — | Design; receiver accepts 2.0 to 5.5 V |
| Receiver current | U1 | 0.25 mA | — | 0.45 mA | Vishay data sheet |
| LED current while receiving | D1 | — | 0.3 mA | — | Calculated |
| Carrier frequency | U1 | — | 38 kHz | — | Vishay data sheet |
| Internal pull-up | Output | — | 30 kΩ | — | Vishay data sheet |
| Supply filter drop | R1 | — | 45 mV | — | Simulated |
| Ripple at receiver, 200 mV peak to peak in | U1 supply | — | 0.66 mV | — | Simulated at 100 kHz |
| Part | Limit | Use on this board |
|---|---|---|
| Receiver supply | 2.0 to 5.5 V operating | 3.3 V |
| Capacitors | 10 V and 16 V | 3.3 V |
The supply filter was simulated with ngspice with 100 kHz ripple.
| Result | Simulated value | Limit | Outcome |
|---|---|---|---|
| Ripple at the receiver from 200 mV peak to peak | 663 µV | at most 5 mV | Within |
| Resistor voltage drop | 45 mV | at most 100 mV | Within |
Not simulated: optical reception, range, ambient light rejection and output timing, because no model is available.
The first page of the manufacturer data sheet. Click the page to open the PDF.
See all boards on the extension boards page.