By the end of this section, you will gain experience in the following topics:
- Establishing a serial port connection between the developer’s computer and the Gemstone board using a USB TTL cable.
- Communicating between both computers via a terminal.
- Preliminary preparation for the t3gemstone/examples/serial project.
UART (Universal Asynchronous Receiver-Transmitter)
protocol and is ideal for low-speed data transmission. For example, serial ports are often preferred when
communicating with external modules like GPS or Radio Transmitters.

Todo: Pins where the seriport connection can be made
2
Shell
Create Bash Shell scripts.
3
TTL and Terminal
Connect the developer’s computer and the Gemstone board using a TTL cable and perform data exchange via the Tabby.sh terminal.
1. Creating a Shell Script
Create a script file for opening the serial port and sending data.2. Using a Text Editor
Open theserial-test.sh
file using the nano
text editor from the terminal interface.
serial-test.sh
file.
CTRL+X
, then press Y
to save and exit the nano editor.
3. Running the Shell Script
Make theserial-test.sh
file executable using the chmod
command and start it.