Tagged articles
Serial Communication
16 articles · Page 1 of 1
A comprehensive guide to integrating hardware peripherals — ID card readers, USB Keys, receipt printers, and serial devices — into Spring Boot applications using JNA, covering library mapping, concurrency control, deployment patterns, and testability design.
Hardware IntegrationID Card ReaderJNA
0 likes · 24 min read

This article explains the basics of the MIDI protocol and demonstrates how to use PHP’s serial communication extension to open a serial port, configure it for MIDI, send a Note On message, and close the connection, providing sample code and tips for extending the solution.
MIDIMusic TechnologyPHP
0 likes · 4 min read

This tutorial explains the basics of the MIDI protocol and shows how to use PHP's serial communication extension to open a serial port, construct MIDI Note‑On messages, send them to a music device, and properly close the connection, with suggestions for extending the code.
MIDIMusic TechnologyPHP
0 likes · 4 min read

This article explains how to reconstruct a 32‑bit floating‑point value from four serial bytes in embedded C by using a union or struct overlay, demonstrates the code, shows the resulting little‑endian byte order, and provides a simple function to detect system endianness.
C++Serial CommunicationUNION
0 likes · 5 min read

This article introduces the basics of the MIDI protocol and demonstrates how to use PHP’s serial communication extension to send MIDI messages to musical devices, providing a complete code example and explanations of each step for developers interested in integrating music hardware with PHP applications.
MIDIMusic TechnologyPHP
0 likes · 4 min read

This guide explains how Java can communicate with industrial hardware by using the Modbus protocol with jLibModbus, accessing low‑level registers via JNI, and employing serial‑port libraries such as JSerialComm or RXTX, providing step‑by‑step setup, code examples, dependency configuration, and practical considerations for reliable device integration.
Hardware IntegrationIndustrial IoTJNI
0 likes · 19 min read

This article explains the basics of the MIDI protocol and demonstrates how to use PHP's serial communication library to send MIDI messages to music hardware, providing a complete code example and guidance for extending the implementation.
MIDIMusic TechnologySerial Communication
0 likes · 4 min read

This article explains the basics of the MIDI protocol and demonstrates how to use PHP's serial communication extension to send MIDI messages to musical devices, providing a complete code example and guidance for extending the implementation.
MIDIMusic TechnologyPHP
0 likes · 4 min read

This tutorial walks you through downloading the source, understanding HC‑08 specifications, wiring the module to an STM32F103C8T6 board, using AT commands to configure roles, power modes, and connections, and implementing UART‑based send/receive code to enable bidirectional communication with a mobile app.
AT commandsBluetoothHC-08
0 likes · 23 min read

This article provides a comprehensive overview of serial communication, comparing it with parallel communication, detailing simplex, half‑duplex and full‑duplex modes, and explaining the key characteristics, wiring, and data framing of RS232, RS422, and RS485 interfaces.
RS232RS422RS485
0 likes · 9 min read

This comprehensive guide explains serial communication fundamentals, covering UART/RS‑232/RS‑485 protocols, physical layer standards, baud‑rate calculations, data frame structures, duplex modes, and provides detailed STM32 configuration code for practical embedded development.
RS-232STM32Serial Communication
0 likes · 11 min read

This article explains how to connect and program temperature‑humidity, light, and infrared sensors in PHP‑based IoT projects, covering serial communication setup, Raspberry Pi GPIO handling, data parsing, and sample code for each sensor type.
Raspberry PiSensorsSerial Communication
0 likes · 7 min read

This article provides a comprehensive guide to UART technology, covering its hardware protocol, baud‑rate calculations, RS232/RS485 differences, flow‑control methods, the Linux TTY serial framework with key data structures, driver registration lifecycle, RS485 debugging modes, and a complete C example for configuring and using a serial port on Linux.
Flow ControlRS485Serial Communication
0 likes · 38 min read

Learn step-by-step how to install pyserial, read and write serial data in Python, and use pyqtgraph with threading to create a real-time waveform visualization, including code examples and tips for handling baud rates, timeouts, and data queues.
Serial Communicationpyqtgraphreal-time plotting
0 likes · 11 min read

This article explains the fundamentals of UART as a universal asynchronous receiver/transmitter, compares the electrical and protocol characteristics of RS-232, RS-422, and RS-485 standards, and discusses their performance, wiring, and application considerations in embedded and industrial systems.
Electrical StandardsRS-232RS-485
0 likes · 20 min read

The article details the design, architecture, and operational workflow of hotel self‑check‑in kiosks, covering traditional and self‑service processes, Windows and Android implementations, card‑issuing hardware, ID scanner protocols, printer integration, hardware monitoring, and network deployment strategies for seamless guest check‑in and check‑out.
AndroidHardware IntegrationSerial Communication
0 likes · 11 min read
