<?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=WSAL16138_%E2%80%93_Pan-Tilt_HAT%2Fen</id>
	<title>WSAL16138 – Pan-Tilt 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=WSAL16138_%E2%80%93_Pan-Tilt_HAT%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.jw-tech.eu/index.php?title=WSAL16138_%E2%80%93_Pan-Tilt_HAT/en&amp;action=history"/>
	<updated>2026-10-23T22:25:25Z</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=WSAL16138_%E2%80%93_Pan-Tilt_HAT/en&amp;diff=2000&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=WSAL16138_%E2%80%93_Pan-Tilt_HAT/en&amp;diff=2000&amp;oldid=prev"/>
		<updated>2026-09-05T22:40:53Z</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 2-DOF Pan-Tilt HAT by Waveshare is a Raspberry Pi add-on board that controls two servos over I2C. It is suited for basic camera panning and tilting applications and ships with examples for both Raspberry Pi and Jetson Nano.&lt;br /&gt;
&lt;br /&gt;
== Related products at JW Tech ==&lt;br /&gt;
* [https://shop.jw-tech.eu/p/WSAL16138 WSAL16138 – 2-DOF Pan-Tilt HAT for Raspberry Pi]&lt;br /&gt;
&lt;br /&gt;
== Technical overview ==&lt;br /&gt;
* Operating voltage: 3.3 V / 5 V; logic level: 3.3 V&lt;br /&gt;
* Controller chip: PCA9685, 12-bit resolution, 16 channels, I2C interface&lt;br /&gt;
* Ambient light sensor: TSL2581FN (older revisions) or TSL25911FN (Rev2.1); I2C address 0x39&lt;br /&gt;
* PCA9685 default I2C address: 0x40 (address pins tied to 0)&lt;br /&gt;
* Product dimensions: approx. 56.6 x 65 mm&lt;br /&gt;
* Two servo ports: S0 (tilt) and S1 (pan)&lt;br /&gt;
* I2C communication uses start, stop, and acknowledge signals&lt;br /&gt;
* Example code provided for Raspberry Pi and Jetson Nano&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 raspi-config&lt;br /&gt;
sudo reboot&lt;br /&gt;
git clone https://github.com/WiringPi/WiringPi.git&lt;br /&gt;
./build debian&lt;br /&gt;
sudo apt-get install python3-smbus -y&lt;br /&gt;
wget https://files.waveshare.com/wiki/Pan-Tilt_HAT/Pan-Tilt_HAT_code.zip&lt;br /&gt;
unzip Pan-Tilt_HAT_code.zip&lt;br /&gt;
cd Pan-Tilt_HAT_code/RaspberryPi/&lt;br /&gt;
cd test &amp;amp;&amp;amp; make clean &amp;amp;&amp;amp; make &amp;amp;&amp;amp; sudo ./main&lt;br /&gt;
cd Light_Sensor/&lt;br /&gt;
cd Servo_Driver/&lt;br /&gt;
cd bcm2835 &amp;amp;&amp;amp; make clean &amp;amp;&amp;amp; make &amp;amp;&amp;amp; sudo ./main&lt;br /&gt;
cd wiringpi &amp;amp;&amp;amp; make clean &amp;amp;&amp;amp; make &amp;amp;&amp;amp; sudo ./main&lt;br /&gt;
cd python &amp;amp;&amp;amp; sudo python main.py&lt;br /&gt;
sudo apt-get install python3-bottle -y&lt;br /&gt;
cd web_Python/ &amp;amp;&amp;amp; sudo python main.py&lt;br /&gt;
sudo apt-get install python3-pip&lt;br /&gt;
sudo pip3 install Jetson.GPIO&lt;br /&gt;
sudo groupadd -f -r gpio&lt;br /&gt;
sudo usermod -a -G gpio your_user_name&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes and version constraints ==&lt;br /&gt;
* Version-sensitive: the light sensor change from TSL2581FN to TSL25911FN (Rev2.1) may require software updates.&lt;br /&gt;
* Test each servo&amp;#039;s full rotation range separately before assembly to avoid jamming or overheating.&lt;br /&gt;
* Jitter occurs when the target angle is below the servo&amp;#039;s minimum physical step angle.&lt;br /&gt;
* Seeing three I2C addresses during scan is expected: 0x40 (PCA9685), 0x70 (ALLCALLADR register), and 0x39 (light sensor).&lt;br /&gt;
* Precise angular control is not achievable on this entry-level product.&lt;br /&gt;
* bcm2835 demos are no longer recommended; prefer WiringPi and Python examples.&lt;br /&gt;
* Bottle-based remote control supports Python 2 only.&lt;br /&gt;
&lt;br /&gt;
== Source and revision record ==&lt;br /&gt;
* [https://www.waveshare.com/wiki/Pan-Tilt_HAT Pan-Tilt HAT - Waveshare Wiki]&lt;br /&gt;
* Source revision: 109694&lt;br /&gt;
* Captured: 2026-08-31T03:18:30+00:00&lt;br /&gt;
* SHA-256: &amp;lt;code&amp;gt;9415e0ad3a6f3ff5e280d3439a787934904a1e572c8aac02c5dd184c59a8aa75&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>JWTechPublisher</name></author>
	</entry>
</feed>