Skip to content

dragondaud/AnyThink

Repository files navigation

AnyThink mySummer: Mood Lamp Paintings

This repository for AnyThink mySummer: Mood Lamp Paintings
project based on Mood Light That Matches Any Color You Tap on the Art

myMoodlight

Arduino

Requires Arduino IDE and FastLED library installed from Library Manager

The Arduino programming environment, while often referred to as the Arduino language, is essentially C++ with a set of pre-defined functions and libraries designed to simplify interaction with the hardware.

XIAO SAMD21

Project uses XIAO SAMD21 microcontroller, which features an ARM Cortex-M0+ 32bit 48MHz microcontroller with 256KB Flash and 32KB SRAM
Board manager URL: https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json

XIAO SAMD21 pinout

TTP223 Touch Sensors

TTP223 Touch Sensor Top TTP223 Touch Sensor Bottom

Soldering Information

  • Soldering is a technique used in electronics to create a permanent, conductive connection between two or more metal components, such as wires or electronic components on a circuit board.
  • Soldering Iron: This tool heats the joint and melts the solder.
  • Soldering Iron Tip: The tip is the part that transfers heat to the components. Different shapes and sizes are available for various tasks.
  • Solder: A metal alloy, typically a combination of tin and lead or lead-free alternatives like tin and silver/copper.
    • RoHS requires solder to be lead-free.
  • Flux: A cleaning agent that removes oxides and impurities from the metal surfaces, allowing the solder to adhere properly.
    • Flux can be applied as a liquid, paste (tacky flux), or be integrated into the core of the solder wire.
  • The soldering process
    • Preparation: Clean the component leads and the soldering iron tip thoroughly to ensure proper solder adhesion.
    • Tinning: Apply a thin layer of solder to the soldering iron tip and the component leads to improve heat transfer.
    • Heating: Touch the soldering iron tip to both the component lead and the pad or wire simultaneously, heating them to the solder's melting point.
    • Applying Solder: Once the surfaces are hot, touch the solder wire to the heated joint (not directly to the iron) and let it flow smoothly over the connection.
    • Cooling and Inspection: Remove the soldering iron and allow the solder to cool and solidify without disturbing the joint.
      • A well-soldered joint should appear shiny and have a concave or volcano shape (for through-hole components).

Soldering Diagram

Wiring up myMoodlight

  • Connect all TTP223 Touch sensor VCC pins (red) to 3v3 on SAMD21
  • Connect all TTP223 & LED grounds (black) to GND on SAMD21
  • Connect LED strand +5v (red) to 5V on SAMD21
  • Connect LED strand Din (yellow) to Pin 6 on SAMD21
  • Connect Yellow TTP223 I/O (yellow) to Pin0 on SAMD21
  • Connect Violet TTP223 I/O (yellow) to Pin1 on SAMD21
  • Connect Red TTP223 I/O (yellow) to Pin2 on SAMD21
  • Connect Green TTP223 I/O (yellow) to Pin3 on SAMD21
  • Connect Blue TTP223 I/O (yellow) to Pin4 on SAMD21
  • Mark locations for board and sensors on back of frame
  • Connect and route USB cable out of frame
  • Tape down SAMD21 and all TTP223 sensors
  • Route wires so they don't pass over sensors, to avoid interference

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages