Labii Blogs
HomeFree SignupFree Demo
  • Index
  • News
    • Labii: The Best ELN for ELISA Data Analysis
    • Introducing Labii’s Mouse Colony Management: Streamlining mouse colony tracking for research lab
    • 2024-11-04 Introducing Labii’s New API Documentation: Your Guide to Seamless Integration
    • 2024-06-09 Introducing Labii v10.0.0: A Revamped User Interface for Enhanced Research Experience
    • 2023-11-1 Revolutionizing Scientific Research: The Vitality Robotics & Labii Partnership
    • 2023-09-15 Labii's Cutting-Edge Data Center Launches in Hong Kong, Marking Chinese Market Entry
    • 2023-01-09 Labii Partners with Beijing Topbiox to Introduce Labii ELN and LIMS to the Chinese Market
    • 2022-06-22 Labii ELN & LIMS Joins the Tetra Partner Network to Help Pharmaceutical Customers
    • 2022-01-19 Labii Made A Contribution To The Leukemia And Lymphoma Society To Fight Cancer
    • 2020-11-22 Labii ELN & LIMS Opens A New Data Center In Europe
    • 2020-09-12 Announcing An Exciting Partnership With QB3
    • 2020-01-22 Labii Will Now Offer ELN & LIMS To All MBC BioLabs Startups
    • 2019-07-31 Labii ELN & LIMS Is Nominated For The Outsell 300
    • 2019-01-06 Announcing The Historic Partnership Between Labii And Hanhai Biolabs
    • 2017-08-18 Labii Presents To Tasly Pharmaceutical Group
    • 2017-06-23 Labii At 2017 Biopacific Conference
    • 2016-05-28 NSF Funded
    • 2016-01-17 Labii At Wuxi Global Forum
    • 2015-11-22 Interview At Plug And Play
    • 2015-11-15 Labii LLC Is Now Labii Inc
    • 2015-10-06 Labii Presents In Stanford Chinese Students And Scholars Symposium
    • 2015-08-10 Labii After Icorps Special Forces Now
    • 2015-05-15 Labii Scientific Paper Commenting And Rating Platform Has Been Selected As One Of The Top
    • 2015-05-11 Labii To Attend 3DS Stanford
    • 2015-03-23 Labii Makes Debut In ACSSS Career Fair Stanford University
    • 2015-03-15 Join Labii At Stanford University ACSSS Career Fair
  • Feature updates
    • Unlocking the Power of Labii CRM: A Fully Integrated Customer Management Solution
    • 2024-11-29 A Comprehensive Guide to Permission Settings in Labii
    • 2024-10-27 Integrating QuickBooks with Labii: A Powerful Solution for Streamlined CRM and Finance
    • 2024-07-27 Willkommen! Labii Now Supports Deutsch (German) Language
    • 2024-04-14 Streamline Your Sample Testing Workflow with Labii LIMS for Sample Testing
    • 2024-04-04 Introducing Labii's New Calendar Integration Feature: Seamlessly Sync Your Lab Records
    • 2024-03-26 Labii's New Field Function: Advancing Scientific Data Capture and Calculation
    • 2024-03-04 Enhancing Laboratory Efficiency: Introducing Inventory Usage Tracking with Labii
    • 2024-02-05 Labii's New AI QA Feature Integration in In-Page Documentation
    • 2024-01-22 Labii LIMS for Next-Generation Sequencing (NGS): Streamlining Efficiency in the Lab
    • 2023-10-03 Streamline Your Lab Workflow with Labii Equipment Scheduling
    • 2023-08-01 Introducing Labii v9.0.0: Unleashing the Power of Local Version and AI Features!
    • 2023-07-17 Labii's Local Data Center: Empowering Data Control and Security
    • 2023-06-27 Labii CRM Now Fully Supports Stripe API for Invoice Payment
    • 2023-06-13 Introducing Labii's Desktop and Mobile Applications for Enhanced Data Management
    • 2023-05-09 The Future of Research: Exploring the Benefits of Labii ELN and ChatGPT
    • 2023-04-08 Labii's Steps Widget: Ultimate Tool for Organizing and Tracking Experimental Processes
    • 2023-02-28 Efficiently Connect External Data Sources with Labii API Widget for Research Management
    • 2023-02-26 Introducing Labii ELN & LIMS 8.0
    • 2023-01-29 Simplifying Data Transfer With The Labii Serial Port Widget
    • 2023-01-24 Efficiently Tracking And Managing Research Tasks With Labii
    • 2023-01-14 Use Labii As Diabetes Tracker
    • 2023-01-10 Automatic Your Pipeline With Workflows In Labii LIMS
    • 2022-10-27 Barcode System In Labii LIMS
    • 2022-10-11 Utilize Labii LIMS For Diagnostic Testing
    • 2022-09-21 Introducing Labii ELN & LIMS 7.0
    • 2022-08-19 Sample Storage Management In Labii LIMS
    • 2022-07-14 Table List View Vs Project List View In Labii ELN & LIMS
    • 2022-07-11 User Management In Labii Electronic Lab Notebook And LIMS
    • 2022-06-16 Managing Permissions, Sharing, And Collaborating In Labii ELN & LIMS
    • 2022-06-06 Signing And Witnessing In Labii Electronic Lab Notebook (ELN)
    • 2022-05-09 3 Methods To Create New Entries In Labii Electronic Lab Notebook (ELN)
    • 2022-04-30 How To Document Research Data With Electronic Lab Notebook (ELN) For R&D And Production
    • 2022-01-26 Permission Control In ELN & LIMS: Top-down Vs. Bottom-up
    • 2021-11-26 Introducing Labii 6.0
    • 2021-06-13 Labii Supports The Chemical Drawing Widgets Of Marvin JS, Kekule.js, JSME And SMILES
    • 2021-06-12 Labii Added Files Importing Function For Chemical Drawing Widgets
    • 2021-05-30 Tickets, Forum, And Requests Were Added To Labii Support Center
    • 2021-05-23 Labii Integrated 4 New Chemical-related Widgets
    • 2021-04-16 New Google Drive Widget
    • 2021-03-26 Enhanced Labii ELN & LIMS Security With Antivirus Scan
    • 2021-03-16 New Version V5.0 Released
    • 2020-11-03 Chemical Registration With Labii ELN & LIMS
    • 2020-10-25 Perform Sample Aliquoting With Labii ELN & LIMS
    • 2020-08-08 What's New With Labii ELN & LIMS Version 4
    • 2020-06-05 Use Labii Scheduling Widget To Maintain Social Distancing While Performing Research
    • 2020-01-31 Labii Supports Chemical Drawing With Marvin JS
    • 2019-08-26 ELISA Standard Curve With Labii ELN & LIMS In 3 Steps
    • 2019-08-21 3 Widgets To Manage Your Barcodes At Labii ELN & LIMS
    • 2019-08-09 New Sketch Widget In Labii ELN & LIMS To Write And Draw
    • 2019-06-04 Labii ELN & LIMS Introduces New Reporting Functionality
    • 2019-06-02 Labii ELN & LIMS (v4) Released
    • 2019-03-09 Labii ELN &LIMS Introduces New Reference Management Function
    • 2019-01-13 Sample Consumption Tracking Functionality In Labii ELN & LIMS
    • 2018-12-19 Enhance Your Labii Electronic Laboratory Notebook (ELN) And LIMS
    • 2018-11-16 Formula Support Added In Labii ELN & LIMS
    • 2018-10-14 Labii Introduces Cutting Edge ELN Feature For The Visualization Of Gene Sequences
    • 2018-08-12 Labii Electronic Lab Notebook For Bioinformatics Data Analysis
    • 2018-06-21 Support Ticket At Labii ELN & LIMS
    • 2018-06-13 Introducing The Design Of Labii ELN & LIMS
    • 2018-05-03 Labii Is Releasing A New Version Of Electronic Lab Notebook v3.0
    • 2018-03-22 Using Blockchain Technology In Electronic Lab Notebook (ELN)
    • 2018-03-14 Pay Per Use Electronic Lab Notebook
    • 2018-02-28 Labii ELN & LIMS v3 Is On Beta Testing
    • 2018-02-18 Text Editor Widgets For Labii Electronic Lab Notebook
    • 2018-01-22 Extend The Usability Of Your Labii ELN Via Widgets
    • 2017-04-19 Labii ELN 2 Is Released
    • 2016-03-08 Updated Landing Page And Data Export
    • 2016-02-29 New Labii Dashboard
    • 2015-12-15 Labii ELN Is Now Completely Table Friendly
    • 2015-11-10 New Feature To Import Your Word Documents To Labii ELN
    • 2015-11-03 Security Of Labii Electronic Lab Notebook
    • 2015-09-20 Labii Electronic Lab Notebook Is Now In Beta Testing
    • 2015-09-02 Labii ELN Is On Alpha Testing
  • Customer stories
    • 2023-10-15 Streamline Customer Follow-up Emails with Labii's Process Management
    • 2023-07-23 The Importance of ELN in Academic Research: Lessons from Stanford President's Resignation
    • 2022-08-02 Avoid Research Fraud By Publishing Raw Scientific Data With Labii Electronic Lab Notebook
    • 2022-03-13 What Should You Expect To Pay For An Electronic Lab Notebook
    • 2020-02-06 Labii ELN & LIMS Facilitates Infectious Disease Research
    • 2019-12-13 What Should You Do When Your Scientists Don't Keep Their Lab Notebooks Updated?
    • 2018-10-23 Recent Scientific Fraud In Cardiac Stem Cell Research, How Labii ELN & LIMS Can Help Avoi
    • 2018-10-22 4 Steps To Pick An Electronic Laboratory Notebook (ELN) That’s Perfect For You
    • 2018-08-01 Prevent And Effectively Stop Vaccine Crisis With Labii ELN & LIMS
    • 2018-06-21 Alternative Solutions To Top 3 Barriers When Switching From Paper To ELN
    • 2018-02-24 Resolve R&D Bottleneck With Labii ELN & LIMS
    • 2018-01-18 3 Reasons An ELN & LIMS Is Difficult To Meet The Diversity Of Researchers' Interests
    • 2017-08-10 5 Reasons Why You Are Taking Bad Lab Notes
    • 2017-05-15 Here Is Why You Should Never Use Open Source Electronic Lab Notebook
    • 2017-05-04 Increate Competitive Advantage In Biotech With Labii Electronic Lab Notebook
    • 2016-09-16 Labii Helps Dr Haoquan Wu From TTU Health Sciences Center Published A New Article
    • 2016-06-23 A Better Approach For An Incentive Based Approach For Improving Data Reproducibility
    • 2016-06-21 Secrets And Lies Faked Data And Lack Of Transparency Plague Global Drug Manufacturing
    • 2015-07-18 First Research Paper Published Facilitated By Labii
    • 2015-01-22 It Is Time For Labs To Go Digital
  • Product comparisons
    • 2024-10-29 Labii: The Best Affordable Alternative to Benchling for ELN/LIMS
    • 2022-02-02 Here Is Why You Should Choose Labii ELN Over Labfolder
    • 2018-10-04 Labii ELN & LIMS Vs LabWare, Which One Should I Choose?
    • 2018-10-03 Comparative Analysis Of Labii And LabWare In ELN & LIMS
    • 2018-08-30 Comparative Analysis Of Labii ELN & LIMS And Benchling Software Platform
    • 2018-08-30 Labii ELN & LIMS Vs Benchling, Which One Should I Choose?
  • Others
    • Top 10 Electronic Lab Notebooks (ELN) of 2025: Streamline Your Research with Integrated Inventory
    • 2024-07-06 Top 10 Electronic Lab Notebooks (ELNs) in 2024: Enhancing Scientific Documentation
    • 2023-11-08 Revolutionizing Tech Startups: How ChatGPT Transforms the Game
    • 2023-08-23 Setting up CRISPResso2 as an AWS Batch Job: A Comprehensive Guide
    • 2023-08-07 Effortless Data Migration to Labii: Introducing Our Python Toolkit
    • 2023-01-02 Create A Tutorial Video Using Python Scripts And AI
    • 2020-05-22 Why Do I Move Away From Zappa Serverless?
    • 2018-07-29 How To Earn Free Credits From Labii ELN & LIMS
    • 2018-02-05 Is An ELN & LIMS Too Expensive For You?
    • 2016-07-31 LIMS Class Medium Deck
    • 2015-12-07 Advice For Those Who Are Beginning The SBIR Grant Proposal Process
Powered by GitBook
LogoLogo

Company

  • Home
  • Pricing
  • About Us
  • Contact Us

Features

  • Interface
  • Customization
  • Security
  • Widgets

Products

  • Electronic Lab Notebook
  • Laboratory Information Management System
  • Inventory Management
  • Project Management

Connect

  • Login
  • Signup
  • Schedule a demo
  • Youtube

© Labii Inc.

On this page
  • What is serial port?
  • Serial port support in Labii
  • BBC Micro Bit
  • Programming Micro Bits to support serial ports
  • Using the Labii serial port widget to read and write data
  • Other serial port widgets
  • Summary

Was this helpful?

  1. Feature updates

2023-01-29 Simplifying Data Transfer With The Labii Serial Port Widget

2023-01-29

Previous2023-02-26 Introducing Labii ELN & LIMS 8.0Next2023-01-24 Efficiently Tracking And Managing Research Tasks With Labii

Last updated 2 years ago

Was this helpful?

What is serial port?

A is a type of interface that allows communication between a computer and an external device. It transfers data one bit at a time over a single communication line (serial line) and is commonly used to connect a wide range of peripheral devices such as printers, scanners, and other industrial or scientific instruments. Serial ports use either the RS-232 or the RS-485 standard for communication, and are typically accessed through a DB-9 or DB-25 connector on the computer.

There are a variety of research equipment that use serial ports to transfer data. Some examples include:

  1. Spectrometers: Used in chemical and physical research to measure the intensity of light across a range of wavelengths.

  2. Data Loggers: Used in environmental and geological research to record data such as temperature, humidity, and pressure.

  3. Microscopes: Used in biological and medical research to magnify and observe specimens.

  4. Electroencephalography (EEG) Devices: Used in neuroscience research to measure electrical activity in the brain.

  5. Chromatographs: Used in analytical chemistry to separate and analyze compounds in a mixture.

  6. Mass Spectrometers: Used in molecular biology and biochemistry to identify and quantify the components of a sample.

  7. X-ray Diffractometers: Used in materials science research to determine the crystal structure of a sample.

These devices typically use serial ports to transfer data from the equipment to a computer for analysis and storage. The serial port provides a reliable and low-cost means of data transfer that is well suited for many research applications.

Serial port support in Labii

To help researchers to easily communicate with their equipment and retrieve the data needed for their research, Labii provides a for supporting data communication with research equipment. It provides a convenient and efficient means of data transfer that helps researchers focus on their work rather than worrying about the underlying technical details of data transfer.

BBC Micro Bit

The BBC micro bit is a pocket-sized, programmable computer that was developed by the BBC for use in computer education. It has an ARM Cortex-M0 processor, accelerometer, compass, Bluetooth, and several programmable I/O pins. It can be used to create simple interactive projects, from games and music to art and robotics.

Programming Micro Bits to support serial ports

2. Begin by displaying the heart icon, accompanied by the power up start melody, then proceed to configure the serial port. Within the serial port configuration, route all data to the USB and set the baud rate to 9600.

basic.showIcon(IconNames.Heart)
music.startMelody(music.builtInMelody(Melodies.PowerUp), MelodyOptions.Once)
serial.redirect(
	SerialPin.USB_TX,
	SerialPin.USB_RX,
	BaudRate.BaudRate9600
)

3. For button A being pressed, add a high pitch tone, serial write the temperature number, and then display the temperature number.

input.onButtonPressed(Button.A, function () {
    music.playTone(988, music.beat(BeatFraction.Whole))
    serial.writeNumber(input.temperature())
    basic.showNumber(input.temperature())
})

4. For button B being pressed, serial write string “LABII”, and then start melody “ba ding”.

input.onButtonPressed(Button.B, function () {
    serial.writeString("LABII")
    music.startMelody(music.builtInMelody(Melodies.BaDing), MelodyOptions.Once)
})

5. For serial on data received “new line()”, show string for serial read until “new line()”, and then start melody “ba ding”.

serial.onDataReceived(serial.delimiters(Delimiters.NewLine), function () {
    basic.showString(serial.readUntil(serial.delimiters(Delimiters.NewLine)))
    music.startMelody(music.builtInMelody(Melodies.BaDing), MelodyOptions.Once)
})

6. Leave it empty for forever.

basic.forever(function () {
	
})

7. Paired to your micro bit and click Download to program it.

Using the Labii serial port widget to read and write data

  1. Connect your micro bit to your computer

    1. baudRate: A positive, non-zero value indicating the baud rate at which serial communication should be established. Default to 9600.

    2. dataBits: The number of data bits per frame.

    3. stopBits: The number of stop bits at the end of a frame.

    4. parity: The parity mode.

    5. bufferSize: A positive, non-zero value indicating the size of the read and write buffers that should be created. flowControl: The flow control mode.

    1. Open add record form

    2. Click Connect button, in the pomp out, select BBC micro:bit and click Connect

    3. Press button A in the micro bit

    4. You shall hear tone High B and a temperature number displayed in your micro bit. At the same time, your serial port in Labii will display the temperature.

    5. Click Disconnect button to close the connection.

    1. Open a record contains the serial port column,

    2. Click Edit to provide a value “LABII”, click Submit.

    3. Once submitted, the Write button will show up.

    4. Click Write button, in the pomp out, select BBC micro:bit and click Connect

    5. Your micro bit should display “LABII” and play melody “ba ding”

    6. Click Disconnect to close the connection.

Other serial port widgets

To support the research community and simplify data transfer, Labii is dedicated to developing more serial port-related widgets that facilitate communication between Labii and research equipment. By providing a wide range of software solutions for different equipment types, Labii aims to make data transfer more efficient, reliable, and accessible for researchers. This will allow researchers to focus on their work and minimize the time spent on technical details. With a commitment to innovation and an understanding of the research community's needs, Labii is poised to play a vital role in advancing research through improved data communication.

Summary

In this article, I will utilize the to evaluate the capabilities of reading and writing through the serial port.

1. Open

See all source code at

Login to Labii at , add a new column with widget “”.

Click Edit button under Configuration to update the configuration of the serial port. You can update the following parameters:

Read data from micro bit via serial port

Write data to micro bit via serial port

The Labii Serial Port Widget is a software solution for supporting data communication between a computer and research equipment via the serial port. With its intuitive interface and customizable options, the Labii Serial Port Widget streamlines data communication in research and helps researchers focus on their work. To learn more, schedule a meeting with Labii representatives () or create an account () to try it out yourself.

BBC micro bit
https://makecode.microbit.org/#editor
https://github.com/Labii/labii-serialport
https://www.labii.app
Serial Port
https://call.skd.labii.com
https://www.labii.com/signup/
serial port
serial port widget