
Daylight Matchstick
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

phenotype-o-mat
Led ring v1 is an open-source printed circuit board by Arcadia-Science, from the Arcadia-Science/arcadia-phenotypeomat-protocol repository on GitHub, published under the MIT licence. It is a 2-layer board of 46.5 × 70.1 mm with 22 parts on 5 nets, routed with 131 tracks and 0 vias.
Its parts include 20 diodes and 1 connector.
This repository contains the firmware and software necessary to aquire data with the Arcadia Phenotype-o-mat. The protocol for building the phenotype-o-mat is available here
This repository uses conda to manage software environments and installations. You can find operating system-specific instructions for installing miniconda here. After installing conda and mamba, run the following command to create the pipeline run environment.
mamba env create -n phenotypeomat --file phenotypeomat.yml
conda activate phenotypeomatThis code also requires the Spinnaker SDK from Flir/Teledyne. The SDK and installation instructure are available here. Note, you must also install the Spinnaker python wheel appropriate for your version of Python and Spinnaker. These are also available through the link above.
The Phenotype-o-mat system is an integrated solution for controlling experimental hardware and acquiring data, particularly designed for use with Blackfly cameras and Arduino-based control systems. This repository includes Arduino sketches for serial communication, a TOML configuration file for system settings, and Python modules for camera control and initialization.
serial_io.ino: Implements basic serial I/O operations for Arduino, facilitating communication between the Arduino and a connected computer.
arduino_control_through_serial.ino: An advanced sketch for controlling various Arduino outputs (e.g., LEDs, motors) through serial commands sent from a computer. This sketch is designed to work in tandem with the Python control scripts, allowing for automated hardware control during data acquisition.
Arduino Setup: Upload the appropriate .ino sketch to your Arduino device. Ensure that the Arduino is connected to your computer and that the correct port and baud rate are set.
System Configuration: Edit the phenotypeomat.toml file to match your system's configuration. Specify device identifiers, operational parameters, and any other necessary settings.
Python Environment: Ensure you have Python 3.9 or later installed. Install required dependencies, including OpenCV and PySpin (PySpin is part of the python wheel associated with the Spinnaker SDK), as well as any others needed by the scripts in this repository.
Running the System: Use the Python scripts to control the system. The scripts will communicate with the Arduino through serial commands and control the cameras based on the settings specified in the TOML file.
All 3d printable physical components of the phenotype-o-mat are available here The printed circuit board can be ordered from here All design files are in this repository in the design_files/ folder.
Currently, the Arduino code allows control of 5 illumination sources: white lite trans-illumination and incident light at 4 wavelengths: 460nm, 535nm, 590nm, and 670nm. Control of the Arduino is mediated by a generic serial communication system to facilitate the addition of other functionality. The assay scripts communicate with the arduino through use of the pySerial module. The Arduino sketches can be modified to add or change hardware control functionalities. Refer to the comments within each sketch for guidance on customization. The current usage is outlined below.
After initializing a serial connection with the arduino (see example assay or pySerial documentation to accomplish this) commands can be sent in the following format:
GET LED_[WAVELENGTH]_STATUS; where wavelength is 460, 535, 590, 670, or TRANS. e.g. GET LED_460_STATUS; will return a 0 (LED is on) or a 1 (LED is off).SET LED_[WAVELENGTH]_STATUS [desired numerical status]; Where wavelength is 460, 535, 590, 670, or TRANS. And 'desired numerical status is either 0 (turn on LED) or 1 (turn off LED e.g. SET LED_460_STATUS 0; will turn on the 460nm LED.GET_AND_SET LED_[WAVELENGTH]_STATUS [desired numerical status]; Where wavelength is 460, 535, 590, 670, or TRANS. And 'desired numerical status is either 0 (turn on LED) or 1 (turn off LED e.g. GET_AND_SET LED_460_STATUS 1;``` Will attempt to turn off the 460 LED and then check the LED status and return the current status. This is helpful to be sure the SET command changed the LED status. bcode_read(): Invoke this function to read barcodes using a USB handheld scanner. It prompts for a barcode scan and returns the scanned code.detect_cams(n=None): Detects the number of connected cameras. Optionally, specify the number of expected cameras with n.ps.System.GetInstance(): Initializes an object to interface between the computer system and the PySpin SDK.system.GetCameras(): Property of a system object that queries the computer system USB and GigE interfaces for Blackfly cameras and returns handles for those cameras in a list.system.ReleaseInstance(): Property of a system object that stops that instance.cam_list.Clear(): Property of a camera list that ends the handlers for those cameras and returns the cameras to a idle state.camera.Init(): Initializes a camera object. Camera objects can be de-initialized and returned to idle state by calling '''del camera'''get_save(cam, wl, device, barcode, delay=None): Acquires an image from the camera after a specified delay and saves it. The function turns on specified illumination, captures the frame, and then turns the illumination off.grab_images(cam): Captures images from the specified camera and returns them along with timestamps.set_resolution(cam, x_dim, y_dim): Sets the dimensions of the acquired image. X and Y dim should be in pixels. cam is a camera object.set_binning(can, x_dim, y_dim): Sets the dimensions of binning. X and Y dim should be in pixels. cam is a camera object.set_gain_mode(cam, mode="once"): Sets the automatic gain mode of the camera. Mode should be once, continuous, or off.get_gain_mode(cam): Returns the current automatic gain mode setting from the camera.set_expos_mode(cam, mode="once"): Sets the automatic exposure mode of the camera. Mode should be once, continuous, or off.set_expos_time(cam, time): Sets a custom exposure time. Expects values in micro seconds.get_auto_exposure(cam): Returns the current autoexposure value determined by the camera in micro seconds.set_framerate(cam, frame_rate=None): sets the framerate set on the camera. frame_rate should be in hz.get_framerate(cam): Returns the current framerate on the camera.save_avi(images, frame_rate=None, barcode=None, prefix=None, path=None, is_color=None): Saves a sequence of images as an AVI file using OpenCV.save_video(images, frame_rate=None, barcode=None, prefix=None, path=None): Saves a list of images as a video file using the Spinnaker SDK.design_files/ Contains design files for the components of the phenotype-o-mat including the printed circuit board.
flir_camera_tools/ Contains the python module to interact with the phenotype-o-mat.
firmware_src/ Contains the firmware to be uploaded to the Arduino which operates the illumination system.
test_assay_growth_curve_chlamy.py Is an example assay for aquiring data from the phenotype-o-mat. It uses much of the currently implemented functionality.
See how we recognize feedback and contributions to our code.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | LED_blue | LED_THT:LED_D5.0mm | D1, D2, D3, D4, D5 |
| 5 | LED_green | LED_THT:LED_D5.0mm | D6, D7, D8, D9, D10 |
| 5 | LED_red | LED_THT:LED_D5.0mm | D16, D17, D18, D19, D20 |
| 5 | LED_yellow | LED_THT:LED_D5.0mm | D11, D12, D13, D14, D15 |
| 1 | Conn_01x05_Male | Connector_Hirose:Hirose_DF13-05P-1.25DS_1x05_P1.25mm_Horizontal | J1 |
| 1 | LOGO | LOGO | G*** |

VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

abhishek-kakkar/BeagleLogic
A Software Suite that implements a logic analyzer with the PRU on the BeagleBone / BeagleBone Black.

Chrismettal/flipper-zero-backpacks
Backpack-style addon boards for the Flipper Zero!



CRImier/MyKiCad
My KiCad boards. Can't be bothered uploading individually anymore, so here you go.
It measures 46.5 × 70.1 mm and has 2 copper layers, 1.6 mm thick.
22 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the Arcadia-Science/arcadia-phenotypeomat-protocol repository on GitHub, at the commit this page was made from: the board is design_files/PCB_design/led_ring_v1/led_ring_v1.kicad_pcb and its schematic design_files/PCB_design/led_ring_v1/led_ring_v1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).