Difference between revisions of "Single-color LED"

From Microduino Wiki
Jump to: navigation, search
(Created page with "{| style="width: 800px;" |- | =Case 1:Stars Lamps= ==Outline== Lit a lamp through the graphical. ==Bill of Materials== *Module {|class="wikitable" |- |Module||Number||Functi...")
 
 
Line 15: Line 15:
 
|[[mCookie-Hub]]||1||Sensor adapter
 
|[[mCookie-Hub]]||1||Sensor adapter
 
|-
 
|-
|[[Microduino-led]]||1||Single-color LED
+
|[[Sensor-LED]]||1||Single-color LED
 
|}
 
|}
 
*Other equipment
 
*Other equipment
Line 23: Line 23:
  
 
==Building hardware==
 
==Building hardware==
*Setup 1:Connect the interface on the back of the ColorLED with the digital interface (4) of Hub to be the pin that control the LED, and users can change it freely.  
+
*Setup 1: Connect the interface on the back of the ColorLED with the digital interface (4) of Hub to be the pin that control the LED, and users can change it freely.  
 
[[file:mCookie-led-sensor.JPG|600px|center]]
 
[[file:mCookie-led-sensor.JPG|600px|center]]
*Setup 2:Connect CoreUSB, Hub, and the single-color LED together, and connect them to the computer with USB cable.
+
*Setup 2: Connect CoreUSB, Hub, and the single-color LED together, and connect them to the computer with USB cable.
 
[[file:mCookie-ledtext-pc.JPG|600px|center]]
 
[[file:mCookie-ledtext-pc.JPG|600px|center]]
  
 
==Mixly Programming==
 
==Mixly Programming==
*Step1:Open the Mixly software, and drag the at the “number output”module in “input/output” tab control to theediting area.
+
*Step 1: Open the Mixly software, and drag the at the "number output" module in "input/output" tab control to theediting area.
 
[[file:mixly-led.JPG|800px|center]]
 
[[file:mixly-led.JPG|800px|center]]
*Step2:The introduction of the “number output” module.
+
*Step 2: The introduction of the “number output” module.
 
[[file:mixly-led-ctrl.JPG|600px|center]]
 
[[file:mixly-led-ctrl.JPG|600px|center]]
  
 
==Debugging==
 
==Debugging==
*Step1:Choose the board card('''CoreUSB(32u4)[usb32u416m]''')
+
*Step1: Choose the board card('''CoreUSB(32u4)[usb32u416m]''')
 
[[File:mixly_board.jpg|800px|center]]
 
[[File:mixly_board.jpg|800px|center]]
*Step2:Choose the COM port.
+
*Step2: Choose the COM port.
 
[[File:mixly_COM.jpg|800px|center]]
 
[[File:mixly_COM.jpg|800px|center]]
*Step3:Upload the program.
+
*Step3: Upload the program.
 
[[File:mixly_upload.jpg|800px|center]]
 
[[File:mixly_upload.jpg|800px|center]]
 
*After succeeding, the single-color LED  lights with red color.
 
*After succeeding, the single-color LED  lights with red color.

Latest revision as of 09:40, 13 September 2016

Case 1:Stars Lamps

Outline

Lit a lamp through the graphical.

Bill of Materials

  • Module
Module Number Function
mCookie-CoreUSB 1 Core board
mCookie-Hub 1 Sensor adapter
Sensor-LED 1 Single-color LED
  • Other equipment
    • USB cable*1
    • Sensor cable*1

Building hardware

  • Setup 1: Connect the interface on the back of the ColorLED with the digital interface (4) of Hub to be the pin that control the LED, and users can change it freely.
  • Setup 2: Connect CoreUSB, Hub, and the single-color LED together, and connect them to the computer with USB cable.

Mixly Programming

  • Step 1: Open the Mixly software, and drag the at the "number output" module in "input/output" tab control to theediting area.
  • Step 2: The introduction of the “number output” module.

Debugging

  • Step1: Choose the board card(CoreUSB(32u4)[usb32u416m]
  • Step2: Choose the COM port.
  • Step3: Upload the program.
  • After succeeding, the single-color LED lights with red color.
  • The above is based on being debugged on the computer. After uploading successfully, the code is in the core, and can also use battery box to supply power.
MCookie-BMPin1.jpg
  • Connect the active battery box with the BM module.