Schlagwort: microscope

  • Using Arduino UNO to sync a visual neuroscience lab

    Using Arduino UNO to sync a visual neuroscience lab

    Reading Time: 3 minutes

    Common research methods to study the visual system in the laboratory include recording and monitoring neural activity in the presence of sensory stimuli, to help scientists study how neurons encode and respond, for example, to specific visual inputs. 

    One of the biggest technical problems in the neural recording setups used in such experiments, is achieving precise synchronization of multiple devices communicating with each other, including microscopes and screens displaying the stimuli, to accurately map neural responses to the visual events.

    For example, in the Rompani Lab, a visual neuroscience laboratory at the European Molecular Biology Laboratory (EMBL) in Rome, the recording system (a two-photon microscope) needs to communicate with the visual stimulation system (composed of two screens) that are used to show visual stimuli while recording neural activity. To synchronize these systems efficiently, they turned to an Arduino UNO Rev3. “Its simplicity, reliability, and ease of integration made it an ideal tool for handling the timing and communication between different devices in the lab,” says Pietro Micheli, PhD student at EMBL Rome. 

    How the setups works

    The Arduino UNO Rev3 is used to signal to the microscope when the stimulus (which is basically just a short video) starts and when it ends. While the microscope is recording and acquiring frames, a simple firmware tells the UNO to listen to the data stream on a COM port of the computer used to control the visual stimulation. 

    Within the Python® script used for controlling the screens, every time a new stimulus starts a command is written on the serial port. The microcontroller reads the command, which can be either ‘H’ or ‘L’, and sets the voltage of the output TTL at pin 9 to 5V or 0V, respectively. This TTL signal goes to the microscope controller, which generates time stamps for the microscope status. These timestamps contain the exact frame numbers of the microscope recording at which the stimulus started (rising edge of the TTL) and ended (falling edge of the TTL).

    All this information is essential for the analysis of the recording, as it allows the researchers at EMBL Rome to align the neural responses recorded to the stimulation protocol presented. Once the neural activity is aligned, the downstream analysis can begin, focusing on understanding the deeper brain activity. 

    Ever wonder what neurons that are firing look like? 

    Micheli shared with us an example of the type of neural activity acquired during an experimental session with the setup described above. 

    The small blinking dots are individual neurons recorded from the visual cortex of an awake, behaving mouse. The signal being monitored is the fluorescence of a particular protein produced by neurons, which indicates their activity level. After the light emitted by the neurons has been recorded and digitised, researchers extract fluorescence traces for each neuron. At this point, they can proceed with the analysis of the neural activity, to try to understand how the visual stimuli shown are actually encoded by the recorded neural population.

    The post Using Arduino UNO to sync a visual neuroscience lab appeared first on Arduino Blog.

    Website: LINK

  • Raspberry Pi High Quality Camera powers up homemade microscope

    Raspberry Pi High Quality Camera powers up homemade microscope

    Reading Time: 3 minutes

    Wow, DIY-Maxwell, wow. This reddit user got their hands on one of our new Raspberry Pi High Quality Cameras and decided to upgrade their homemade microscope with it. The brains of the thing are also provided by a Raspberry Pi.

    Key features

    • Raspberry Pi OS
    • 8 MegaPixel CMOS camera (Full HD 30 fps video)
    • Imaging features from several centimetres to several micrometers without changing the lens
    • 6 stepper motors (X, Y, tilt, rotation, magnification, focus)
    • Variable speed control using a joystick controller or keyboard
    • Uniform illumination for imaging reflective surface
    • Modular design: stages and modules can be arranged in any configuration depending on the application

    Here’s what a penny looks like under this powerful microscope:

    Check out this video from the original reddit post to see the microscope in action.

    Bill of materials

    Click image to enlarge

    The user has put together very detailed, image-led build instructions walking you through how to create the linear actuators, camera setup, rotary stage, illumination, title mechanism, and electronics.

    The project uses a program written in Python 3 (MicroscoPy.py) to control the microscope, modify camera settings, and take photos and videos controlled by keyboard input.

    Click image to enlarge

    Here is a quick visual to show you the exact ports you need for this project on whatever Raspberry Pi you have:

    Click image to enlarge

    In the comments of the original reddit post, DIY_Maxwell explains that $10 objective lens used in the project limited the Raspberry Pi High Quality Camera’s performance. They predict you can expect even better images with a heavier investment in the lens.

    The project is the result of a team at IBM Research–Europe, in Zurich, who develop microfluidic technologies for medical applications, needing to provide high-quality photos and videos of their microfluidic chips.

    [youtube https://www.youtube.com/watch?v=PBSYnk9T4o4]

    In a blog for IEEE Spectrum, IBM team member Yuksel Temiz explains: “Taking a photo of a microfluidic chip is not easy. The chips are typically too big to fit into the field of view of a standard microscope, but they have fine features that cannot be resolved using a regular camera. Uniform illumination is also critical because the chips are often made of highly reflective or transparent materials. Looking at publications from other research groups, it’s obvious that this is a common challenge. With this motivation, I devoted some of my free time to designing a multipurpose and compact lab instrument that can take macro photos from almost any angle.”

    Here’s the full story about how the Raspberry Pi-powered creation came to be.

    And for some extra-credit homework, you can check out this document comparing the performance of the microscope using our Raspberry Pi Camera Module v2 and the High Quality Camera. The key takeaway for those wishing to upgrade their old projects with the newer camera is to remember that it’s heavier and 50% bigger, so you’ll need to tweak your housing to fit it in.

    Website: LINK