SUNLU AMS Heater Auto-Vent Controller - Build Guide
This guide will walk you through assembling and soldering the PCB for the SUNLU AMS Heater Auto-Vent Controller.
What You'll Need
Tools
- Soldering iron (temperature-controlled, 300-350°C recommended)
- Solder (60/40 or 63/37 tin-lead, or lead-free SAC305)
- Flux (rosin-based or no-clean flux)
- Wire cutters/flush cutters
- Wire strippers
- Small needle-nose pliers
- Multimeter (for testing continuity)
- Helping hands or PCB holder (optional but recommended)
- Isopropyl alcohol and brush for cleaning flux residue (optional)
Components (Included in DIY Kit)
- 1x Custom PCB (V1.0 or V2.0)
- 1x Seeed XIAO SAMD21 or RP2040 microcontroller
- 1x ADS1115 16-bit ADC module
- 1x ACS758 current sensor module
- 1x 5V feedback servo motor
- 1x 470µF electrolytic capacitor
- 1x Mini illuminated momentary pushbutton (V2.0 only)
- 1x C8 panel mount power inlet
- 1x DC power socket for 5V
- 1x AC power cable with C7 plug
- 1x Data cable with ferrite core (assembled)
- Headers and terminals:
- 2x 7-pin headers (for SAMD21/RP2040)
- 1x 10-pin header (for ADS1115)
- 2x 3-pin 90° right-angle headers (for ACS758)
- 1x 4-pin 90° right-angle header (for servo)
- 1x 2.54mm 2-position screw terminal (for PCB power)
- 1x 5mm 2-position screw terminal (for ACS758)
- Wire leads for 5V socket
Safety First
- Always unplug the dryer before working on the controller
- Work in a well-ventilated area when soldering
- Use eye protection
- Don't touch the soldering iron tip (it's hot!)
- Let components cool before handling
- Keep a fire extinguisher nearby
Assembly Order
It's easiest to solder components in order from shortest to tallest. This allows the PCB to sit flat while soldering.
Step 1: Inspect the PCB
- Examine the PCB for any damage or manufacturing defects
- Identify component placement markings and labels
- Note the orientation markers for polarized components
Step 2: Solder the Screw Terminals
2.54mm Terminal (PCB Power Input)
- Insert the 2.54mm 2-position screw terminal into the PCB
- The terminal openings should face outward from the board
- Flip the PCB and solder both pins
- Ensure good solder joints with shiny, volcano-shaped fillets
5mm Terminal (ACS758 Connection)
- Insert the 5mm 2-position screw terminal
- Orient the terminal openings as marked on the PCB
- Solder both pins from the back
- Trim any excess lead length
Step 3: Solder Pin Headers
XIAO Microcontroller Headers (2x 7-pin)
- Insert both 7-pin headers into the PCB where marked
- Use tape or helping hands to hold them perpendicular
- Solder one pin on each header first
- Check alignment - reheat and adjust if needed
- Solder remaining pins
- Do not install the XIAO yet - it will be inserted after programming
ADS1115 Header (10-pin)
- Insert the 10-pin header into the ADS1115 module first
- Place the ADS1115 with header onto the PCB
- Solder one pin while holding the module flat against the PCB
- Check alignment and solder remaining pins
- The ADS1115 module should now be permanently attached
ACS758 Headers (2x 3-pin 90° right-angle)
- Insert the two 3-pin right-angle headers into the ACS758 module
- The headers should point straight out from the module
- Solder all pins on the ACS758 module side
- Do not attach to PCB yet - the ACS758 will connect after wiring
Servo Header (4-pin 90° right-angle)
- Insert the 4-pin right-angle header into the PCB
- Orient the header so the connector points in the correct direction
- Solder all 4 pins from the back of the PCB
- This header will connect to the servo cable
Step 4: Solder the Capacitor
470µF Electrolytic Capacitor
- Important: Identify the negative lead (shorter leg, marked stripe on body)
- Match the negative lead to the white half-circle marking on the PCB
- Insert the capacitor with correct polarity
- Bend leads slightly to hold it in place
- Solder both leads from the back
- Trim excess lead length with flush cutters
- Double-check polarity - reversing this can damage the capacitor
Step 5: Install Power Connectors
C8 Panel Mount Power Inlet
- Insert the C8 inlet into the marked location on the PCB
- Solder all connection points
- Ensure mechanical stability for repeated plug/unplug cycles
5V DC Power Socket
- Prepare the wire leads (included in kit)
- Strip approximately 3-4mm of insulation from each lead
- Tin the wire ends with solder
- Insert into the socket terminals and solder
- Connect the other ends to the appropriate pads on the PCB
- Observe correct polarity (+ and - markings)
V2.0 Only: Illuminated Pushbutton
- Insert the mini illuminated momentary pushbutton into the PCB
- Note the LED polarity if applicable
- Solder all connection points
- Test button mechanical action
Step 6: Prepare Cable Connections
AC Power Cable
- The AC power cable with C7 plug should be pre-assembled
- Connect to the C8 inlet on the PCB
- Route the other end to your dryer's heater power
Data Cable with Ferrite Core
- The data cable should come pre-assembled
- This connects the servo feedback signal
- Route as needed during final installation
Servo Connection
- Connect the servo cable to the 4-pin right-angle header
- Observe proper orientation (signal, power, ground)
- The servo should have its own connection point
Step 7: ACS758 Current Sensor Wiring
- Mount the ACS758 module in the enclosure (not on PCB)
- Use the 3-pin right-angle headers to connect to the PCB
- Connect power and signal wires between ACS758 and PCB
- Wire the AC power through the ACS758 current sense path
- Ensure proper wire gauge for current capacity (minimum 18 AWG)
Step 8: Inspection and Cleaning
- Visually inspect all solder joints
- Look for cold solder joints (dull, grainy appearance)
- Check for solder bridges between pins
- Verify all pins are soldered
- Use multimeter to check for shorts between power and ground
- Clean flux residue with isopropyl alcohol if desired
- Let the board dry completely
Step 9: Initial Testing (Before Programming)
Continuity Checks
- With power OFF, check continuity between:
- Ground connections
- Power rail connections
- Verify NO continuity between power and ground
- Check all header pins for proper connection
Visual Inspection
- Ensure no loose wires or components
- Verify all polarized components are correctly oriented
- Check that no solder bridges exist
Step 10: Programming the XIAO
Install Arduino IDE and Libraries
- Download Arduino IDE from arduino.cc
- Install SAMD21 or RP2040 board support
- Install required libraries:
- Adafruit_ADS1X15 (for ADS1115)
- Servo library
- FlashStorage (SAMD21) or EEPROM library (RP2040)
Upload Firmware
- Connect XIAO to computer via USB-C
- Open the AutoVent firmware sketch
- Select correct board (XIAO SAMD21 or XIAO RP2040)
- Select correct COM port
- Click Upload
- Wait for upload success message
Insert XIAO into PCB
- After programming, carefully insert the XIAO into the 7-pin headers
- Ensure correct orientation (USB port should face outward)
- Press firmly but gently until seated
- The XIAO should be level with the PCB
Step 11: Power-On Testing
First Power-Up
- Connect 5V power supply (2A minimum recommended)
- Observe the LED indicator
- The LED should illuminate (exact pattern depends on mode)
- Listen for servo movement during initialization
Serial Monitor Testing
- Connect XIAO to computer via USB
- Open Arduino Serial Monitor (115200 baud)
- Observe startup messages
- Verify current sensor readings
- Check for any error messages
Step 12: Calibration
Servo Calibration (Automatic)
- The servo automatically calibrates at startup
- It will move to open and closed positions
- LED will flash during calibration
- Wait for calibration to complete
Current Threshold Learning (Manual)
- Press and hold button for 5+ seconds to enter learning mode
- Follow LED prompts:
- Phase 1: Ensure dryer is OFF, LED flashes fast
- Phase 2: Turn dryer ON (heater + fan), LED flashes fast
- Phase 3: Turn heater OFF (fan only), LED flashes fast
- After completion, LED shows 3 long flashes
- Thresholds are saved to memory
Troubleshooting
LED Not Lighting
- Check capacitor polarity
- Verify power connections
- Check XIAO insertion orientation
- Measure 3.3V at XIAO pins with multimeter
Servo Not Moving
- Verify servo connection to 4-pin header
- Check 5V power supply capacity (minimum 2A)
- Test servo feedback signal with serial monitor
- Ensure servo cable is not damaged
Current Sensor Not Reading
- Verify ACS758 power connections
- Check I2C connections to ADS1115
- Test with serial monitor output
- Ensure AC power is flowing through sensor
ADS1115 Not Found Error
- Check I2C SDA and SCL connections
- Verify ADS1115 module is properly seated
- Check for solder bridges on I2C pins
- Confirm I2C address (default 0x48)
Erratic Readings
- Ensure proper grounding throughout
- Check for loose connections
- Verify ferrite core is installed on data cable
- Check AC power cable routing away from sensitive signals
Component Orientation Reference
Polarized Components
- 470µF Capacitor: Negative lead (shorter, marked stripe) goes to marked pad
- XIAO Microcontroller: USB port should face outward/upward
- ADS1115: Component side faces up, pins insert through PCB
- 5V DC Socket: Observe + and - polarity markings
Connector Orientations
- Screw Terminals: Openings face outward for easy wire access
- Right-Angle Headers: Verify direction matches PCB silkscreen
- Servo Header: Connector should be accessible from enclosure opening
Final Assembly Tips
- Take your time: Rushing leads to mistakes and cold solder joints
- Use adequate flux: Helps solder flow and creates better joints
- Proper temperature: Too hot damages components, too cold creates poor joints
- Clean tip regularly: Wipe soldering iron on wet sponge frequently
- Secure the board: Use helping hands or vise to hold PCB steady
- Test as you go: Check each connection with multimeter before moving on
- Document changes: If you modify anything, write it down
Next Steps
After completing the build:
- Review the User Guide for operation instructions
- Check the Technical Specifications for detailed information
- Install in your 3D printed enclosure
- Mount in your SUNLU AMS dryer
- Run the learning mode to calibrate for your specific dryer
Additional Resources
- Firmware: Available on GitHub (link to be added)
- 3D Print Files: Available on MakerWorld (search "SUNLU AMS Heater AutoVent")
- Schematic: Included with PCB or available online
- Video Build Guide: Coming soon
Support
If you encounter issues during the build:
- Double-check all solder joints and component orientations
- Review the troubleshooting section
- Consult the technical specifications
- Contact support through the shop
Remember: This guide is a starting point. Your specific build may require adjustments based on your PCB version and component variations.