Team:SJTU-BioX-Shanghai/Project/Software
From 2013.igem.org
(Difference between revisions)
Stzlandorle (Talk | contribs) (→How to Start) |
Stzlandorle (Talk | contribs) (→Programme) |
||
Line 19: | Line 19: | ||
=Programme= | =Programme= | ||
[[image:13SJTU_UI.jpg|340px|right]] | [[image:13SJTU_UI.jpg|340px|right]] | ||
- | When the UI interface has been launched, there are eight | + | When the UI interface has been launched, there are eight blanks and two buttons on the window. The eight blanks can be filled by number from 0 to 255, which corresponding to '''0x00 to 0xff in HEX'''. Each LED can radiate '''256''' kinds of light intensity, which provides enough choices for adjusting expression of genes. |
- | Then push the send button, the data will be transferred to devices though the '''USB-COM line'''. Once the '''MCU(Microprogrammed Control Unit)''' recieves the data, it | + | Then push the send button, the data will be transferred to devices though the '''USB-COM line'''. Once the '''MCU(Microprogrammed Control Unit)''' recieves the data, it transfroms the value in '''HEX to voltage''' on each output port, which decides the light intensity of each LED. |
- | There is a '''perfect linear relationship''' between value in UI and light intensity with LEDs, the result is | + | There is a '''perfect linear relationship''' between value in UI and light intensity with LEDs, the result is shown in [https://2013.igem.org/Team:SJTU-BioX-Shanghai/Results/Test/Luminous_System#Linear_Relation '''result parts'''] |
private void button1_Click(object sender, EventArgs e) //Push the send button | private void button1_Click(object sender, EventArgs e) //Push the send button | ||
Line 46: | Line 46: | ||
===What is in MCU=== | ===What is in MCU=== | ||
- | MCU part is a special part in our project, we want hide it from users. But for the persuasion of the whole project, we will expain the details.[https://2013.igem.org/Team:SJTU-BioX-Shanghai/Project/Luminous_device/Device#The_Heart-MCU '''see also device'''] | + | MCU part is a special part in our project, and we want to hide it from users. But for the persuasion of the whole project, we will expain the details.[https://2013.igem.org/Team:SJTU-BioX-Shanghai/Project/Luminous_device/Device#The_Heart-MCU '''see also device'''] |
[[image:13SJTU_MCU.jpg|600px|right]] | [[image:13SJTU_MCU.jpg|600px|right]] | ||
- | MCU | + | MCU uses '''PWM(Pulse-width modulation)''' theory to control the light intensity of each LED. The main advantage of PWM is that power loss in the switching devices is very low. When a switch is off there is practically no current; and when it is on, there is almost no voltage drop across the switch. Power loss, being the product of voltage and current, is thus in both cases close to zero. PWM also works well with digital controls, which, because of their on/off nature, can easily set the needed duty cycle. |
'''PWM signal consists of two parts:''' | '''PWM signal consists of two parts:''' |
Latest revision as of 02:52, 29 October 2013