Difference between revisions of "Open Source Smart Rainbow Music Touch Lamp"

From Microduino Wiki
Jump to: navigation, search
 
Line 7: Line 7:
 
*Objective: When someone touch it, the corresponding lamp will light and produce a note.
 
*Objective: When someone touch it, the corresponding lamp will light and produce a note.
 
*Difficulty:Medium
 
*Difficulty:Medium
*Time-consuming: 2hours
+
*Time-consuming: 2 hours
 
*Maker: ray
 
*Maker: ray
 
*Introduction:
 
*Introduction:

Latest revision as of 06:23, 30 September 2016

Language: English  • 中文

Outline

  • Project: Open source smart rainbow music touch lamp
  • Objective: When someone touch it, the corresponding lamp will light and produce a note.
  • Difficulty:Medium
  • Time-consuming: 2 hours
  • Maker: ray
  • Introduction:
    • Use Microduino product module to build a smart rainbow music touch lamp quickly .
    • The system detect whether someone touch it through touching buttons.
    • when someone touch it, there will be a corresponding lamp lights and produces a corresponding note.

Microduino 1.JPG

Bill of Material

  • Microduino Equipment
Module Number Function
Microduino-Core 1 Core board
Microduino-USBTTL 1 Program download
Microduino-Audio 1 Audio play
Microduino-Amplifier 1 Power amplification
Microduino-Sensorhub 1 Connect to the sensor
Microduino-TOUCH 7 Touch the sensor
Microduino-Cube-S1 1 Expansion board
  • Other Equipment
Module Number Function
Micro-USB cable 1 Program download, and power supply
horn 1 Sound production
Nylon screw 4 Module fixation
Nylon nut 4 Module fixation
Nylon screw column 4 Module fixation
Double faced adhesive tape 7 Sensors fixation
Colored light belt 1
Shell 1

Principle of the Experiment

  • Open source smart rainbow music touch lamp is mainly divided into touch monitoring and audio playing two part:
    • Touch detection part: Adopt button-touching sensorMicroduino-TOUCH, which can detect whether someone has touched it.
      • Control part is mainly sound and light control. Light-emitting devices adopt light belts that there are 14 lights in one belt, which can make the rainbow lamps appear beautiful color.
    • Audio playing part:Manage audio files through Microduino-Audio module.
Microduino 2.JPG

Program Download

Programming

  • Overlay Microduino-Core and Microduino-USBTTL together.
    • Connect the Microduino-USBTTL with USB cable ,and prepare to upload the program.
    • Note: Please upload programs before stacking all modules together.
  • Open Arduino IDE for Microduino environment, (reference to set up: AVR Core:Getting started
  • Click[Tool], and confirm that board card(Microduino-Core)processor(Atmega328P@16M,5V) selected correctly, and select the corresponding port number (COMX)
  • Click [File]->[open], browse to the project program address, and click "BluButterflyLight.ino" to open the program.
  • After all these items are correct, click "→" button to download program to the development board.

Store Audio

  • Audio storage methods please refer to the following page: Download audio

Assemble the rainbow touch lamp

  • Step1:
Microduino 3.jpg
Microduino 4.jpg
  • Step3:
Microduino 5.jpg
  • Step4:
    • The corresponding port number of the Touch sensor and lights belt in Microduino-Sensorhub is as shown in the picture.
Microduino 6.JPG
  • Step5:
    • Make the lights belt past through as shown in the picture.
    • Connect the touch sensor in turn as the corresponding order in the above picture and the following picture.
Microduino-7.jpg
  • Step6:
    • Put the permanent seat of the horn on the horn.
    • Then connect the permanent seat and the horn together to the shell.
Microduino-9.jpg
  • Step7:
    • Then assemble the internal structure.
Microduino-10.jpg
  • Step8:
    • Finally, fit the profile, and now the shape of the rainbow lamp is completed.
Microduino-11.jpg

Operating Instruction

  • Then use USB cable to connect the computer and rainbow touch lamp..
  • Touch the upper part of the rainbow, and it will produce a note and the light in the corresponding position will light.
Microduino-12.jpg

video