Team:SJTU-BioX-Shanghai/Project/Software
From 2013.igem.org
(Difference between revisions)
(→Start Point) |
Stzlandorle (Talk | contribs) (→Programme) |
||
(2 intermediate revisions not shown) | |||
Line 7: | Line 7: | ||
=Start Point= | =Start Point= | ||
[[image:13SJTU_BB_lumpng.png|220px|right]] | [[image:13SJTU_BB_lumpng.png|220px|right]] | ||
- | For the sack of encapsulating the project in a '''BLACK BOX''', we | + | For the sack of encapsulating the project in a '''BLACK BOX''', we writed a user-friendly interface as the '''Start Point'''. The software provides the orignal inputs for the whole modification system which affects the outputs of a metabolic circle or system. In our project, biological tools and hardwares are encapsulated into a '''BLACK BOX''', which makes users only concern about inputs. The inputs can be generated from '''modelling data, emppirical hypothesis''' and many other ways. Once the values have been transferred to '''The Box''', you can just walk away and wait for the results. Such design embodies the superiority of engineering: '''hommization, serviceability and productibility. ''' |
---- | ---- | ||
[[image:13SJTU_usb-com.png|310px|left]] | [[image:13SJTU_usb-com.png|310px|left]] | ||
=How to Start= | =How to Start= | ||
- | First of all, you must have a PC to run the software. Also, a '''USB-COM line''' is needed, because we use serial | + | First of all, you must have a PC to run the software. Also, a '''USB-COM line''' is needed, because we use serial ports as our communication port. In fact, USB should be in our first place for its universality in most place, but Drivers should be written to apply USB port, which is nearly impossible for us to finish it. In addition, serial ports are widely used in '''PC-MCU communication''' for its easy operation. |
After linking PC with devices, set the serial port as '''one of COM1 to COM5'''. Then, open the programme and wait for inputs. | After linking PC with devices, set the serial port as '''one of COM1 to COM5'''. Then, open the programme and wait for inputs. | ||
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