CodeX Peripherals Guide

Peripherals Guide

CodeX Peripherals Guide

Every peripheral that plugs into CodeX, what it does, and which curriculum and mission uses it. Print it, project it, or keep it open while your students wire.

🔌 22 Components 📱 CodeX 📚 Brain DeCoded 🚀 Lift-Off with CodeX
📋 Jump to Quick Reference
🔌

Start Here

Peripherals are what turn CodeX from a handheld into a machine that senses and moves. Students plug a component in, write a few lines of Python in CodeSpace, and watch the physical world respond.

They come with the curriculum kits, not with a CodeX on its own. Here is what is in each one.

3 Peripherals
📚

Brain DeCoded with CodeX Kit

Everything needed for the neuroscience missions

  • 8 RGB LED Ring (NeoPixel)
  • 180 Positional Servo
  • Potentiometer
  • Connector Board
  • Jumper Wires
Where they are used: Mission 1, in the two Plug In objectives. The rest of Brain DeCoded runs on the CodeX itself and its radio, so nothing else has to be purchased.
Full Peripherals Set
🚀

Lift-Off with CodeX Kit

The complete set, including the three at left

  • Everything in the Brain DeCoded kit
  • Button, switch, and microswitch
  • Motion, temperature, sound, light, object, and soil moisture sensors
  • 360 continuous servo, 3V relay, and water pump
  • Red and white LEDs, and the divider
  • Breadboard set: mini breadboard, resistors, loose LEDs, and the HC-SR04 ultrasonic sensor
Where they are used: all ten missions of Lift-Off with CodeX. The Quick Reference lists which parts each mission needs.
🏷️

Know Your Parts

Most components arrive on their own small carrier board with a plug, so there is no soldering and very little wiring to get wrong. Students connect a part, run their program, and move on. Nothing is used up by a mission, so one kit teaches year after year. The only things you supply are a cup of water and a little soil for the Lift-Off Mission 9 garden.

Lift-Off Peripherals Kit components, each one labeled
Every plug-in peripheral in the Lift-Off with CodeX kit, labeled. Project this on day one so students learn the names before they start wiring. Brain DeCoded teachers need the NeoPixel ring, the 180 servo, and the potentiometer.

Lift-Off Mission 10 is the exception, and it is deliberate: students stop plugging in finished modules and build a circuit themselves, wiring a four-pin sensor by hand.

Mission 10 breadboard set labeled: 100 ohm resistors, red and amber LEDs, mini breadboard, HC-SR04 ultrasonic sensor, jumper wires
The breadboard set for Lift-Off Mission 10: 100 ohm resistors, red and amber LEDs, the mini breadboard, the HC-SR04 ultrasonic sensor, and jumper wires.
🎛️

Sensors and Inputs

These components send information into CodeX. Some are digital, meaning they report one of two states such as pressed or not pressed. Others are analog, meaning they report a range of values that students read as a number and then decide what to do with. The chips on each card show which curriculum uses it.

ButtonDigital In

A standard momentary push button. It reports pressed only while a finger is holding it down, then goes right back to unpressed. This is the first input most students wire, and it is the one that teaches the difference between a program that waits and a program that checks.

SwitchDigital In

Locks into place when flipped, so it holds its state after the student lets go. That makes it the right choice for anything that should stay on or stay off, like a power control or a setting the program reads once at startup.

PotentiometerAnalog In

A knob students physically turn. Instead of on or off it gives a whole range of values, which makes it the friendliest possible introduction to analog input. Students can see their number change in real time as they turn it. Both curricula use it, so it is in the Brain DeCoded kit and the Lift-Off kit.

Pair it with the divider. Analog components in this kit read through the divider so CodeX sees the full range.
Motion SensorPIR

Detects a warm body moving nearby, the same way a motion-activated porch light or a store alarm does. Students immediately recognize the behavior, which makes it a strong hook for conditionals and for talking about energy conservation.

Give it a moment. PIR sensors need a few seconds to settle after power up, and they respond to movement rather than a still presence. Expect a little trial and error, and treat that as part of the lesson.
MicroswitchDigital In

A small lever switch used as a touch or crash detector. When something bumps the lever, the program knows. In the missions it becomes the sensor that tells a hatch it is fully closed and a lander that it has touched down.

Temperature SensorAnalog In

Reports a raw value that changes with temperature. Because the reading is raw rather than degrees, students have to map it to something meaningful, which is a genuinely useful lesson in how sensor data becomes information.

Reads through the divider. Have students pinch the sensor between two fingers to see the number climb. It is the fastest way to prove the sensor works.
Sound SensorAnalog In

Sensitive to sound intensity, so it detects a clap or a shout rather than recognizing words. Students use it to trigger an alert, and it is a reliable crowd pleaser in a room full of people willing to make noise.

Classroom noise floor matters. A loud room raises the baseline reading. Have students take a quiet reading first and set their threshold above it.
Light SensorAnalog In

Measures how much light is falling on it. Real systems use this for solar panel monitoring and automatic dimming, and that is exactly what students build with it: a panel that finds the brightest direction and follows it.

Bring a flashlight. A phone light gives students a controllable light source instead of relying on the windows.
Object SensorIR reflectance

Pairs an LED that emits infrared light with a phototransistor that detects it. When an object is close enough to bounce that light back, the sensor notices. Students use it to detect an obstacle without touching it.

Surface color changes the range. Dark and matte surfaces reflect less IR than light and glossy ones. That is a great prompt for a quick experiment.
Soil Moisture SensorAnalog In

Reads how much moisture is in the soil around it. This is the sensor that closes the loop in the automatic garden mission: the program decides when the plant is dry and then does something about it.

Reads through the divider. Students can calibrate on dry soil and then wet soil to find their own threshold rather than guessing.
Ultrasonic Distance SensorHC-SR04

Measures distance with sonar. It sends out a pulse of sound and times the echo, which means students are working with the same principle a bat or a submarine uses. It gives a real distance rather than a raw value, so the number means something right away.

Built on the breadboard. This one arrives in Mission 10, once students have the wiring skills to connect a four-pin sensor themselves.
💡

Outputs and Actuators

These components take instructions from CodeX and do something in the physical world. This is where students stop reading numbers and start making things happen, and it is usually the moment a class gets loud in the good way.

LEDsred, white, amber

Light emitting diodes, the very first thing students control. A single LED turning on because of a line of Python is the moment physical computing clicks. They come back again and again as status lights, countdown indicators, and warning lamps. The kit includes red and white LEDs on plug-in boards, plus loose red and amber LEDs in the Mission 10 breadboard set.

LEDs are polarized. They only light in one direction. A dead LED is almost always a backwards LED, so check that before swapping parts.
8 RGB LED RingNeoPixel ring

Eight pixels in a circle, each one individually addressable in any color. Because students control the pixels by index, it is a natural way into loops and lists: one ring makes a status display, a progress meter, or an alert animation.

360 Continuous ServoMotor

Spins continuously in either direction rather than moving to a specific angle. Students control speed and direction, which makes it the right motor for anything that needs to keep turning, like a fan or a conveyor.

Do not force the horn. Turning a servo by hand can strip the gears. Let the program move it.
180 Positional ServoMotor

Moves to a specific angle within a 180 degree range and holds it. Students give it a number and it goes there. It is in both curriculum kits: a Brain DeCoded model that moves with the data, a Lift-Off solar panel that tracks a light source, and a lander leg that deploys on command.

Watch the mechanical limits. Commanding an angle past the end of the range makes the servo buzz and get warm. If students hear buzzing, check the number in their code.
3V RelaySwitch

An electrically controlled switch. CodeX cannot drive a water pump directly, so the relay stands in between: a tiny signal from the program flips a much larger circuit on and off. This is the component that teaches students how a small controller runs big equipment.

Water PumpActuator

A small submersible pump, and the payoff of the automatic garden mission. The soil sensor reads dry, the relay closes, the pump runs, and the plant gets watered. Students build a complete sense-decide-act loop they can watch work.

Plan for water in the room. Keep the reservoir low and away from CodeX, put a towel down, and remind students the pump must stay submerged while it runs.
🔧

Circuit Building Blocks

These parts are not sensors or motors. They are the pieces that hold the rest of the circuit together and make it behave, and they are the ones students are most likely to forget or lose. Point them out early.

Connector BoardIncluded

The small board that gives each peripheral a labeled place to plug in. It comes with both curriculum kits and it is the piece everything else depends on, so it is worth naming out loud on day one rather than treating it as packaging.

Read the label, then plug in. Almost every "my sensor is not working" moment comes down to a part in the wrong labeled spot.
DividerAdapter

A small voltage divider that halves the voltage coming from an analog sensor so CodeX can read the sensor's full range instead of clipping at the top. Any mission with an analog sensor uses it.

The most commonly missed part. If an analog reading is stuck at its maximum or barely moves, the first thing to check is whether the divider is in the circuit.
Mini BreadboardPrototyping

A grid of connected holes that lets students build and test a circuit without soldering. It is where the course graduates from plugging in finished modules to wiring a component pin by pin.

Teach the rows first. Five minutes explaining which holes are connected to each other saves a whole period of mystery circuits.
Jumper WiresWiring

The bundle of colored wires that connects peripherals to the connector board, and the breadboard to CodeX. They come with both curriculum kits, and students use them to make every connection in Lift-Off Mission 10 by hand.

Colors are for humans, not electricity. A red wire and a blue wire behave identically. Teach students to pick a color convention anyway, because it makes their own circuit readable when something goes wrong.
100 Ohm ResistorComponent

Limits the current flowing through part of the circuit so everything runs smoothly and nothing gets more current than it should. Small, easy to lose, and a good first look at why resistance matters.

Keep spares in the box. Resistors are the part most likely to end up on the floor. They are inexpensive and worth having extras of.
📋

Quick Reference: What Each Mission Needs

Use this when you are pulling parts before class. Missions are listed in teaching order.

Brain DeCoded with CodeX

Where What students do Components needed
Mission 1 Plug In 8 RGB LED ring, connector board, jumper wires
Mission 1 Plug In... more! 180 positional servo, potentiometer, connector board, jumper wires

The rest of Brain DeCoded runs on the CodeX itself and its radio, so no other peripherals are needed.

Lift-Off with CodeX

Mission Title Components needed
Mission 1 Welcome to Peripherals Red LED
Mission 2 Lift-Off! Button, switch, LEDs
Mission 3 Conserve Energy! Potentiometer, motion sensor, LEDs, divider
Mission 4 Hatch Lock! Microswitch, 8 RGB LED ring
Mission 5 Alert System! Temperature sensor, sound sensor, LEDs, divider
Mission 6 Life Support Switch, 360 continuous servo
Mission 7 Solar Tracking! Light sensor, 180 positional servo, LEDs, divider
Mission 8 Prepare Lander! Microswitch, object sensor, 8 RGB LED ring, 180 positional servo
Mission 9 Automatic Garden! Soil moisture sensor, 3V relay, water pump, divider, water and soil
Mission 10 Exploring the Surface! Mini breadboard, jumper wires, 100 ohm resistor, LEDs, ultrasonic distance sensor
🧑‍🏫

Before Students Wire Anything

Five habits worth teaching once
  • Power down before changing a circuit. Plug and unplug components with CodeX off. It becomes automatic after a week and it prevents almost every mystery failure.
  • Match the label to the port. The connector board is labeled for a reason. Have students read the label out loud before they plug in.
  • Check for the divider on any analog sensor. This is the single most common reason a sensor reading looks wrong.
  • Read the number before writing the logic. Have students print the raw sensor value and watch it change first. Then they can pick a threshold that actually works in your room instead of copying one.
  • Everything goes back in its slot. The case is labeled. A two minute cleanup routine at the end of class is what keeps a kit usable for years.

🔍When a component seems dead

Work through it in this order before you decide a part has failed:

  • Is CodeX powered and is the program actually running?
  • Is the component fully seated, and in the labeled spot the mission calls for?
  • If it is an LED, is it in backwards? LEDs only light one way.
  • If it is an analog sensor in a Lift-Off mission, is the divider in the circuit?
  • Swap the component with a working group's part. If it works there, the problem is the circuit, not the part.
Tip: Still stuck? Email support@firialabs.com with the curriculum, the mission number, and what the students are seeing, and we will help you sort it out.
🚀

Where to Go Next