<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://chemwiki.ch.ic.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jp806</id>
	<title>ChemWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://chemwiki.ch.ic.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jp806"/>
	<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/wiki/Special:Contributions/Jp806"/>
	<updated>2026-05-16T16:15:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=MSL:test&amp;diff=478484</id>
		<title>MSL:test</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=MSL:test&amp;diff=478484"/>
		<updated>2015-01-06T11:51:06Z</updated>

		<summary type="html">&lt;p&gt;Jp806: Created page with &amp;quot;kkkkkkiikkkioikkkkoppppikkkikikkik&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;kkkkkkiikkkioikkkkoppppikkkikikkik&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471997</id>
		<title>Measurement Science Lab: Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471997"/>
		<updated>2014-12-13T15:49:22Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* OSX */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== What is a Raspberry Pi? ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi was developed as a small cheap computer to allow programming to be taught to people the world over, as such it has some limitations and is significantly less powerful than your average smart phone. Much like a smart phone the Raspberry Pi B+ uses an [http://en.wikipedia.org/wiki/Raspberry_Pi ARM Processor] and has 512 MB (half that of an iPhone 5S). The Raspberry Pi has been optimised for programming in a terminal (non-graphical) environment, this makes it ideal for building a spectrometer and adequate for basic web browsing. It will, however, freeze and crash if you try to load heavy websites. If the Pi crashes you will probably loose some data, corrupt the SD card and potential break the Pi. &#039;&#039;&#039;Please do not visit Facebook, BBC News or YouTube on you Pi&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Your Raspberry Pi is running Debian Squeeze a Linux distribution with a kernel optimised for the Raspberry Pi architecture. Some commands that you run require super user permissions, your accounts have permission to run these scripts as a supeuser. If you recieve a message telling you &#039;root&#039; or &#039;super user&#039; permissions are required and you do not have them then please speak to a demonstrator. The root file system is held on a server and mounts via NFS at boot on a read-only basis, you will not be able to modify the root-fs in anyway so please do not attempt to. Please do not change the password on your Raspberry Pi, all activities are logged and the system runs a consistency check each evening so any attempt to modify the OS will be flagged and your Raspberry Pi will be removed from your group.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== How to Set-Up Your Pi ==&lt;br /&gt;
&lt;br /&gt;
When you boot your Raspberry Pi a large amount of information will be displayed as the system loads up, this looks quite different to a Windows or Mac booting but is perfectly normal. If the boot process hangs or sticks at one particular stage then please consult a demonstrator as they should be able to identify the problem and get the Raspberry Pi to proceed with its boot processes. To interupt the boot and restart the Raspberry Pi you just need to use &amp;lt;code&amp;gt;Ctrl-Alt-Delete&amp;lt;/code&amp;gt;. After your Pi has booted successfully you will see a screen that looks something like this:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:RaspberryPi1.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To login in you need to use the username that your Raspberry Pi is labelled with and the password &amp;lt;code&amp;gt;password&amp;lt;/code&amp;gt;, please note that nothing is displayed as you type your password. On logging in you will be in a terminal environment, to start the desktop you need to, enter the command &amp;lt;code&amp;gt;startx&amp;lt;/code&amp;gt; followed by return:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The screen will then go blank and the Pi will think for a while before loading a desktop environment. When the desktop environment has loaded go to the start menu (bottom left corner) and select Accessories &amp;gt; LXTerminal.  &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Running the Experiment ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi does not have its only analogue in channel and so we must use an ADC chip, this has been wired to your Pi and there will be two wires with metal pins on the end that are free. Connect the pin that is labeled A0 to the black connection and pin labeled A1 to the red connection of your diode. &#039;&#039;&#039;Please do not open your Pi and alter the connections or change the connections on the ADC chip.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After connecting your Pi to the ADC you can begin recording spectra, we have written scripts that will do this for you. We suggest that you use these scripts at least and first and only modify them if you are comfortable with the Linux command line. To collect the data run the command &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; and follow the on screen prompts. There are a few things to note:&lt;br /&gt;
&lt;br /&gt;
#     If you do anything wrong and want to start again you can type Ctrl-C to stop the script&lt;br /&gt;
&lt;br /&gt;
#     Filenames must not contain spaces the ext4 file system on the Pi doesn’t support this. It is a good rule in general as any most non-Windows (i.e. useful) file system will do not support spaces in file names.&lt;br /&gt;
&lt;br /&gt;
#     Error messages are usually quite useful please read them and see if it is something simple – if the message says anything about the ADC chip then please consult a demonstrator who can check the chip wiring.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
== Collecting your Data ==&lt;br /&gt;
&lt;br /&gt;
The data that you collect using the ADC on the Raspberry Pi is automatically copied into a network drive. To access this data you need to mount the network drive, you must be on the College network (Wifi or LAN) or connected via a VPN connection to do this. The instructions are different depending on the OS that you use:&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
These instructions are for Windows 7 but should work for all Windows versions since XP.&lt;br /&gt;
&lt;br /&gt;
#Go to Start&amp;gt;Computer and select “Map Network Drive” and a new dialogue box will open.&lt;br /&gt;
#The share name which is entered in the Folder box is //155.198.225.243. Then select “Connect using different credentials” this will open another dialogue box.&lt;br /&gt;
#&#039;&#039;&#039;username&#039;&#039;&#039; is &#039;&#039;students&#039;&#039; and the &#039;&#039;&#039;password&#039;&#039;&#039; is &#039;&#039;briscoe&#039;&#039;.&lt;br /&gt;
#Click on Finish and the network drive will mount so that you can access your data from the appropriate pi# directory.&lt;br /&gt;
&lt;br /&gt;
===OSX===&lt;br /&gt;
#Open Finder and press ⌘-K a new window will open that is titled “Connect to Server”&lt;br /&gt;
#In the server address box enter smb://155.198.225.243 you will then be prompted for a username and password. &lt;br /&gt;
#&#039;&#039;&#039;username&#039;&#039;&#039; is &#039;&#039;students&#039;&#039; and the &#039;&#039;&#039;password&#039;&#039;&#039; is &#039;&#039;briscoe&#039;&#039;.&lt;br /&gt;
#This will then mount the network drive and you can access your data by clicking on the approriate pi# directory.           &lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Common Linux Commands ==&lt;br /&gt;
&lt;br /&gt;
All Linux distributions are based on the CLI (command line interface) this is accessed via the terminal and forms the core of the operating system. A guide to the most commonly used Linux commands is [http://www.fromdev.com/2013/06/linux-basic-commands.html here]. The only additional command that you have on your Raspberry Pi is midnight command, this provides a semi-graphical glibc based file explorer, to access mc you need to use the command &amp;lt;code&amp;gt;mc&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ mc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
[[File:MCEg.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
F10&lt;br /&gt;
pi#@raspberrypi:~$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
# Raspberry Pi stalls at DHCP/name-server configuration on boot- Try Ctrl-Alt-Delete if the problem persists speak to a demonstrator who will be able to check the NFS server for you.&lt;br /&gt;
# I need to install some new packages - The Raspberry Pis use a centrally configured root file system that is mounted read only, if you really want to install a package you will need to download the source and compile the package locally. If you think a package is missing and very useful then please suggest it to Dr. Edel who will look into installing it.&lt;br /&gt;
# Raspberry Pi is frozen - Note that the Raspberry Pis will be slower than you are used to. If it is a real problem then the quickest option here is to remove the power lead, wait 5 seconds then re-connect it, if the problem persists speak to a demonstrate. &lt;br /&gt;
# The Raspberry Pi complains about a kernel issue - Ask a demonstrator to change the SD card in your Raspberry Pi and reboot. &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Editing the Scripts (Optional) ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not spend too much time attempting this and only try if you are comfortable with bash scripting.&#039;&#039;&#039;&lt;br /&gt;
Most of the scripts that are used to collect and analyse the data are written in Python and are available as iPython notebooks. You are welcome to modify these scripts and they can be found in the ‘scripts’ directory of your Pi’s home directory. Please make sure you copy the original script using the command cp filename.py filename.py.old before you begin to edit it so you always have a fall back in the event of it not working!&lt;br /&gt;
&lt;br /&gt;
If you are confident with Python and shell scripting you can edit the &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script. The local copy of this script can be found in the &amp;lt;code&amp;gt;scripts/collect-data&amp;lt;/code&amp;gt; directory. To run the modified script you will need to use &amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; and then run the script locally. The ADC chip communicates with Pi via Python code that can be found in &amp;lt;code&amp;gt;scripts/continuous_read_example.py&amp;lt;/code&amp;gt;. This is an advanced script and it is not recommended that you edit if you do wish to edit it you will also need to make sure your modified &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script points to the modified &amp;lt;code&amp;gt;continuous_read.py&amp;lt;/code&amp;gt; script. You will need to be given superuser permissions to run the modified script, please ask a demonstrator who will check your script and then assign these permissions to your account.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471993</id>
		<title>Measurement Science Lab: Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471993"/>
		<updated>2014-12-13T15:48:06Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Collecting your Data */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== What is a Raspberry Pi? ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi was developed as a small cheap computer to allow programming to be taught to people the world over, as such it has some limitations and is significantly less powerful than your average smart phone. Much like a smart phone the Raspberry Pi B+ uses an [http://en.wikipedia.org/wiki/Raspberry_Pi ARM Processor] and has 512 MB (half that of an iPhone 5S). The Raspberry Pi has been optimised for programming in a terminal (non-graphical) environment, this makes it ideal for building a spectrometer and adequate for basic web browsing. It will, however, freeze and crash if you try to load heavy websites. If the Pi crashes you will probably loose some data, corrupt the SD card and potential break the Pi. &#039;&#039;&#039;Please do not visit Facebook, BBC News or YouTube on you Pi&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Your Raspberry Pi is running Debian Squeeze a Linux distribution with a kernel optimised for the Raspberry Pi architecture. Some commands that you run require super user permissions, your accounts have permission to run these scripts as a supeuser. If you recieve a message telling you &#039;root&#039; or &#039;super user&#039; permissions are required and you do not have them then please speak to a demonstrator. The root file system is held on a server and mounts via NFS at boot on a read-only basis, you will not be able to modify the root-fs in anyway so please do not attempt to. Please do not change the password on your Raspberry Pi, all activities are logged and the system runs a consistency check each evening so any attempt to modify the OS will be flagged and your Raspberry Pi will be removed from your group.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== How to Set-Up Your Pi ==&lt;br /&gt;
&lt;br /&gt;
When you boot your Raspberry Pi a large amount of information will be displayed as the system loads up, this looks quite different to a Windows or Mac booting but is perfectly normal. If the boot process hangs or sticks at one particular stage then please consult a demonstrator as they should be able to identify the problem and get the Raspberry Pi to proceed with its boot processes. To interupt the boot and restart the Raspberry Pi you just need to use &amp;lt;code&amp;gt;Ctrl-Alt-Delete&amp;lt;/code&amp;gt;. After your Pi has booted successfully you will see a screen that looks something like this:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:RaspberryPi1.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To login in you need to use the username that your Raspberry Pi is labelled with and the password &amp;lt;code&amp;gt;password&amp;lt;/code&amp;gt;, please note that nothing is displayed as you type your password. On logging in you will be in a terminal environment, to start the desktop you need to, enter the command &amp;lt;code&amp;gt;startx&amp;lt;/code&amp;gt; followed by return:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The screen will then go blank and the Pi will think for a while before loading a desktop environment. When the desktop environment has loaded go to the start menu (bottom left corner) and select Accessories &amp;gt; LXTerminal.  &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Running the Experiment ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi does not have its only analogue in channel and so we must use an ADC chip, this has been wired to your Pi and there will be two wires with metal pins on the end that are free. Connect the pin that is labeled A0 to the black connection and pin labeled A1 to the red connection of your diode. &#039;&#039;&#039;Please do not open your Pi and alter the connections or change the connections on the ADC chip.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After connecting your Pi to the ADC you can begin recording spectra, we have written scripts that will do this for you. We suggest that you use these scripts at least and first and only modify them if you are comfortable with the Linux command line. To collect the data run the command &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; and follow the on screen prompts. There are a few things to note:&lt;br /&gt;
&lt;br /&gt;
#     If you do anything wrong and want to start again you can type Ctrl-C to stop the script&lt;br /&gt;
&lt;br /&gt;
#     Filenames must not contain spaces the ext4 file system on the Pi doesn’t support this. It is a good rule in general as any most non-Windows (i.e. useful) file system will do not support spaces in file names.&lt;br /&gt;
&lt;br /&gt;
#     Error messages are usually quite useful please read them and see if it is something simple – if the message says anything about the ADC chip then please consult a demonstrator who can check the chip wiring.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
== Collecting your Data ==&lt;br /&gt;
&lt;br /&gt;
The data that you collect using the ADC on the Raspberry Pi is automatically copied into a network drive. To access this data you need to mount the network drive, you must be on the College network (Wifi or LAN) or connected via a VPN connection to do this. The instructions are different depending on the OS that you use:&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
These instructions are for Windows 7 but should work for all Windows versions since XP.&lt;br /&gt;
&lt;br /&gt;
#Go to Start&amp;gt;Computer and select “Map Network Drive” and a new dialogue box will open.&lt;br /&gt;
#The share name which is entered in the Folder box is //155.198.225.243. Then select “Connect using different credentials” this will open another dialogue box.&lt;br /&gt;
#&#039;&#039;&#039;username&#039;&#039;&#039; is &#039;&#039;students&#039;&#039; and the &#039;&#039;&#039;password&#039;&#039;&#039; is &#039;&#039;briscoe&#039;&#039;.&lt;br /&gt;
#Click on Finish and the network drive will mount so that you can access your data from the appropriate pi# directory.&lt;br /&gt;
&lt;br /&gt;
===OSX===&lt;br /&gt;
#Open Finder and press ⌘-K a new window will open that is titled “Connect to Server”&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Common Linux Commands ==&lt;br /&gt;
&lt;br /&gt;
All Linux distributions are based on the CLI (command line interface) this is accessed via the terminal and forms the core of the operating system. A guide to the most commonly used Linux commands is [http://www.fromdev.com/2013/06/linux-basic-commands.html here]. The only additional command that you have on your Raspberry Pi is midnight command, this provides a semi-graphical glibc based file explorer, to access mc you need to use the command &amp;lt;code&amp;gt;mc&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ mc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
[[File:MCEg.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
F10&lt;br /&gt;
pi#@raspberrypi:~$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
# Raspberry Pi stalls at DHCP/name-server configuration on boot- Try Ctrl-Alt-Delete if the problem persists speak to a demonstrator who will be able to check the NFS server for you.&lt;br /&gt;
# I need to install some new packages - The Raspberry Pis use a centrally configured root file system that is mounted read only, if you really want to install a package you will need to download the source and compile the package locally. If you think a package is missing and very useful then please suggest it to Dr. Edel who will look into installing it.&lt;br /&gt;
# Raspberry Pi is frozen - Note that the Raspberry Pis will be slower than you are used to. If it is a real problem then the quickest option here is to remove the power lead, wait 5 seconds then re-connect it, if the problem persists speak to a demonstrate. &lt;br /&gt;
# The Raspberry Pi complains about a kernel issue - Ask a demonstrator to change the SD card in your Raspberry Pi and reboot. &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Editing the Scripts (Optional) ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not spend too much time attempting this and only try if you are comfortable with bash scripting.&#039;&#039;&#039;&lt;br /&gt;
Most of the scripts that are used to collect and analyse the data are written in Python and are available as iPython notebooks. You are welcome to modify these scripts and they can be found in the ‘scripts’ directory of your Pi’s home directory. Please make sure you copy the original script using the command cp filename.py filename.py.old before you begin to edit it so you always have a fall back in the event of it not working!&lt;br /&gt;
&lt;br /&gt;
If you are confident with Python and shell scripting you can edit the &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script. The local copy of this script can be found in the &amp;lt;code&amp;gt;scripts/collect-data&amp;lt;/code&amp;gt; directory. To run the modified script you will need to use &amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; and then run the script locally. The ADC chip communicates with Pi via Python code that can be found in &amp;lt;code&amp;gt;scripts/continuous_read_example.py&amp;lt;/code&amp;gt;. This is an advanced script and it is not recommended that you edit if you do wish to edit it you will also need to make sure your modified &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script points to the modified &amp;lt;code&amp;gt;continuous_read.py&amp;lt;/code&amp;gt; script. You will need to be given superuser permissions to run the modified script, please ask a demonstrator who will check your script and then assign these permissions to your account.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471990</id>
		<title>Measurement Science Lab: Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471990"/>
		<updated>2014-12-13T15:47:16Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Running the Experiment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== What is a Raspberry Pi? ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi was developed as a small cheap computer to allow programming to be taught to people the world over, as such it has some limitations and is significantly less powerful than your average smart phone. Much like a smart phone the Raspberry Pi B+ uses an [http://en.wikipedia.org/wiki/Raspberry_Pi ARM Processor] and has 512 MB (half that of an iPhone 5S). The Raspberry Pi has been optimised for programming in a terminal (non-graphical) environment, this makes it ideal for building a spectrometer and adequate for basic web browsing. It will, however, freeze and crash if you try to load heavy websites. If the Pi crashes you will probably loose some data, corrupt the SD card and potential break the Pi. &#039;&#039;&#039;Please do not visit Facebook, BBC News or YouTube on you Pi&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Your Raspberry Pi is running Debian Squeeze a Linux distribution with a kernel optimised for the Raspberry Pi architecture. Some commands that you run require super user permissions, your accounts have permission to run these scripts as a supeuser. If you recieve a message telling you &#039;root&#039; or &#039;super user&#039; permissions are required and you do not have them then please speak to a demonstrator. The root file system is held on a server and mounts via NFS at boot on a read-only basis, you will not be able to modify the root-fs in anyway so please do not attempt to. Please do not change the password on your Raspberry Pi, all activities are logged and the system runs a consistency check each evening so any attempt to modify the OS will be flagged and your Raspberry Pi will be removed from your group.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== How to Set-Up Your Pi ==&lt;br /&gt;
&lt;br /&gt;
When you boot your Raspberry Pi a large amount of information will be displayed as the system loads up, this looks quite different to a Windows or Mac booting but is perfectly normal. If the boot process hangs or sticks at one particular stage then please consult a demonstrator as they should be able to identify the problem and get the Raspberry Pi to proceed with its boot processes. To interupt the boot and restart the Raspberry Pi you just need to use &amp;lt;code&amp;gt;Ctrl-Alt-Delete&amp;lt;/code&amp;gt;. After your Pi has booted successfully you will see a screen that looks something like this:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:RaspberryPi1.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To login in you need to use the username that your Raspberry Pi is labelled with and the password &amp;lt;code&amp;gt;password&amp;lt;/code&amp;gt;, please note that nothing is displayed as you type your password. On logging in you will be in a terminal environment, to start the desktop you need to, enter the command &amp;lt;code&amp;gt;startx&amp;lt;/code&amp;gt; followed by return:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The screen will then go blank and the Pi will think for a while before loading a desktop environment. When the desktop environment has loaded go to the start menu (bottom left corner) and select Accessories &amp;gt; LXTerminal.  &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Running the Experiment ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi does not have its only analogue in channel and so we must use an ADC chip, this has been wired to your Pi and there will be two wires with metal pins on the end that are free. Connect the pin that is labeled A0 to the black connection and pin labeled A1 to the red connection of your diode. &#039;&#039;&#039;Please do not open your Pi and alter the connections or change the connections on the ADC chip.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After connecting your Pi to the ADC you can begin recording spectra, we have written scripts that will do this for you. We suggest that you use these scripts at least and first and only modify them if you are comfortable with the Linux command line. To collect the data run the command &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; and follow the on screen prompts. There are a few things to note:&lt;br /&gt;
&lt;br /&gt;
#     If you do anything wrong and want to start again you can type Ctrl-C to stop the script&lt;br /&gt;
&lt;br /&gt;
#     Filenames must not contain spaces the ext4 file system on the Pi doesn’t support this. It is a good rule in general as any most non-Windows (i.e. useful) file system will do not support spaces in file names.&lt;br /&gt;
&lt;br /&gt;
#     Error messages are usually quite useful please read them and see if it is something simple – if the message says anything about the ADC chip then please consult a demonstrator who can check the chip wiring.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
== Collecting your Data ==&lt;br /&gt;
&lt;br /&gt;
The data that you collect using the ADC on the Raspberry Pi is automatically copied into a network drive. To access this data you need to mount the network drive, you must be on the College network (Wifi or LAN) or connected via a VPN connection to do this. The instructions are different depending on the OS that you use:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Windows&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These instructions are for Windows 7 but should work for all Windows versions since XP.&lt;br /&gt;
&lt;br /&gt;
#Go to Start&amp;gt;Computer and select “Map Network Drive” and a new dialogue box will open.&lt;br /&gt;
&lt;br /&gt;
#The share name which is entered in the Folder box is //155.198.225.243. Then select “Connect using different credentials” this will open another dialogue box.&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;username&#039;&#039;&#039; is &#039;&#039;students&#039;&#039; and the &#039;&#039;&#039;password&#039;&#039;&#039; is &#039;&#039;briscoe&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
#Click on Finish and the network drive will mount so that you can access your data from the appropriate pi# directory.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Common Linux Commands ==&lt;br /&gt;
&lt;br /&gt;
All Linux distributions are based on the CLI (command line interface) this is accessed via the terminal and forms the core of the operating system. A guide to the most commonly used Linux commands is [http://www.fromdev.com/2013/06/linux-basic-commands.html here]. The only additional command that you have on your Raspberry Pi is midnight command, this provides a semi-graphical glibc based file explorer, to access mc you need to use the command &amp;lt;code&amp;gt;mc&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ mc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
[[File:MCEg.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
F10&lt;br /&gt;
pi#@raspberrypi:~$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
# Raspberry Pi stalls at DHCP/name-server configuration on boot- Try Ctrl-Alt-Delete if the problem persists speak to a demonstrator who will be able to check the NFS server for you.&lt;br /&gt;
# I need to install some new packages - The Raspberry Pis use a centrally configured root file system that is mounted read only, if you really want to install a package you will need to download the source and compile the package locally. If you think a package is missing and very useful then please suggest it to Dr. Edel who will look into installing it.&lt;br /&gt;
# Raspberry Pi is frozen - Note that the Raspberry Pis will be slower than you are used to. If it is a real problem then the quickest option here is to remove the power lead, wait 5 seconds then re-connect it, if the problem persists speak to a demonstrate. &lt;br /&gt;
# The Raspberry Pi complains about a kernel issue - Ask a demonstrator to change the SD card in your Raspberry Pi and reboot. &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Editing the Scripts (Optional) ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not spend too much time attempting this and only try if you are comfortable with bash scripting.&#039;&#039;&#039;&lt;br /&gt;
Most of the scripts that are used to collect and analyse the data are written in Python and are available as iPython notebooks. You are welcome to modify these scripts and they can be found in the ‘scripts’ directory of your Pi’s home directory. Please make sure you copy the original script using the command cp filename.py filename.py.old before you begin to edit it so you always have a fall back in the event of it not working!&lt;br /&gt;
&lt;br /&gt;
If you are confident with Python and shell scripting you can edit the &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script. The local copy of this script can be found in the &amp;lt;code&amp;gt;scripts/collect-data&amp;lt;/code&amp;gt; directory. To run the modified script you will need to use &amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; and then run the script locally. The ADC chip communicates with Pi via Python code that can be found in &amp;lt;code&amp;gt;scripts/continuous_read_example.py&amp;lt;/code&amp;gt;. This is an advanced script and it is not recommended that you edit if you do wish to edit it you will also need to make sure your modified &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script points to the modified &amp;lt;code&amp;gt;continuous_read.py&amp;lt;/code&amp;gt; script. You will need to be given superuser permissions to run the modified script, please ask a demonstrator who will check your script and then assign these permissions to your account.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471988</id>
		<title>Measurement Science Lab: Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471988"/>
		<updated>2014-12-13T15:44:51Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Editing the Scripts (Optional) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== What is a Raspberry Pi? ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi was developed as a small cheap computer to allow programming to be taught to people the world over, as such it has some limitations and is significantly less powerful than your average smart phone. Much like a smart phone the Raspberry Pi B+ uses an [http://en.wikipedia.org/wiki/Raspberry_Pi ARM Processor] and has 512 MB (half that of an iPhone 5S). The Raspberry Pi has been optimised for programming in a terminal (non-graphical) environment, this makes it ideal for building a spectrometer and adequate for basic web browsing. It will, however, freeze and crash if you try to load heavy websites. If the Pi crashes you will probably loose some data, corrupt the SD card and potential break the Pi. &#039;&#039;&#039;Please do not visit Facebook, BBC News or YouTube on you Pi&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Your Raspberry Pi is running Debian Squeeze a Linux distribution with a kernel optimised for the Raspberry Pi architecture. Some commands that you run require super user permissions, your accounts have permission to run these scripts as a supeuser. If you recieve a message telling you &#039;root&#039; or &#039;super user&#039; permissions are required and you do not have them then please speak to a demonstrator. The root file system is held on a server and mounts via NFS at boot on a read-only basis, you will not be able to modify the root-fs in anyway so please do not attempt to. Please do not change the password on your Raspberry Pi, all activities are logged and the system runs a consistency check each evening so any attempt to modify the OS will be flagged and your Raspberry Pi will be removed from your group.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== How to Set-Up Your Pi ==&lt;br /&gt;
&lt;br /&gt;
When you boot your Raspberry Pi a large amount of information will be displayed as the system loads up, this looks quite different to a Windows or Mac booting but is perfectly normal. If the boot process hangs or sticks at one particular stage then please consult a demonstrator as they should be able to identify the problem and get the Raspberry Pi to proceed with its boot processes. To interupt the boot and restart the Raspberry Pi you just need to use &amp;lt;code&amp;gt;Ctrl-Alt-Delete&amp;lt;/code&amp;gt;. After your Pi has booted successfully you will see a screen that looks something like this:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:RaspberryPi1.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To login in you need to use the username that your Raspberry Pi is labelled with and the password &amp;lt;code&amp;gt;password&amp;lt;/code&amp;gt;, please note that nothing is displayed as you type your password. On logging in you will be in a terminal environment, to start the desktop you need to, enter the command &amp;lt;code&amp;gt;startx&amp;lt;/code&amp;gt; followed by return:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The screen will then go blank and the Pi will think for a while before loading a desktop environment. When the desktop environment has loaded go to the start menu (bottom left corner) and select Accessories &amp;gt; LXTerminal.  &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Running the Experiment ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi does not have its only analogue in channel and so we must use an ADC chip, this has been wired to your Pi and there will be two wires with metal pins on the end that are free. Connect the pin that is labeled A0 to the black connection and pin labeled A1 to the red connection of your diode. &#039;&#039;&#039;Please do not open your Pi and alter the connections or change the connections on the ADC chip.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After connecting your Pi to the ADC you can begin recording spectra, we have written scripts that will do this for you. We suggest that you use these scripts at least and first and only modify them if you are comfortable with the Linux command line. To collect the data run the command &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; and follow the on screen prompts. There are a few things to note:&lt;br /&gt;
&lt;br /&gt;
#     If you do anything wrong and want to start again you can type Ctrl-C to stop the script&lt;br /&gt;
&lt;br /&gt;
#     Filenames must not contain spaces the ext4 file system on the Pi doesn’t support this. It is a good rule in general as any most non-Windows (i.e. useful) file system will do not support spaces in file names.&lt;br /&gt;
&lt;br /&gt;
#     Error messages are usually quite useful please read them and see if it is something simple – if the message says anything about the ADC chip then please consult a demonstrator who can check the chip wiring.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Common Linux Commands ==&lt;br /&gt;
&lt;br /&gt;
All Linux distributions are based on the CLI (command line interface) this is accessed via the terminal and forms the core of the operating system. A guide to the most commonly used Linux commands is [http://www.fromdev.com/2013/06/linux-basic-commands.html here]. The only additional command that you have on your Raspberry Pi is midnight command, this provides a semi-graphical glibc based file explorer, to access mc you need to use the command &amp;lt;code&amp;gt;mc&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ mc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
[[File:MCEg.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
F10&lt;br /&gt;
pi#@raspberrypi:~$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
# Raspberry Pi stalls at DHCP/name-server configuration on boot- Try Ctrl-Alt-Delete if the problem persists speak to a demonstrator who will be able to check the NFS server for you.&lt;br /&gt;
# I need to install some new packages - The Raspberry Pis use a centrally configured root file system that is mounted read only, if you really want to install a package you will need to download the source and compile the package locally. If you think a package is missing and very useful then please suggest it to Dr. Edel who will look into installing it.&lt;br /&gt;
# Raspberry Pi is frozen - Note that the Raspberry Pis will be slower than you are used to. If it is a real problem then the quickest option here is to remove the power lead, wait 5 seconds then re-connect it, if the problem persists speak to a demonstrate. &lt;br /&gt;
# The Raspberry Pi complains about a kernel issue - Ask a demonstrator to change the SD card in your Raspberry Pi and reboot. &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Editing the Scripts (Optional) ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not spend too much time attempting this and only try if you are comfortable with bash scripting.&#039;&#039;&#039;&lt;br /&gt;
Most of the scripts that are used to collect and analyse the data are written in Python and are available as iPython notebooks. You are welcome to modify these scripts and they can be found in the ‘scripts’ directory of your Pi’s home directory. Please make sure you copy the original script using the command cp filename.py filename.py.old before you begin to edit it so you always have a fall back in the event of it not working!&lt;br /&gt;
&lt;br /&gt;
If you are confident with Python and shell scripting you can edit the &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script. The local copy of this script can be found in the &amp;lt;code&amp;gt;scripts/collect-data&amp;lt;/code&amp;gt; directory. To run the modified script you will need to use &amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; and then run the script locally. The ADC chip communicates with Pi via Python code that can be found in &amp;lt;code&amp;gt;scripts/continuous_read_example.py&amp;lt;/code&amp;gt;. This is an advanced script and it is not recommended that you edit if you do wish to edit it you will also need to make sure your modified &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script points to the modified &amp;lt;code&amp;gt;continuous_read.py&amp;lt;/code&amp;gt; script. You will need to be given superuser permissions to run the modified script, please ask a demonstrator who will check your script and then assign these permissions to your account.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471987</id>
		<title>Measurement Science Lab: Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471987"/>
		<updated>2014-12-13T15:44:26Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Running the Experiment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== What is a Raspberry Pi? ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi was developed as a small cheap computer to allow programming to be taught to people the world over, as such it has some limitations and is significantly less powerful than your average smart phone. Much like a smart phone the Raspberry Pi B+ uses an [http://en.wikipedia.org/wiki/Raspberry_Pi ARM Processor] and has 512 MB (half that of an iPhone 5S). The Raspberry Pi has been optimised for programming in a terminal (non-graphical) environment, this makes it ideal for building a spectrometer and adequate for basic web browsing. It will, however, freeze and crash if you try to load heavy websites. If the Pi crashes you will probably loose some data, corrupt the SD card and potential break the Pi. &#039;&#039;&#039;Please do not visit Facebook, BBC News or YouTube on you Pi&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Your Raspberry Pi is running Debian Squeeze a Linux distribution with a kernel optimised for the Raspberry Pi architecture. Some commands that you run require super user permissions, your accounts have permission to run these scripts as a supeuser. If you recieve a message telling you &#039;root&#039; or &#039;super user&#039; permissions are required and you do not have them then please speak to a demonstrator. The root file system is held on a server and mounts via NFS at boot on a read-only basis, you will not be able to modify the root-fs in anyway so please do not attempt to. Please do not change the password on your Raspberry Pi, all activities are logged and the system runs a consistency check each evening so any attempt to modify the OS will be flagged and your Raspberry Pi will be removed from your group.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== How to Set-Up Your Pi ==&lt;br /&gt;
&lt;br /&gt;
When you boot your Raspberry Pi a large amount of information will be displayed as the system loads up, this looks quite different to a Windows or Mac booting but is perfectly normal. If the boot process hangs or sticks at one particular stage then please consult a demonstrator as they should be able to identify the problem and get the Raspberry Pi to proceed with its boot processes. To interupt the boot and restart the Raspberry Pi you just need to use &amp;lt;code&amp;gt;Ctrl-Alt-Delete&amp;lt;/code&amp;gt;. After your Pi has booted successfully you will see a screen that looks something like this:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:RaspberryPi1.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To login in you need to use the username that your Raspberry Pi is labelled with and the password &amp;lt;code&amp;gt;password&amp;lt;/code&amp;gt;, please note that nothing is displayed as you type your password. On logging in you will be in a terminal environment, to start the desktop you need to, enter the command &amp;lt;code&amp;gt;startx&amp;lt;/code&amp;gt; followed by return:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The screen will then go blank and the Pi will think for a while before loading a desktop environment. When the desktop environment has loaded go to the start menu (bottom left corner) and select Accessories &amp;gt; LXTerminal.  &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Running the Experiment ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi does not have its only analogue in channel and so we must use an ADC chip, this has been wired to your Pi and there will be two wires with metal pins on the end that are free. Connect the pin that is labeled A0 to the black connection and pin labeled A1 to the red connection of your diode. &#039;&#039;&#039;Please do not open your Pi and alter the connections or change the connections on the ADC chip.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After connecting your Pi to the ADC you can begin recording spectra, we have written scripts that will do this for you. We suggest that you use these scripts at least and first and only modify them if you are comfortable with the Linux command line. To collect the data run the command &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; and follow the on screen prompts. There are a few things to note:&lt;br /&gt;
&lt;br /&gt;
#     If you do anything wrong and want to start again you can type Ctrl-C to stop the script&lt;br /&gt;
&lt;br /&gt;
#     Filenames must not contain spaces the ext4 file system on the Pi doesn’t support this. It is a good rule in general as any most non-Windows (i.e. useful) file system will do not support spaces in file names.&lt;br /&gt;
&lt;br /&gt;
#     Error messages are usually quite useful please read them and see if it is something simple – if the message says anything about the ADC chip then please consult a demonstrator who can check the chip wiring.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Common Linux Commands ==&lt;br /&gt;
&lt;br /&gt;
All Linux distributions are based on the CLI (command line interface) this is accessed via the terminal and forms the core of the operating system. A guide to the most commonly used Linux commands is [http://www.fromdev.com/2013/06/linux-basic-commands.html here]. The only additional command that you have on your Raspberry Pi is midnight command, this provides a semi-graphical glibc based file explorer, to access mc you need to use the command &amp;lt;code&amp;gt;mc&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ mc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
[[File:MCEg.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
F10&lt;br /&gt;
pi#@raspberrypi:~$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
# Raspberry Pi stalls at DHCP/name-server configuration on boot- Try Ctrl-Alt-Delete if the problem persists speak to a demonstrator who will be able to check the NFS server for you.&lt;br /&gt;
# I need to install some new packages - The Raspberry Pis use a centrally configured root file system that is mounted read only, if you really want to install a package you will need to download the source and compile the package locally. If you think a package is missing and very useful then please suggest it to Dr. Edel who will look into installing it.&lt;br /&gt;
# Raspberry Pi is frozen - Note that the Raspberry Pis will be slower than you are used to. If it is a real problem then the quickest option here is to remove the power lead, wait 5 seconds then re-connect it, if the problem persists speak to a demonstrate. &lt;br /&gt;
# The Raspberry Pi complains about a kernel issue - Ask a demonstrator to change the SD card in your Raspberry Pi and reboot. &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Editing the Scripts (Optional) ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not spend too much time attempting this and only try if you are comfortable with bash scripting.&#039;&#039;&#039;&lt;br /&gt;
Most of the scripts that are used to collect and analyse the data are written in Python and are available as iPython notebooks. You are welcome to modify these scripts and they can be found in the ‘scripts’ directory of your Pi’s home directory. Please make sure you copy the original script using the command cp filename.py filename.py.old before you begin to edit it so you always have a fall back in the event of it not working!&lt;br /&gt;
&lt;br /&gt;
If you are confident with Python and shell scripting you can edit the &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script. The local copy of this script can be found in the &amp;lt;code&amp;gt;scripts/advanced&amp;lt;/code&amp;gt; directory. To run the modified script you will need to use &amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; and then run the script locally. The ADC chip communicates with Pi via Python code that can be found in &amp;lt;code&amp;gt;scripts/continuous_read_example.py&amp;lt;/code&amp;gt;. This is an advanced script and it is not recommended that you edit if you do wish to edit it you will also need to make sure your modified &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script points to the modified &amp;lt;code&amp;gt;continuous_read.py&amp;lt;/code&amp;gt; script. You will need to be given superuser permissions to run the modified script, please ask a demonstrator who will check your script and then assign these permissions to your account.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471986</id>
		<title>Measurement Science Lab: Raspberry Pi</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Raspberry_Pi&amp;diff=471986"/>
		<updated>2014-12-13T15:44:05Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* How to Set-Up Your Pi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== What is a Raspberry Pi? ==&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi was developed as a small cheap computer to allow programming to be taught to people the world over, as such it has some limitations and is significantly less powerful than your average smart phone. Much like a smart phone the Raspberry Pi B+ uses an [http://en.wikipedia.org/wiki/Raspberry_Pi ARM Processor] and has 512 MB (half that of an iPhone 5S). The Raspberry Pi has been optimised for programming in a terminal (non-graphical) environment, this makes it ideal for building a spectrometer and adequate for basic web browsing. It will, however, freeze and crash if you try to load heavy websites. If the Pi crashes you will probably loose some data, corrupt the SD card and potential break the Pi. &#039;&#039;&#039;Please do not visit Facebook, BBC News or YouTube on you Pi&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Your Raspberry Pi is running Debian Squeeze a Linux distribution with a kernel optimised for the Raspberry Pi architecture. Some commands that you run require super user permissions, your accounts have permission to run these scripts as a supeuser. If you recieve a message telling you &#039;root&#039; or &#039;super user&#039; permissions are required and you do not have them then please speak to a demonstrator. The root file system is held on a server and mounts via NFS at boot on a read-only basis, you will not be able to modify the root-fs in anyway so please do not attempt to. Please do not change the password on your Raspberry Pi, all activities are logged and the system runs a consistency check each evening so any attempt to modify the OS will be flagged and your Raspberry Pi will be removed from your group.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== How to Set-Up Your Pi ==&lt;br /&gt;
&lt;br /&gt;
When you boot your Raspberry Pi a large amount of information will be displayed as the system loads up, this looks quite different to a Windows or Mac booting but is perfectly normal. If the boot process hangs or sticks at one particular stage then please consult a demonstrator as they should be able to identify the problem and get the Raspberry Pi to proceed with its boot processes. To interupt the boot and restart the Raspberry Pi you just need to use &amp;lt;code&amp;gt;Ctrl-Alt-Delete&amp;lt;/code&amp;gt;. After your Pi has booted successfully you will see a screen that looks something like this:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:RaspberryPi1.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To login in you need to use the username that your Raspberry Pi is labelled with and the password &amp;lt;code&amp;gt;password&amp;lt;/code&amp;gt;, please note that nothing is displayed as you type your password. On logging in you will be in a terminal environment, to start the desktop you need to, enter the command &amp;lt;code&amp;gt;startx&amp;lt;/code&amp;gt; followed by return:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The screen will then go blank and the Pi will think for a while before loading a desktop environment. When the desktop environment has loaded go to the start menu (bottom left corner) and select Accessories &amp;gt; LXTerminal.  &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Running the Experiment ==&lt;br /&gt;
&lt;br /&gt;
   96  800x600                  The Raspberry Pi does not have its only analogue in channel and so we must use an ADC chip, this has been wired to your Pi and there will be two wires with metal pins on the end that are free. Connect the pin that is labeled A0 to the black connection and pin labeled A1 to the red connection of your diode. &#039;&#039;&#039;Please do not open your Pi and alter the connections or change the connections on the ADC chip.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
After connecting your Pi to the ADC you can begin recording spectra, we have written scripts that will do this for you. We suggest that you use these scripts at least and first and only modify them if you are comfortable with the Linux command line. To collect the data run the command &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; and follow the on screen prompts. There are a few things to note:&lt;br /&gt;
&lt;br /&gt;
#     If you do anything wrong and want to start again you can type Ctrl-C to stop the script&lt;br /&gt;
&lt;br /&gt;
#     Filenames must not contain spaces the ext4 file system on the Pi doesn’t support this. It is a good rule in general as any most non-Windows (i.e. useful) file system will do not support spaces in file names.&lt;br /&gt;
&lt;br /&gt;
#     Error messages are usually quite useful please read them and see if it is something simple – if the message says anything about the ADC chip then please consult a demonstrator who can check the chip wiring.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Common Linux Commands ==&lt;br /&gt;
&lt;br /&gt;
All Linux distributions are based on the CLI (command line interface) this is accessed via the terminal and forms the core of the operating system. A guide to the most commonly used Linux commands is [http://www.fromdev.com/2013/06/linux-basic-commands.html here]. The only additional command that you have on your Raspberry Pi is midnight command, this provides a semi-graphical glibc based file explorer, to access mc you need to use the command &amp;lt;code&amp;gt;mc&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pi#@raspberrypi:~$ mc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
[[File:MCEg.png|thumb|center|750px|]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
F10&lt;br /&gt;
pi#@raspberrypi:~$&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
# Raspberry Pi stalls at DHCP/name-server configuration on boot- Try Ctrl-Alt-Delete if the problem persists speak to a demonstrator who will be able to check the NFS server for you.&lt;br /&gt;
# I need to install some new packages - The Raspberry Pis use a centrally configured root file system that is mounted read only, if you really want to install a package you will need to download the source and compile the package locally. If you think a package is missing and very useful then please suggest it to Dr. Edel who will look into installing it.&lt;br /&gt;
# Raspberry Pi is frozen - Note that the Raspberry Pis will be slower than you are used to. If it is a real problem then the quickest option here is to remove the power lead, wait 5 seconds then re-connect it, if the problem persists speak to a demonstrate. &lt;br /&gt;
# The Raspberry Pi complains about a kernel issue - Ask a demonstrator to change the SD card in your Raspberry Pi and reboot. &lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;br /&gt;
&lt;br /&gt;
== Editing the Scripts (Optional) ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not spend too much time attempting this and only try if you are comfortable with bash scripting.&#039;&#039;&#039;&lt;br /&gt;
Most of the scripts that are used to collect and analyse the data are written in Python and are available as iPython notebooks. You are welcome to modify these scripts and they can be found in the ‘scripts’ directory of your Pi’s home directory. Please make sure you copy the original script using the command cp filename.py filename.py.old before you begin to edit it so you always have a fall back in the event of it not working!&lt;br /&gt;
&lt;br /&gt;
If you are confident with Python and shell scripting you can edit the &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script. The local copy of this script can be found in the &amp;lt;code&amp;gt;scripts/advanced&amp;lt;/code&amp;gt; directory. To run the modified script you will need to use &amp;lt;code&amp;gt;chmod&amp;lt;/code&amp;gt; and then run the script locally. The ADC chip communicates with Pi via Python code that can be found in &amp;lt;code&amp;gt;scripts/continuous_read_example.py&amp;lt;/code&amp;gt;. This is an advanced script and it is not recommended that you edit if you do wish to edit it you will also need to make sure your modified &amp;lt;code&amp;gt;pi_spectroscopy&amp;lt;/code&amp;gt; script points to the modified &amp;lt;code&amp;gt;continuous_read.py&amp;lt;/code&amp;gt; script. You will need to be given superuser permissions to run the modified script, please ask a demonstrator who will check your script and then assign these permissions to your account.&lt;br /&gt;
&lt;br /&gt;
[[Measurement_Science_Lab:_Introduction|Back to introduction ]]&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Leuomethylene.jpg&amp;diff=471985</id>
		<title>File:Leuomethylene.jpg</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Leuomethylene.jpg&amp;diff=471985"/>
		<updated>2014-12-13T15:42:43Z</updated>

		<summary type="html">&lt;p&gt;Jp806: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Licensing ==&lt;br /&gt;
{{cc-by-sa-3.0}}&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471984</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471984"/>
		<updated>2014-12-13T15:42:05Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Part 2:Determining the useful concentration range using Methylene Blue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|A schematic of a spectrometer]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|The Raspberry Pi B&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt; model]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:detection_plots.jpg|thumb|center|300px|Schematic of an instrument response curve. LOD = limit of detection, LOQ = Limit of quantitative measurement, LOL = Limit of linearity.    ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.&lt;br /&gt;
&lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:leuomethylene.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;-\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB^+]=k_{\mathrm{exp}}[MB^+]&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Detection_plots.jpg&amp;diff=471983</id>
		<title>File:Detection plots.jpg</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Detection_plots.jpg&amp;diff=471983"/>
		<updated>2014-12-13T15:41:25Z</updated>

		<summary type="html">&lt;p&gt;Jp806: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Licensing ==&lt;br /&gt;
{{cc-by-sa-3.0}}&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471981</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471981"/>
		<updated>2014-12-13T15:41:00Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Using a Raspberry Pi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|A schematic of a spectrometer]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|The Raspberry Pi B&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt; model]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:detection_plots.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.&lt;br /&gt;
&lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:leuomethylene.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;-\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB^+]=k_{\mathrm{exp}}[MB^+]&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471980</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471980"/>
		<updated>2014-12-13T15:40:27Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Part 1: Designing and building a UV-Vis spectrometer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|A schematic of a spectrometer]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|The Raspberry Pi B&amp;lt;sup&amp;gt;+,/sup&amp;gt; model]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:detection_plots.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.&lt;br /&gt;
&lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:leuomethylene.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;-\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB^+]=k_{\mathrm{exp}}[MB^+]&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=File:Spectrometer.jpg&amp;diff=471978</id>
		<title>File:Spectrometer.jpg</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=File:Spectrometer.jpg&amp;diff=471978"/>
		<updated>2014-12-13T15:38:37Z</updated>

		<summary type="html">&lt;p&gt;Jp806: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Licensing ==&lt;br /&gt;
{{cc-by-sa-3.0}}&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471976</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471976"/>
		<updated>2014-12-13T15:35:56Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Part 5: Kinetics associated with mixing methylene blue with ascorbic acid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:detection_plots.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.&lt;br /&gt;
&lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:leuomethylene.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;-\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB^+]=k_{\mathrm{exp}}[MB^+]&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471974</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471974"/>
		<updated>2014-12-13T15:35:37Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Part 5: Kinetics associated with mixing methylene blue with ascorbic acid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:detection_plots.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.&lt;br /&gt;
&lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:leuomethylene.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB^+]=k_{\mathrm{exp}}[MB^+]&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471972</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471972"/>
		<updated>2014-12-13T15:35:15Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Part 5: Kinetics associated with mixing methylene blue with ascorbic acid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:detection_plots.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.&lt;br /&gt;
&lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:leuomethylene.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;lt;math&amp;gt;\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB^+]=k_{\mathrm{exp}}[MB^+]&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471971</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471971"/>
		<updated>2014-12-13T15:34:30Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Part 5: Kinetics associated with mixing methylene blue with ascorbic acid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:detection_plots.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.&lt;br /&gt;
&lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:leuomethylene.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB^+]=k_{\mathrm{exp}}[MB^+]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471970</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471970"/>
		<updated>2014-12-13T15:34:02Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Part 3: Determine the concentration of the unknown. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:detection_plots.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.&lt;br /&gt;
&lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB^+]=k_{\mathrm{exp}}[MB^+]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471969</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471969"/>
		<updated>2014-12-13T15:33:42Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Part 2:Determining the useful concentration range using Methylene Blue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:detection_plots.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
                     A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.  &lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB^+]=k_{\mathrm{exp}}[MB^+]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471968</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471968"/>
		<updated>2014-12-13T15:32:45Z</updated>

		<summary type="html">&lt;p&gt;Jp806: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
                     A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.  &lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB^+]=k_{\mathrm{exp}}[MB^+]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471967</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471967"/>
		<updated>2014-12-13T15:31:50Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Part 5: Kinetics associated with mixing methylene blue with ascorbic acid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
                     A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.  &lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;]=k_{\mathrm{exp}}[MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}}&amp;lt;/math&amp;gt; for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471966</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471966"/>
		<updated>2014-12-13T15:31:06Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Experimental */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
                     A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.  &lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;]=k_{\mathrm{exp}}[MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}} for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
#What are the statistical errors in your obtained results?&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471965</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471965"/>
		<updated>2014-12-13T15:30:37Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Experimental */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
                     A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.  &lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
===Part 5: Kinetics associated with mixing methylene blue with ascorbic acid===&lt;br /&gt;
&lt;br /&gt;
You will study the reduction of methylene blue (MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;) by ascorbic acid (A) to its colourless form leucomethylene blue.  More specifically you will investigate the dependence of the rate law on the ascorbic concentration acid.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In all cases you will consider, [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] to be less than 1% of [A], thus ensuring pseudo first-order conditions. A proposed rate law for this reaction is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d}[A]}{\mathrm{d}t}=k_0[A][MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;]=k_{\mathrm{exp}}[MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using your spectrometer you should design an experiment to:&lt;br /&gt;
&lt;br /&gt;
#Find the rate constant &amp;lt;math&amp;gt;k_{\mathrm{exp}} for the reduction of [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] with [A] = 0.045M. In terms of kinetics explain the order of the reaction and comment on its half-life. Discuss your experimental error (it will be helpful to perform repeat measurements). Not more than 3 concentrations are needed.&lt;br /&gt;
&lt;br /&gt;
#Determine the rate constant, &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt;, by varying the concentration of [A] and keeping [MB&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt;] constant. A potential useful concentration range for [A] would be between 0.002 to 0.045 M. Hint: what you measure will always be the experimental rate constant, you will therefore need to look into methods on how to obtain &amp;lt;math&amp;gt;k_0&amp;lt;/math&amp;gt; from this data set.&lt;br /&gt;
&lt;br /&gt;
#How does the rate constant compare to literature?&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471964</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471964"/>
		<updated>2014-12-13T15:26:05Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Experimental Objectives and Timetable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
                     A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.  &lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471963</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471963"/>
		<updated>2014-12-13T15:25:36Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
                     A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.  &lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471961</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471961"/>
		<updated>2014-12-13T15:25:02Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Experimental */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
===Part 2:Determining the useful concentration range using Methylene Blue ===&lt;br /&gt;
The majority of analytical methods follow the instrument response curve as shown in Figure 2. As part of this exercise such a curve should be generated for Methylene Blue with your spectrometer. &lt;br /&gt;
&lt;br /&gt;
#A useful starting concentration will be 0.3 mM.&lt;br /&gt;
#It will be important to minimize the detection limits and modify the instrument accordingly in order to do this. Therefore, you will want to characterize the LOD, LOQ, and LOL.&lt;br /&gt;
#Statistical methods should be used to quantify the detection limits. For example, you will want to make note and approximate measurement errors such as listing systematic and random errors, spread of data, mean, standard deviation, sources of noise, and finally averaging and signal to noise.&lt;br /&gt;
#The dynamic range should be defined and fit to a linear model.&lt;br /&gt;
#How does your detection limit compare to results obtained on a commercial instrument? Commercial UV-Vis spectrometers are available in the lab to assess this aspect. Ask a demonstrator to show you how to use them.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Part 3: Determine the concentration of the unknown.===&lt;br /&gt;
                     A sample of methylene blue with unknown concentration has been found in the lab. An aliquot of this has been given to you to quantify the concentration. Using the information obtained from Part 2, calculate the concentration.  &lt;br /&gt;
===Part 4: Obtain Absorbance spectra of Methylene Blue and compare with commercial instrument===&lt;br /&gt;
Full Absorbance spectra of methylene blue should be obtained at three concentrations. This will then need to be compared to a commercial UV-Vis spectrometer and the following questions will need to be answered. You might have to optimize your methylene blue concentration and slit size accordingly to take into account the saturation of the detector. &lt;br /&gt;
&lt;br /&gt;
#How does the signal and noise compare between your spectrometer and a commercial instrument?&lt;br /&gt;
&lt;br /&gt;
#How do the signal intensities compare?&lt;br /&gt;
&lt;br /&gt;
#How can your spectrometer be improved?&lt;br /&gt;
&lt;br /&gt;
#Are there any obvious systematic or random errors?&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471956</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471956"/>
		<updated>2014-12-13T15:20:16Z</updated>

		<summary type="html">&lt;p&gt;Jp806: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Recording Voltage ====&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
===== Using a Multimeter =====&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
===== Using a Raspberry Pi =====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471953</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471953"/>
		<updated>2014-12-13T15:17:34Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Recording Voltage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly. Saturation of the detector occurs at 5V therefore, readings should be below this value. &#039;&#039;&#039;Note: the Raspberry Pi must be turned on when recording signals from the photodiode even if only using the multimeter.&#039;&#039;&#039;    &lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471952</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471952"/>
		<updated>2014-12-13T15:16:14Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Experimental */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer===&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
#&#039;&#039;&#039;Entrance and Exit Slits:&#039;&#039;&#039; Minimizes scattering and stray light from reaching the detector. These can be mounted directly before and after the sample holder. Templates for both the entrance and exit slits are given.&lt;br /&gt;
#&#039;&#039;&#039;Diffraction grating:&#039;&#039;&#039; The grating splits the white light into individual wavelengths. See below for more details. The grating should be placed near the exit slit.&lt;br /&gt;
#&#039;&#039;&#039;Detector:&#039;&#039;&#039; The photodiode detector will need to be mounted on either a pivot or swivel arm as the signal response from individual wavelengths will need to be recorded (variation of the angle &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; from the grating normal). Although the position of the detector will need to be optimized to maximize the signal response, a reasonable working distance will be between 5-5 cm. A protractor can also be integrated into the spectrometer to convert angle of the detector arm to wavelength.&lt;br /&gt;
#&#039;&#039;&#039;Recording:&#039;&#039;&#039; The detector records its signal as a voltage and will range between 0 and 5 V. Therefore, the detector output can be recorded on either a multimeter or for improved performance on an analogue to digital converter coupled to the raspberry Pi computer. It is recommended that initially the spectrometer is built and tested using a multimeter. Once optimized simultaneous multimeter and computer acquisition can be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====The Beer-Lambert Law====&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel].&lt;br /&gt;
&lt;br /&gt;
====Diffraction Grating====&lt;br /&gt;
In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that &#039;&#039;&#039;science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471934</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471934"/>
		<updated>2014-12-13T15:09:52Z</updated>

		<summary type="html">&lt;p&gt;Jp806: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Experimental ==&lt;br /&gt;
===Part 1: Designing and building a UV-Vis spectrometer&lt;br /&gt;
All spectrometers have five basic components, a light source, a monochromator or diffraction grating, entrance and exit slits, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. When in doubt ask a demonstrator – they are there to help problem solve. The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Spectrometer.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A schematic of a possible configuration for your spectrometer is shown in Figure 1. Key components are as follows:&lt;br /&gt;
&lt;br /&gt;
#&#039;&#039;&#039;White light source:&#039;&#039;&#039; LED’s are popular options due to their broad spectral range which typically emit between 400-800 nm.&lt;br /&gt;
#&#039;&#039;&#039;Lens:&#039;&#039;&#039; Used for collimating the light and focussing the light on to the sample. Although the location and distance from the light source should be optimized, a good working range is between 4-7 cm.&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471931</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471931"/>
		<updated>2014-12-13T15:05:29Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* The Brief */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471930</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471930"/>
		<updated>2014-12-13T15:05:02Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* The Brief */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
                     A few important points:&lt;br /&gt;
&lt;br /&gt;
#This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
#The experiment is run in groups of 3 – 4 and it is recommended that tasks be allocated to each member to ensure efficient progress.&lt;br /&gt;
#To aid your understanding of some of the material you will need to consult other resources (e.g. demonstrators, textbooks, papers, course notes, the internet etc) and we encourage you to do so.&lt;br /&gt;
#Your lab notes and the formal write-up (pseudo lab report) will be in the form of a wiki. It will be important to work on this as you go along.&lt;br /&gt;
#Although there are 5 parts to this experiment, if time limited, the focus should be on the quality of the results rather than aiming to complete all components.&lt;br /&gt;
#All data analysis should be performed during lab hours. A number of resources including the computer room can be used for this.&lt;br /&gt;
&lt;br /&gt;
==Goals of this Lab==&lt;br /&gt;
#Understanding the working     principles of a UV-Vis spectrometer.&lt;br /&gt;
#Improve &#039;&#039;&#039;data handling&#039;&#039;&#039; and &#039;&#039;&#039;data processing&#039;&#039;&#039; by taking into     account instrumental and sample limitations.&lt;br /&gt;
#Improve &#039;&#039;&#039;decision making&#039;&#039;&#039; especially     when it comes to optimisation.&lt;br /&gt;
#Improve &#039;&#039;&#039;problem solving&#039;&#039;&#039; ability.&lt;br /&gt;
#Finally, have some fun when designing and     optimizing the LEGO spectrometers.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471927</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=471927"/>
		<updated>2014-12-13T15:02:33Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* The Brief */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
One of the most commonly used measurement tools in the physical and biological sciences is a UV-Vis spectrometer. They can be used for both quantitative and qualitative analysis of samples, and to follow reactions in real-time recording kinetic data. In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance (i.e. absorbance spectra)&lt;br /&gt;
#Understand and determine measurement errors and limitations&lt;br /&gt;
#Use the spectrometer to monitor kinetics.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode detector, a black out cloth, an LED light source, a multi-meter, a power source, slits, a diffraction grating, a protractor, a Raspberry Pi computer, and lots of LEGO! You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to supply additional parts at your request if you can justify their use.&lt;br /&gt;
&lt;br /&gt;
Any measurement including those performed on your Lego spectrometer will have analytical limitations. To maximize the useful information from you measurements it is important understand both instrumental parameters to minimize errors and to use appropriate statistical methods to treat your data. This lab is designed to give you a better understanding of these aspects of collecting spectral data.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470895</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470895"/>
		<updated>2014-12-12T00:41:21Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Downloads */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAnalysisScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/DataAcquisitionScript.ipynb Download] || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470894</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470894"/>
		<updated>2014-12-12T00:39:10Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Downloads */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/LabManualMSL.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FLabManualMSL.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || [https://s3-eu-west-1.amazonaws.com/measurement-science-lab/RaspberryPiManual.pdf Download] || [http://docs.google.com/viewer?url=https%3A%2F%2Fs3-eu-west-1.amazonaws.com%2Fmeasurement-science-lab%2FRaspberryPiManual.pdf View] &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || cell || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View] &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| cell || [http://nbviewer.ipython.org/github/JackPaget/MSLiPythonNB/blob/master/DataAnalysisScript.ipynb View]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470893</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470893"/>
		<updated>2014-12-12T00:32:07Z</updated>

		<summary type="html">&lt;p&gt;Jp806: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf Download] || [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || cell || cell &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || cell || &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| cell || cell&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470892</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470892"/>
		<updated>2014-12-12T00:30:56Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Course Materials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf Download] || [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || cell || cell &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || cell || &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| cell || cell&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please supplement the information we have provided with your own research.&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470891</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470891"/>
		<updated>2014-12-12T00:29:46Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Course Materials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Lab Manual&#039;&#039;&#039; || [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf Download] || [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf View]&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Raspberry Pi Manual&#039;&#039;&#039; || cell || cell &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;iPython Notebook Analysis &#039;&#039;&#039; || cell || &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;iPython Notebook Data Acquisition&#039;&#039;&#039;|| cell || cell&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. T&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470890</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470890"/>
		<updated>2014-12-12T00:19:12Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Course Materials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is left up to you, we have provided some guidelines on this wiki and in the lab manuals, and other downloadable materials. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Equipment===&lt;br /&gt;
&lt;br /&gt;
We have provided you with a kit that contains all the components that you might need to build a spectrometer, you can use as much or as little of this equipment as you like. If there is something that you feel would be beneficial we may be able to procure it for you if you can justify using the item. &lt;br /&gt;
&lt;br /&gt;
Your kit contains a:&lt;br /&gt;
* selection of [http://www.lego.com Lego]&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Raspberry_Pi Raspberry Pi] with an [http://www.adafruit.com/product/1085 Adafruit ADC] connected&lt;br /&gt;
&lt;br /&gt;
* black out cloth&lt;br /&gt;
* pair of slits&lt;br /&gt;
* diffraction grating (period 0.1 mm)&lt;br /&gt;
* broadband light source&lt;br /&gt;
* photodiode&lt;br /&gt;
* multimeter&lt;br /&gt;
* protractor&lt;br /&gt;
* keyboard, monitor, mouse&lt;br /&gt;
&lt;br /&gt;
===Downloads===&lt;br /&gt;
&lt;br /&gt;
We have created a range of materials for you to use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| cell || cell&lt;br /&gt;
|-&lt;br /&gt;
| cell || cell&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. T&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470889</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470889"/>
		<updated>2014-12-12T00:08:43Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Write Up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
=== Creating a Page ===&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. T&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470888</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470888"/>
		<updated>2014-12-12T00:08:05Z</updated>

		<summary type="html">&lt;p&gt;Jp806: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
==== Creating a page: ====&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.  &lt;br /&gt;
  &lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. T&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470887</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470887"/>
		<updated>2014-12-12T00:07:25Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Course Materials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.  &lt;br /&gt;
  &lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
==== Creating a page: ====&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. T&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470886</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470886"/>
		<updated>2014-12-12T00:06:38Z</updated>

		<summary type="html">&lt;p&gt;Jp806: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
=== Assessment === &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.  &lt;br /&gt;
  &lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
==== Editing a Wiki ====&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
==== Creating a page: ====&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. T&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470885</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470885"/>
		<updated>2014-12-12T00:04:23Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Editing a Wiki */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
== Assessment == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.  &lt;br /&gt;
  &lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
==== Creating a page: ====&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
===Editing a Wiki ===&lt;br /&gt;
An [[Mod:inorganic_wiki_page_instructions|introductory tutorial]] is available which complements the information here.&lt;br /&gt;
*A [http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet cheatsheet] summarises the commands with a  [[It:projects|playpen]] for playing. You can write your report by simply typing the appropriate text as shown in the cheatsheet, or by using the  WikEd buttons in  Word-style composition.&lt;br /&gt;
*[[Image:report12345.jpg|right|thumb|The editing environment]]You will need to create a separate report page on this Wiki for each module of the course. Keep its location private (i.e. do not share the URL with others).&lt;br /&gt;
*The WikED toolbar along the top of the page has a number of tools for: &lt;br /&gt;
**adding citation references, &lt;br /&gt;
**superscript and subscripting (the  H&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;O WikEd symbol will automatically do this for a formula), &lt;br /&gt;
**creating tables&lt;br /&gt;
**adding links (Wiki links are internal, External links do what they say on the tin)&lt;br /&gt;
**# local to the wiki, as  &amp;lt;nowiki&amp;gt;[[mod:writeup|text of link]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# remote, as  &amp;lt;nowiki&amp;gt;[http://www.webelements.com/ text of link]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Interwiki, as  &amp;lt;nowiki&amp;gt;[[w:Mauveine|Mauveine]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# DOI links are invoked using the  DOI template  &amp;lt;nowiki&amp;gt;{{DOI|..the doi string ..}}&amp;lt;/nowiki&amp;gt; or the more modern form   &amp;lt;nowiki&amp;gt;[[doi:..the dpi string..]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# Links to an Acrobat file you have previously uploaded to the  Wiki can be invoked using this template: &amp;lt;nowiki&amp;gt;{{Pdf|tables_for_group_theory.pdf|...description of link ...}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**# There are lots of other [[Special:UncategorizedTemplates|templates]] to make your life easier such as the [[w:Template:Chembox|ChemBox]]&lt;br /&gt;
**If you need some help, invoke it from the left hand side of this page.&lt;br /&gt;
*Upload all graphics files also with unique names (so that they do not conflict with other people&#039;s names). If  you are asked to replace an image, &#039;&#039;&#039;REFUSE&#039;&#039;&#039; since you are likely to be over-writing someone else&#039;s image! &lt;br /&gt;
** Invoke such an uploaded file as  &amp;lt;nowiki&amp;gt;[[image:nameoffile.jpg|right|200px|Caption]] &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
**We support WikiComons, whereby images from the [http://commons.wikimedia.org/wiki/Main_Page content (of ~10 million files)] from [http://meta.wikimedia.org/wiki/Wikimedia_Commons Wikimedia Commons Library]  can be referenced for your own document. If there is a name conflict, then the local version will be used before the  Wiki Commons one.&lt;br /&gt;
***To find a file, go to [http://commons.wikimedia.org/wiki/Main_Page Commons]&lt;br /&gt;
***Find the file you want using the search facility&lt;br /&gt;
***Invoke the top menu, &#039;&#039;&#039;use this file in a Wiki&#039;&#039;&#039;, and copy the string it gives you into your Wiki page&lt;br /&gt;
***  &amp;lt;nowiki&amp;gt;[[File:Armstrong Edward centric benzene.jpg|thumb|Armstrong Edward centric benzene]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Colour can be added (sparingly) using this  {{fontcolor1|yellow|black|text fontcolor}} template.  (invoked as &amp;lt;nowiki&amp;gt;{{fontcolor1|yellow|black|text fontcolor}}&amp;lt;/nowiki&amp;gt; )&lt;br /&gt;
*Save and preview constantly (this makes a new version, which you can always revert to).   It goes without saying that you should not reference this page from any other page, or indeed tell anyone else its name.&lt;br /&gt;
*&#039;&#039;&#039;Important:&#039;&#039;&#039; Every 1-2 hours, you might also want to make a [[Mod:writeup#Backing_up_your_report|backup of your report]].  This is particularly important when adding  Jmol material, since any error in the  pasted code can result in XML errors. The current  Wiki version does not flag these errors properly, but instead just hangs the page.  Whilst you can try to [[Mod:writeup#Fixing_broken__Pages|repair the page]] as described below, it is much safer to also have a backup!&lt;br /&gt;
*You should get into the habit of recording results, and appropriate discussion, soon after they are available, in the manner of a laboratory note book.==== Editing a Wiki ====&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. T&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470884</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470884"/>
		<updated>2014-12-12T00:03:03Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* The Wiki Format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
== Assessment == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.  &lt;br /&gt;
  &lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
Since everyone is used to using [http://www.wordonwiki.com Microsoft Word], why do we [[talks:rzepa2011|use a  Wiki]] for this course?  Well, the  Wiki format has several advantages.&lt;br /&gt;
#A full revision and fully dated history across sessions is kept (Word only keeps this during a session).  This is more suited for laboratory work,  where you indeed might need to go back to a particular day and experiment to check your notes.&lt;br /&gt;
#The Wiki allows you to include &amp;quot;zoomable&amp;quot; graphics in the form of  SVG (which Gaussview generates), and access to the  17-million large [http://commons.wikimedia.org/wiki/Main_Page WikiCommons] image library, as well as access to the  Wikipedia InterWiki.&lt;br /&gt;
#The [[w::Help:Template|template]] concept allows pre-formated entry. There are lots of powerful [[w:Category:Chemical_element_symbol_templates|chemical templates]] available.&lt;br /&gt;
#Autonumbered referencing, and particularly cross-referencing, is actually easier than using  Word.&lt;br /&gt;
#You (and the graders) can access your report anywhere online,  it is not held on a local hard drive which you may not have immediate access to.&lt;br /&gt;
#It has automatic date and identity stamps for ALL components. &lt;br /&gt;
#And finally, Wiki is an example of a [http://en.wikipedia.org/wiki/Markdown MarkDown] language, one designed to facilitate writing using an easy-to-read, easy-to-write plain text format (with the option of converting it to structurally valid XHTML).&lt;br /&gt;
&lt;br /&gt;
==== Creating a page: ====&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
==== Editing a Wiki ====&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. T&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470883</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470883"/>
		<updated>2014-12-12T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Course Materials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
== Assessment == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.  &lt;br /&gt;
  &lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
=== The Wiki Format ===&lt;br /&gt;
&lt;br /&gt;
==== Creating a page: ====&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
==== Editing a Wiki ====&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. T&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470882</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470882"/>
		<updated>2014-12-11T23:58:19Z</updated>

		<summary type="html">&lt;p&gt;Jp806: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Write Up ==&lt;br /&gt;
&lt;br /&gt;
== Assessment == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This lab has been designed so that you can improve your measurement and data handling skills whilst at the same time understanding that instruments such as a UV-Vis spectrometer should not be treated as a black box. As such no formal mark will be given but rather the groups will be judged based on spectrometer design, discussions with assessor, and quality of experimental data. The winning teams will receive a departmental certificate and vouchers.  &lt;br /&gt;
  &lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. To submit a wiki link you:&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470881</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470881"/>
		<updated>2014-12-11T23:55:58Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Experimental Objectives and Timetable */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Proposed Timetable===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. To submit a wiki link you:&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470880</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470880"/>
		<updated>2014-12-11T23:55:06Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Experimental Objectives */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives and Timetable==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four parts:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol style=&amp;quot;list-style-type: lower roman&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Building of a UV-Vis spectrometer&amp;lt;/b&amp;gt; using a combination of optical components, computer acquisition hardware, and LEGO!&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;How low can you go?&amp;lt;/b&amp;gt; Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Recording of a complete UV-Vis Spectrum&amp;lt;/b&amp;gt; of Methylene Blue. Results to be compared using a commercial instrument.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;Following a reaction&amp;lt;/b&amp;gt; to explore the kinetics of the reduction of methylene blue to leucomethylene blue.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
== Course Materials ==&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. To submit a wiki link you:&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
	<entry>
		<id>https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470879</id>
		<title>Measurement Science Lab: Introduction</title>
		<link rel="alternate" type="text/html" href="https://chemwiki.ch.ic.ac.uk/index.php?title=Measurement_Science_Lab:_Introduction&amp;diff=470879"/>
		<updated>2014-12-11T23:36:10Z</updated>

		<summary type="html">&lt;p&gt;Jp806: /* Safety */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==People Involved==&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;centre&amp;quot; &lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
 | &#039;&#039;&#039;Course Co-ordinator:&#039;&#039;&#039; |||| Dr. Joshua Edel || ||joshua.edel@imperial.ac.uk&lt;br /&gt;
 |-&lt;br /&gt;
|  || ||Dr. Kristelle Bougot-Robin || ||k.bougot-robin@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Demonstrators:&#039;&#039;&#039; || ||Silvia Di-Lecce || ||silvia.di-lecce12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Raquel Fraccari || ||r.fraccari12@imperial.ac.uk &lt;br /&gt;
|-&lt;br /&gt;
| |||| Markéta Kubánková || ||m.kubankova13@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Ali Magness || ||alastair.magness12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| || ||Hugh Sowley || ||hugh.sowley12@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Technicians:&#039;&#039;&#039; |||| Simon Bastians || ||s.bastians@imperial.ac.uk&lt;br /&gt;
|- &lt;br /&gt;
||| ||DeeJay Kristnah || ||d.kristnah@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
||| ||Simon Turner || ||s.t.turner@imperial.ac.uk&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&lt;br /&gt;
The lab course is designed to be an enjoyable experience however as with any lab course safety is the number one priority and there are some simple safety rules:&lt;br /&gt;
&lt;br /&gt;
#YOU MUST WEAR A LAB COAT AND GOOGLES AT ALL TIMES IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT EAT OR DRINK IN THE LABORATORY OR BRING ANY FOOD IN WITH YOU.&lt;br /&gt;
&lt;br /&gt;
#YOU MUST NOT USE YOUR MOBILE PHONE IN THE LABORATORY.&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
== Experimental Objectives ==&lt;br /&gt;
&lt;br /&gt;
The experiment is divided into four part. &lt;br /&gt;
&lt;br /&gt;
Part I: Building of a UV-Vis spectrometer using a combination of optical components, computer acquisition hardware, and LEGO!&lt;br /&gt;
&lt;br /&gt;
Part II: How low can you go? Optimisation of the sensitivity and maximising the signal to noise using the dye Methylene Blue.&lt;br /&gt;
&lt;br /&gt;
Part III: Recording of a complete UV-Vis Spectrum of Methylene Blue. Results to be compared using a commercial instrument.&lt;br /&gt;
&lt;br /&gt;
Part IV: &#039;&#039;&#039;KINETIC EXP - TO BE COMPLETED&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Course Materials ===&lt;br /&gt;
&lt;br /&gt;
As well as this Wiki there is a [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf lab manual]. This wiki contains the instructions from the manual as well as downloads of iPython notebooks for use in data analysis and more information about the hardware and software available to you. Please supplement the information on the wiki and in the manual with your own research.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Course Timetable ===&lt;br /&gt;
&lt;br /&gt;
This lab is designed as a &#039;&#039;&#039;problem solving exercise&#039;&#039;&#039; and will run for 2 weeks. There is only one experiment in this lab that is to build and test a spectrometer based on the information held in this lab manual. The lab is designed to take the full 2 weeks and we recommend that you plan you time carefully a proposed time plan could be:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!  &lt;br /&gt;
! Monday &lt;br /&gt;
! Tuesday &lt;br /&gt;
! Thursday &lt;br /&gt;
! Friday&lt;br /&gt;
|-&lt;br /&gt;
! Week 1 &lt;br /&gt;
|| Initial Spectrometer Design ||  Build and Improve Initial Design ||  Perform Concentration Studies || Optimise Spectrometer &lt;br /&gt;
|-&lt;br /&gt;
! Week 2 &lt;br /&gt;
||Perform concentration studies || Generate Absorbance spectra  ||  Comparison with commercial instrument || Present final design&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Equipment ===&lt;br /&gt;
The exact setup for this experiment is largely left up to the student, with some guidelines provided within sections that must be completed in order to proceed. The following equipment should be at the experimenter’s disposal: &lt;br /&gt;
&lt;br /&gt;
LIST ALL COMPONENTS IN KIT&lt;br /&gt;
=== Assessment ===&lt;br /&gt;
&lt;br /&gt;
The lab course will be assessed by judging the final spectrometer that you design, it is important that you are able to present details of your design iterations and the results that you have obtained. To do this you &#039;&#039;&#039;must&#039;&#039;&#039; keep and present a detailed lab book, the form of your final report is left up to you to decide in your group you can give a short (10 slides maximum) Powerpoint presentation, submit a written report or submit a wiki link. To submit a wiki link you:&lt;br /&gt;
# In the address box, type something like &#039;&#039;&#039;wiki.ch.ic.ac.uk/wiki/index.php?title=MSL:XYZ1234&#039;&#039;&#039; &lt;br /&gt;
#The characters &#039;&#039;&#039;MSL&#039;&#039;&#039; indicate a report associated with the Measurement Science Lab and  &#039;&#039;&#039;XYZ1234&#039;&#039;&#039; is your secret password for the report. It can be any length, but do not make it too long! It should then tell you there is no text in this page. If not, try another more unique password. You should now click on the &#039;&#039;&#039;edit this page&#039;&#039;&#039; link to start. Use a different address for each module of the course you are submitting.&lt;br /&gt;
#It is a &#039;&#039;&#039;good idea&#039;&#039;&#039; to add a bookmark to this page, so that you can go back to it quickly.&lt;br /&gt;
&lt;br /&gt;
== Safety ==&lt;br /&gt;
&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
This lab course is designed to be one that you enjoy however &#039;&#039;&#039;safety&#039;&#039;&#039; is still paramount, please follow these simple rules to keep yourself and others safe. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;YOU MUST WEAR A LAB COAT AND SAFETY GLASSES AT ALL TIMES IN THE LAB.&lt;br /&gt;
* You must not eat or drink in the lab, or bring any food in with you.&lt;br /&gt;
* The use of mobile phones is not allowed in the lab.&lt;br /&gt;
* The saftey regulations given to you at the beginning of the Foundation Course still apply.&lt;br /&gt;
* You must carry out a risk assessment and get it signed before beginning any practical work&lt;br /&gt;
* test&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In addition to these rules you must refresh yourself of all the safety regulations from the Foundation Laboratory Course and complete a risk assessment before carrying out any practical work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&#039;&#039;&#039;If you do not follow these simple safety instructions you will be asked to LEAVE the lab.&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Brief ==&lt;br /&gt;
&lt;br /&gt;
In this lab course you will build your own spectrometer that must be able to:&lt;br /&gt;
#Record the absorbance spectrum for a range of concentrations;&lt;br /&gt;
#Record the angular dependence of absorbance;&lt;br /&gt;
#Follow a colour change reaction.&lt;br /&gt;
&lt;br /&gt;
To build your spectrometer you will be supplied with a photodiode, a box of Lego, a black out cloth, a light source, a multi-meter, a power source and a Raspberry Pi. You can use as many or as few of these items as you like, you are also welcome to make additions to the kit. In some circumstance we may even be able to order additional parts at your request if you can justify their procurement. This lab course is about problem solving and therefore the lab script is not traditional and does not give you a list of steps to follow. Instead it gives an overview of the key parts of a spectrometer and the main points you need to think about in your design.&lt;br /&gt;
&lt;br /&gt;
== Designing a Spectrometer ==&lt;br /&gt;
&lt;br /&gt;
All spectrometers have four basic components, a light source, a monochromator or diffraction grating, a detector and a device to read the detected signal. Before you begin building your spectrometer it is important that you design your spectrometer to make sure it will fulfil the brief’s requirements. This lab course is designed as a problem solving activity so this manual will not tell you how to build a spectrometer but will give you guidance and advice so that your spectrometer is as effective as possible. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMAGE OF SPECTROMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Lego is for you to build the structure of your spectrometer the spatial design of your spectrometer is up to you. However, remember that it &#039;&#039;&#039;must&#039;&#039;&#039; be able to record a spectrum as a function of angle. The light source is powered by a battery pack and used to provide a broadband beam, this is a fixed part and your group must decide how to include it in your design. The diffraction grating is supplied as a monochromator and should be placed after the sample but before the photodiode. The photodiode is used to convert a photon count into a voltage that can be recorded to construct a spectrum. The device that you use to record the voltage can be either a multimeter or a Raspberry Pi. &#039;&#039;&#039;We strongly advise that you build and test your device with a multimeter before moving to a Raspberry Pi.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The photospectrometer that you create must be able to approximate the extinction co-efficient for a range of substances. This is a simple process that can be calculated from the gradient of a plot of absorbance against concentration by applying the Beer-Lambert Law:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = \varepsilon c l&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the absorbance,  &amp;lt;math&amp;gt;\varepsilon&amp;lt;/math&amp;gt; is the extinction co-efficient,&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is the concentration and &amp;lt;math&amp;gt;l&amp;lt;/math&amp;gt; is the path length. A plot of absorbance against concentration will give a straight-line  which can be fit to &amp;lt;math&amp;gt;y=mx&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;m=\varepsilon l&amp;lt;/math&amp;gt;can be obtained. The path length is the size of your cuvette and so the extinction co-efficient is readily found.  The Beer-Lambert law is not applicable at all concentrations since the absorbance will plateau at some concentration rather than continue to infinity. The absorbance is related to the intensity of light:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A = -\log_{10}\left|\frac{I}{I_0}\right| = \log_{10}\left|\frac{I_0 - I_B}{I - I_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The intensity of the light, &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, is normalised to the intensity recorded for the solvent (or when the concentration is zero), &amp;lt;math&amp;gt;I_0&amp;lt;/math&amp;gt;. The photodiode will produce some voltage even in the dark this is known as the dark count, &amp;lt;math&amp;gt;I_d&amp;lt;/math&amp;gt;, and should be subtracted from each reading. The photodiode converts intensity or photon count into a voltage and therefore  can be universally replaced with  for voltage to give:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;A =  \log_{10}\left|\frac{V_0 - V_B}{V - V_B}\right|&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The light source that you are using is a broadband source that emits white light this light is made up of a spectrum. As the light passes through the sample one particular frequency of light will be absorbed as it provides the required energy for an electronic transition. The light absorbed by solutions of a particular colour can be found from the [http://www.chemguide.co.uk/inorganic/complexions/colour.html chemistry colour wheel]. A solution of one colour absorbs light of the opposite colour on the colour wheel. To make reduce the signal to noise ratio it is better to concentrate only the frequencies that you are interested in, so if you had a violet solution you would want to record the change in the intensity of yellow light for the optimal result. In a spectrometer the component that selects wavelength is known as a monochromator, the monochromator you will be using a diffraction grating as a monochromator. This delivers a particular wavelength, &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;, based on the angle of the light passing from the grating, &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;, and the periodicity of the diffraction grating, &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align=&amp;quot;center&amp;quot;&amp;gt;&amp;lt;math&amp;gt;d\sin\theta_m = m\lambda&amp;lt;/math&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;\pm m&amp;lt;/math&amp;gt; since the sine function is odd the &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt; symbol can be dropped and &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt;, so the wavelength that will be transmitted after light has passed through your diffraction grating is &amp;lt;math&amp;gt;\lambda = d\sin\theta&amp;lt;/math&amp;gt;. So if we had a diffraction grating with a period of 1000 nm and were interested in a violet solution we would want our photodiode to be at an angle of 35&amp;lt;math&amp;gt;o&amp;lt;/math&amp;gt; relative to the sample so that it would be detecting the change in yellow light ( 570-590 nm). You must look at the colour of the solution you are testing then position your diode at the optimal angle. This means that your diode must be fixed to a moving arm that is capable of sweeping across a range of angles something that is also vital for task 2. Using this information you should design a spectrometer, remember that science is an iterative process, so you should design, build, test and improve your spectrometer to achieve the optimal results.&lt;br /&gt;
&lt;br /&gt;
==Recording Voltage ==&lt;br /&gt;
&lt;br /&gt;
To turn your spectrometer into a useful device you must connect the photodiode to something that is able to record voltage. In the first instance you should use a multimeter and record the voltage from your photodiode and then analyse the data to produce plots and fits. An [http://www.ch.ic.ac.uk/tcpt/downloads/Measurement_Science_Lab_Manual.pdf iPython Notebook] for this course is available from the wiki, however you are free to use any program you like. After you have completed your tests think about how to improve your spectrometer. Once you have a design that you are happy with and that satisfies the brief then you can upgrade your multimeter to a Raspberry Pi and use this to record your voltage and analyse the data on the fly.&lt;br /&gt;
&lt;br /&gt;
=== Using a Multimeter ===&lt;br /&gt;
&lt;br /&gt;
Connect the red input to the red diode output and black input to the black diode output. Make sure the multi-meter is set to mV and then record the voltages on the screen in your lab book. &lt;br /&gt;
&lt;br /&gt;
=== Using a Raspberry Pi ===&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
[[File:Raspberry_Pi_B+_top.jpg|thumb|center|300px|]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Once you are at the stage where you are ready to use a Raspberry Pi please follow these [[Measurement_Science_Lab:_Raspberry_Pi| instructions]] on how to use and setup a Raspberry Pi.&lt;br /&gt;
&lt;br /&gt;
== The Reactions to Study ==&lt;br /&gt;
&lt;br /&gt;
=== Concentration Studies ===&lt;br /&gt;
=== Angular Dependence Studies ===&lt;br /&gt;
=== Following a Reaction ===&lt;br /&gt;
&lt;br /&gt;
== Mark Scheme ==&lt;/div&gt;</summary>
		<author><name>Jp806</name></author>
	</entry>
</feed>