LeLamp Assembly Guide
⏱️ Estimated time: 1–2 hours
🔧 Required tools: Soldering iron, screwdrivers, heat insert tool
📦 Required components: Raspberry Pi, ReSpeaker Hat, speaker, LED Matrix, SD card, servo driver
🔧 Required tools: Soldering iron, screwdrivers, heat insert tool
📦 Required components: Raspberry Pi, ReSpeaker Hat, speaker, LED Matrix, SD card, servo driver
Assembly Overview
LeLamp consists of three main sections that work together to create an expressive robotic lamp:LeLamp Head
Audio & Visual Components
- 4Ω/3W Speaker for audio output
- WS2812B LED Matrix for expressions
- Camera for computer vision
LeLamp Base
Control Electronics
- Raspberry Pi with ReSpeaker Hat
- Motor Driver for servo control
- Power management systems
LeLamp Body
Mechanical Systems
- 5 STS3215 servo motors
- 3D printed structural components
- Precision mechanical assemblies

Pre-Assembly Preparation
Required Materials Checklist
Electronic Components
Electronic Components
- Raspberry Pi 4 (4GB+ recommended)
- ReSpeaker 2-Mics Pi HAT
- Servo driver board
- 4Ω/3W speaker
- WS2812B LED matrix
- Camera module (Pi Camera or USB webcam)
- MicroSD card (32GB+ recommended)
Mechanical Components
Mechanical Components
- 5× STS3215 servos (configured with IDs 1-5)
- All 3D printed parts (supports removed, surfaces cleaned)
- Heat inserts (M2 and M3 sizes)
- Screws and fasteners per BOM
- Servo horns and mounting hardware
Cables and Connectors
Cables and Connectors
- Ethernet cable (for stripping into individual wires)
- USB Type-C cable (Pi to servo driver)
- Female header connectors
- JST 2.0 male connectors
- Heat shrink tubing
- Wire (22-26 AWG, various colors)
Section 1: LeLamp Head Assembly
The head assembly contains the audio and visual components that give LeLamp its expressive capabilities.Prepare the Ethernet Cable
Strip the outer insulation from approximately 50cm of Ethernet cable to expose the 8 individual wires inside.
Solder LED Matrix Connections
Connect the LED matrix following WS2812B wiring standards:

- Connection Diagram
- Soldering Tips
| LED Matrix Pad | Wire Color | Function |
|---|---|---|
| VCC/5V | Green/White | Power supply |
| GND | Orange | Ground reference |
| DIN/Data | Orange/White | Data signal |

Connect Speaker Wiring
Solder the speaker connections:
- Identify speaker polarity (usually marked + and -)
- Solder Blue wire to positive terminal
- Solder Blue/White wire to negative terminal
- Add JST 2.0 male connector to the other end of speaker wires
The JST connector will plug directly into the ReSpeaker Hat’s speaker port, making assembly and disassembly easier.
Install Components in Head Structure
Mount the components in the 3D printed head assembly:
- Position LED matrix according to orientation markings
- Mount speaker with cone facing outward
- Route cables through designated cable management channels
- Secure components with appropriate screws
- Test fit head assembly before final tightening

Section 2: LeLamp Base Assembly
The base contains all control electronics and power management systems.Prepare ReSpeaker Hat
Solder header pins to the ReSpeaker Hat:
- Insert 40-pin header into GPIO holes
- Ensure proper alignment with Pi GPIO layout
- Solder all connections with clean, consistent joints
- Test fit on Raspberry Pi before proceeding

All GPIO pins should be straight, properly aligned, and securely soldered.
Mount Electronics in Base
Install the control electronics in the base structure:
- Component Placement
- Mounting Hardware
- Raspberry Pi: Mount in designated area with access to ports
- Motor Driver: Position for easy USB connection to Pi
- Power connections: Ensure adequate clearance for cables
- Ventilation: Don’t block any ventilation holes

Install ReSpeaker Hat
Mount the ReSpeaker Hat on the Raspberry Pi:
- Align GPIO headers carefully
- Press down evenly to ensure full connection
- Secure with standoffs if provided
- Verify no bent pins or poor connections

Connect Head Wiring to Base
Connect the Ethernet cable from the head to the ReSpeaker Hat:
- Prepare female header connectors on Ethernet wires
- Match wire colors to ReSpeaker Hat pin assignments
- Connect JST speaker connector to speaker port
- Verify all connections against schematic
| Wire Function | ReSpeaker Pin | Connection |
|---|---|---|
| LED 5V | 5V | Female header to 5V pin |
| LED Ground | GND | Female header to GND pin |
| LED Data | GPIO18 | Female header to GPIO18 |
| Speaker | Speaker Port | JST connector |
Section 3: LeLamp Body Assembly
The body assembly provides the mechanical structure and servo mounting for LeLamp’s expressive movement.Reference the OnShape 3D Assembly for detailed component positioning and orientation.
Servo Preparation
Attach Servo Horns
Each STS3215 servo comes with two horns - prepare them correctly:
- Geared Horn (Output Side)
- Alignment Horn (Input Side)
- Location: Side with copper gear visible
- Attachment: Secure firmly with provided screws
- Torque: Tighten to manufacturer specification
- Function: Transmits power to mechanical linkages

Mechanical Assembly
Install Heat Inserts
Install threaded heat inserts in all 3D printed parts:
- M2 Heat Inserts
- M3 Heat Inserts
- Temperature: 200-220°C
- Depth: Flush with surface
- Alignment: Perpendicular to surface
- Cooling: Allow to cool completely before use
Mount Servos in Structure
Install servos in their designated positions:

- Base Yaw Servo (ID: 1): Bottom of base assembly
- Base Pitch Servo (ID: 2): Primary articulation joint
- Elbow Pitch Servo (ID: 3): Mid-body joint
- Wrist Roll Servo (ID: 4): Head rotation mechanism
- Wrist Pitch Servo (ID: 5): Head tilt mechanism
Servo Mounting Guidelines
Servo Mounting Guidelines
- Use appropriate screw length to avoid binding
- Ensure servo cables can move freely
- Verify full range of motion before final tightening
- Check for interference with adjacent components
Cable Management
Cable Management
- Route cables through designated channels
- Avoid sharp bends or pinch points
- Secure cables to prevent snagging
- Leave service loops for maintenance access

Connect Servo Daisy Chain
Wire the servos in sequence for communication:
- Connection Order
- Wire Management
- Start at motor driver output connector
- Connect to Base Yaw servo input
- Chain through each servo in sequence
- End at Wrist Pitch servo (no output connection needed)
If servo wires are too short, extend them by splicing additional wire using proper techniques.
Power System Setup
LeLamp requires two separate power supplies for optimal operation:Servo Power Supply
5V 2A DC Power Supply with DC Plug
- Function: Powers all servo motors
- Connection: DC plug to motor driver power input
- Verification: Check voltage with multimeter before connection
Servo power supply provides stable 5V under load conditions.
Assembly Verification and Testing
Visual Inspection
Perform thorough visual inspection:
- All screws properly tightened
- No loose wires or connections
- Servo cables properly routed
- No interference between moving parts
- Heat inserts properly seated
- All components securely mounted
Mechanical Function Test
Test mechanical operation before powering electronics:
- All joints move freely by hand
- No binding or excessive resistance
- Full range of motion available
- No unusual noises during movement
- Servo horns properly aligned
Final Assembly Integration
Connect All Subsystems
Integrate head, base, and body assemblies:
- Route head cable through body structure
- Connect to base electronics per wiring diagram
- Secure all cable connections
- Verify mechanical clearances
- Test basic functionality
Assembly Completion Checklist
Mechanical Assembly
Mechanical Assembly
- All 3D printed parts properly assembled
- Heat inserts correctly installed and threaded
- Servos mounted in correct positions and orientations
- Full range of motion verified for all joints
- No mechanical interference or binding
- Cable routing clean and secure
Electrical Assembly
Electrical Assembly
- All electronic components properly mounted
- ReSpeaker Hat correctly installed on Pi
- Head components wired and connected to base
- Servo daisy chain properly configured
- Power supplies connected and tested
- No short circuits or wiring errors
System Integration
System Integration
- Head, base, and body properly integrated
- All cable connections secure and accessible
- Power-on test completed successfully
- Basic communication verified
- Ready for software configuration and testing
What You Should Have
At this stage, you should have a complete, mechanically assembled LeLamp with:- Functional mechanical structure with smooth servo operation
- Integrated electronics with proper power and communication
- Connected head assembly with audio and visual components
- Proper cable management throughout the system
Assembly Complete! Your LeLamp hardware is now ready for software configuration and calibration.
Previous: Servo Setup | Next: Raspberry Pi Setup
