Team:SJTU-BioX-Shanghai/Project/Luminous device/Control
From 2013.igem.org
(→Software) |
|||
Line 35: | Line 35: | ||
{{Template:12SJTU_part_summary_foot}} | {{Template:12SJTU_part_summary_foot}} | ||
+ | |||
+ | =Software= | ||
+ | |||
+ | Due to the construction of MCU board, we use COM port as communication bridge. The programme was written by C#. In this progamme, we can adjust the light intensity in real time. | ||
+ | |||
+ | [[image:13SJTU_Form.jpg|thumb|250px|left|''Fig.1'' Communication Form]] | ||
+ | |||
+ | At first, choose one port which is connectting with MCU board from the combobox. Then input the value range 1 to 255 in textboxes and click send bottom. After communication, you can interrupt the connection, and LEDs will keep their light intensity. | ||
+ | |||
+ | |||
=PWM= | =PWM= | ||
Pulse-width modulation (PWM) is a commonly used technique for controlling power to inertial[ambiguous] electrical devices. | Pulse-width modulation (PWM) is a commonly used technique for controlling power to inertial[ambiguous] electrical devices. | ||
Line 71: | Line 81: | ||
[[image:13SJTU_Msp.png]] | [[image:13SJTU_Msp.png]] | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
[[image:13SJTU_LED_Chart.jpg|thumb|250px|right|''Fig.2'' Linear relationship between value and light intensity]] | [[image:13SJTU_LED_Chart.jpg|thumb|250px|right|''Fig.2'' Linear relationship between value and light intensity]] | ||
Revision as of 03:41, 28 September 2013
| ||
|