<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.jw-tech.eu/index.php?action=history&amp;feed=atom&amp;title=WSAL21648_%E2%80%93_RS485_RS232_HAT%2Fen</id>
	<title>WSAL21648 – RS485 RS232 HAT/en - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.jw-tech.eu/index.php?action=history&amp;feed=atom&amp;title=WSAL21648_%E2%80%93_RS485_RS232_HAT%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.jw-tech.eu/index.php?title=WSAL21648_%E2%80%93_RS485_RS232_HAT/en&amp;action=history"/>
	<updated>2026-10-23T21:51:55Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in JW Tech Wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.jw-tech.eu/index.php?title=WSAL21648_%E2%80%93_RS485_RS232_HAT/en&amp;diff=2528&amp;oldid=prev</id>
		<title>JWTechPublisher: Freigegebene technische Dokumentation veröffentlicht; Text-only und noindex</title>
		<link rel="alternate" type="text/html" href="https://wiki.jw-tech.eu/index.php?title=WSAL21648_%E2%80%93_RS485_RS232_HAT/en&amp;diff=2528&amp;oldid=prev"/>
		<updated>2026-09-06T06:06:31Z</updated>

		<summary type="html">&lt;p&gt;Freigegebene technische Dokumentation veröffentlicht; Text-only und noindex&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOINDEX__&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Documentation notice:&amp;#039;&amp;#039;&amp;#039; This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
The Waveshare RS485 RS232 HAT is an isolated expansion module for the 40-pin GPIO interface of Raspberry Pi boards. It uses a multi-chip combination of SC16IS752, SP3485 and SP3232 to enable both RS485 and RS232 communication via SPI (up to 921600 baud). The module features built-in power isolation, ADI magnetic coupling, TVS, fuse and protection diodes, as well as indicators for supply voltage and serial communication status.&lt;br /&gt;
&lt;br /&gt;
== Related products at JW Tech ==&lt;br /&gt;
* [https://shop.jw-tech.eu/p/WSAL21648 WSAL21648 – Isolated RS485 RS232 Expansion HAT for Raspberry Pi, SPI Control]&lt;br /&gt;
&lt;br /&gt;
== Technical overview ==&lt;br /&gt;
* Based on the 40-pin GPIO interface, suitable for the Raspberry Pi series.&lt;br /&gt;
* Uses SC16IS752 (UART expansion chip), SP3485 (RS485 transceiver) and SP3232 (RS232 transceiver) in a multi-chip combination.&lt;br /&gt;
* Communication rate: 300 to 921600 baud.&lt;br /&gt;
* Operating voltage: 3.3 V / 5 V.&lt;br /&gt;
* Dimensions: 65 mm × 56.5 mm; via diameter: 3.0 mm.&lt;br /&gt;
* RS485 supports manual or automatic transmit/receive switching, configurable via DIP switch.&lt;br /&gt;
* Built-in TVS (transient voltage suppression), resettable fuse and protection diodes guard against overvoltage, overcurrent and static discharge.&lt;br /&gt;
* Onboard indicators for power supply and serial communication simplify status checks.&lt;br /&gt;
* Leads out the SPI control interface for easy access from main control boards such as Arduino.&lt;br /&gt;
* Provides complete supporting information manuals (C and Python sample programs and user manuals).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Commands and examples – verify before use:&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
sudo nano /boot/config.txt&lt;br /&gt;
dtoverlay=sc16is752-spi1,int_pin=24&lt;br /&gt;
sudo reboot&lt;br /&gt;
ls /dev&lt;br /&gt;
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.71.tar.gz&lt;br /&gt;
tar zxvf bcm2835-1.71.tar.gz&lt;br /&gt;
cd bcm2835-1.71/&lt;br /&gt;
sudo ./configure &amp;amp;&amp;amp; sudo make &amp;amp;&amp;amp; sudo make check &amp;amp;&amp;amp; sudo make install&lt;br /&gt;
sudo apt-get install wiringpi&lt;br /&gt;
wget https://project-downloads.drogon.net/wiringpi-latest.deb&lt;br /&gt;
sudo dpkg -i wiringpi-latest.deb&lt;br /&gt;
gpio -v&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install python-pip&lt;br /&gt;
sudo pip install RPi.GPIO&lt;br /&gt;
sudo apt-get install python-serial&lt;br /&gt;
sudo apt-get install python3-pip&lt;br /&gt;
sudo pip3 install RPi.GPIO&lt;br /&gt;
sudo apt-get install python3-serial&lt;br /&gt;
sudo apt-get install p7zip-full&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes and version constraints ==&lt;br /&gt;
* The exact pinout of the IRQ pin depends on the actual soldering method; int_pin must be adjusted accordingly.&lt;br /&gt;
* For Ubuntu Bullseye systems, &amp;#039;apt-get&amp;#039; must be replaced with &amp;#039;apt&amp;#039;; only Python3 is supported and wiringPi is absent.&lt;br /&gt;
* On the Raspberry Pi system dated 2020-05-27, gpiochip3 did not become gpiochip2.&lt;br /&gt;
* For the C and Python demos, an additional RS485-to-serial-port module connected to channel 1 is required to see the effect; test.py requires channel 1 and channel 2 to be connected.&lt;br /&gt;
* If RS485 communication is abnormal: Check whether A and B of the 485 lines match the controlled 485 devices, first use a USB-to-RS485 device to communicate with the module to ensure the Raspberry Pi settings are correct, and check the parity bit settings of the serial communication parameters.&lt;br /&gt;
* The config.txt file cannot be changed directly on the Raspberry Pi; it must be edited via a card reader on a computer.&lt;br /&gt;
&lt;br /&gt;
== Source and revision record ==&lt;br /&gt;
* [https://www.waveshare.com/wiki/RS485_RS232_HAT RS485 RS232 HAT - Waveshare Wiki]&lt;br /&gt;
* Source revision: 84536&lt;br /&gt;
* Captured: 2026-09-03T03:09:25+00:00&lt;br /&gt;
* SHA-256: &amp;lt;code&amp;gt;2b46fb951a3ba97f75cc014bdb039837a033776effd9335470f8bee0e309c559&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>JWTechPublisher</name></author>
	</entry>
</feed>