<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Serial Port on BatSTEM Academy</title><link>https://docs.batstem.com/en/tags/serial-port/</link><description>Recent content in Serial Port on BatSTEM Academy</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 16 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://docs.batstem.com/en/tags/serial-port/index.xml" rel="self" type="application/rss+xml"/><item><title>L6: The serial port</title><link>https://docs.batstem.com/en/docs/l6-the-serial-port/</link><pubDate>Wed, 02 Apr 2025 00:00:00 +0000</pubDate><guid>https://docs.batstem.com/en/docs/l6-the-serial-port/</guid><description>&lt;h1 id="the-serial-port">The serial port&lt;a class="td-heading-self-link" href="#the-serial-port" aria-label="Heading self-link">&lt;/a>&lt;/h1>
&lt;h2 id="what-you-will-learn-in-this-lesson">What you will learn in this lesson&lt;a class="td-heading-self-link" href="#what-you-will-learn-in-this-lesson" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>In this lesson, we will cover:&lt;/p>
&lt;ul>
&lt;li>What a serial communication port is.&lt;/li>
&lt;li>How to use it to send information to the development board and receive information from it.&lt;/li>
&lt;li>How to use it to monitor and debug our programs.&lt;/li>
&lt;li>Using variables.&lt;/li>
&lt;/ul>
&lt;h2 id="prerequisites">Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>To follow this lesson, you should have already completed &lt;a href="../l1-internal-led/">&lt;em>Lesson 1: My first project&lt;/em>&lt;/a>, &lt;a href="../l2-the-led-diode/">&lt;em>Lesson 2: The LED diode&lt;/em>&lt;/a>, &lt;a href="../l3-the-led-diode-2/">&lt;em>Lesson 3: The LED diode (2)&lt;/em>&lt;/a>, &lt;a href="../l4-variable-intensity-led/">&lt;em>Lesson 4: Variable-brightness LED&lt;/em>&lt;/a> and &lt;a href="../l5-the-rgb-led/">&lt;em>Lesson 5: The RGB LED&lt;/em>&lt;/a>. In this lesson, we will not add a new electronic component: we will learn to communicate with the board from the computer.&lt;/p></description></item><item><title>P2: Control the RGB LED from your computer</title><link>https://docs.batstem.com/en/docs/p2-serial-controlled-led/</link><pubDate>Thu, 16 Jul 2026 00:00:00 +0000</pubDate><guid>https://docs.batstem.com/en/docs/p2-serial-controlled-led/</guid><description>&lt;h1 id="control-the-rgb-led-from-your-computer">Control the RGB LED from your computer&lt;a class="td-heading-self-link" href="#control-the-rgb-led-from-your-computer" aria-label="Heading self-link">&lt;/a>&lt;/h1>
&lt;h2 id="what-you-will-review-in-this-project">What you will review in this project&lt;a class="td-heading-self-link" href="#what-you-will-review-in-this-project" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>In this project, we will combine what we have learned in previous lessons:&lt;/p>
&lt;ul>
&lt;li>Controlling the red, green and blue channels of an RGB LED.&lt;/li>
&lt;li>Receiving and sending text through the COM port.&lt;/li>
&lt;li>Using a variable to store a message.&lt;/li>
&lt;li>Using conditions to decide what to do based on the command received.&lt;/li>
&lt;/ul>
&lt;h2 id="prerequisites">Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>This project puts into practice the concepts learned in &lt;a href="../l4-variable-intensity-led/">&lt;em>L4: Variable-brightness LED&lt;/em>&lt;/a>, &lt;a href="../l5-the-rgb-led/">&lt;em>L5: The RGB LED&lt;/em>&lt;/a>, &lt;a href="../l6-the-serial-port/">&lt;em>L6: The serial port&lt;/em>&lt;/a> and &lt;a href="../l7-the-pushbutton/">&lt;em>L7: The pushbutton&lt;/em>&lt;/a>.&lt;/p></description></item></channel></rss>