Difference between revisions of "Fluorescence Microscope"
(Created page with "=== 3D Printed, Raspberry Pi and Arduino-Controlled Fluorescence Microscope === This page serves as a guide to the steps taken to setup the Flypi microscope. Step 1: Set up...") |
|||
Line 24: | Line 24: | ||
Step 4: We will also need some libraries for the LED Ring and LED Matrix we are using. Links to these can be found at the [https://github.com/amchagas/Flypi Github Page]. While you are here, you can download the zip of this Git repository buy clicking on the green clone or download button. Once downloaded, you should extract this folder to your desktop. The folder should be found in your Downloads folder. If you right click on the zip file, then you should receive the option to extract to a location. | Step 4: We will also need some libraries for the LED Ring and LED Matrix we are using. Links to these can be found at the [https://github.com/amchagas/Flypi Github Page]. While you are here, you can download the zip of this Git repository buy clicking on the green clone or download button. Once downloaded, you should extract this folder to your desktop. The folder should be found in your Downloads folder. If you right click on the zip file, then you should receive the option to extract to a location. | ||
+ | |||
+ | You should repeat this procedure for the two Arduino Libraries mentioned above. You will then have to import those libraries into the sketchbook so Arduino recognizes them. To do this, you must extract them, to whatever location. Then rename (right click, rename) to something that doesn't include any hyphens or the word master. You can then import these folders by opening the Arduino IDE and selecting Sketch --> Import Library... --> Add Library... | ||
Step 5: Type another command into the terminal in order to install the library needed to convert PiCamera output to .avi videos. The command is: | Step 5: Type another command into the terminal in order to install the library needed to convert PiCamera output to .avi videos. The command is: |
Revision as of 19:16, 26 July 2018
3D Printed, Raspberry Pi and Arduino-Controlled Fluorescence Microscope
This page serves as a guide to the steps taken to setup the Flypi microscope.
Step 1: Set up the Pi by downloading NOOBS/Raspbian OS... (This will take a decent amount of time ~ 20 minutes). Once finished, set up your pi by walking through the "Welcome to Raspberry Pi" screen.
Username: pi
Password: microscope
Once you're finished being welcomed to the world of Raspberry Pi, the Pi will restart.
Step 2: Once connected to a Wifi network, open up a terminal. Type the following commands into the terminal:
sudo apt-get update
sudo apt-get upgrade
Step 3: Download the Arduino IDE.
Type the following command into the terminal window:
sudo apt-get install arduino
Step 4: We will also need some libraries for the LED Ring and LED Matrix we are using. Links to these can be found at the Github Page. While you are here, you can download the zip of this Git repository buy clicking on the green clone or download button. Once downloaded, you should extract this folder to your desktop. The folder should be found in your Downloads folder. If you right click on the zip file, then you should receive the option to extract to a location.
You should repeat this procedure for the two Arduino Libraries mentioned above. You will then have to import those libraries into the sketchbook so Arduino recognizes them. To do this, you must extract them, to whatever location. Then rename (right click, rename) to something that doesn't include any hyphens or the word master. You can then import these folders by opening the Arduino IDE and selecting Sketch --> Import Library... --> Add Library...
Step 5: Type another command into the terminal in order to install the library needed to convert PiCamera output to .avi videos. The command is:
sudo apt-get install libav-tools
also install guac library using:
sudo apt-get update
sudo apt-get install gpac
Step 6: Once everything is installed, you should be able to run the GUI using the following commands in a terminal:
cd ~/Desktop/Flypi-master/Python/
sudo python3 ./run.py
Step 7: