Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 9b08aae6 authored by Mark Yoder's avatar Mark Yoder
Browse files

Added BeagleY-AI HAT header pinout

parent e35a22df
No related merge requests found
books/beaglebone-cookbook/02sensors/figures/pinout.png

307 KiB

...@@ -23,12 +23,13 @@ as shown in :ref:`sensors_host_port`. ...@@ -23,12 +23,13 @@ as shown in :ref:`sensors_host_port`.
All the examples in the book assume you have cloned the Cookbook All the examples in the book assume you have cloned the Cookbook
repository on git.beagleboard.org. Go here :ref:`basics_repo` for instructions. repository on git.beagleboard.org. Go here :ref:`basics_repo` for instructions.
.. _sensors_host_port:
.. tab-set:: .. tab-set::
.. tab-item:: BeagleBone Black .. tab-item:: BeagleBone Black
.. _sensors_host_port:
.. figure:: figures/black_hardware_details.* .. figure:: figures/black_hardware_details.*
:align: center :align: center
:alt: USB Host Port :alt: USB Host Port
...@@ -57,7 +58,7 @@ as shown in :ref:`sensors_host_port`. ...@@ -57,7 +58,7 @@ as shown in :ref:`sensors_host_port`.
The 40-pin hat header along the long The 40-pin hat header along the long
edge of the board provides connections for edge of the board provides connections for
cape add-on boards, digital and analog sensors, and more. hat add-on boards, digital and analog sensors, and more.
The simplest kind of sensor provides a single digital status, such as off or on, The simplest kind of sensor provides a single digital status, such as off or on,
and can be handled by an *input mode* of one of the Bone's 65 general-purpose input/output and can be handled by an *input mode* of one of the Bone's 65 general-purpose input/output
...@@ -81,15 +82,43 @@ You want to acquire and attach a sensor and need to understand your basic option ...@@ -81,15 +82,43 @@ You want to acquire and attach a sensor and need to understand your basic option
Solution Solution
-------- --------
:ref:`sensors_cape_headers` shows many of the possibilities for connecting a sensor. .. tab-set::
.. _sensors_cape_headers: .. tab-item:: BeagleBones
:ref:`sensors_cape_headers` shows many of the possibilities for connecting a sensor.
.. figure:: figures/cape-headers.* .. _sensors_cape_headers:
:align: center
:alt: Sensor Connection Modes .. figure:: figures/cape-headers.*
:align: center
Some of the many sensor connection options on the Bone :alt: Sensor Connection Modes
Some of the many sensor connection options on the Bone.
.. tab-item:: BeagleY-AI
:ref:`sensors_hat_headers` shows many of the possibilities for connecting a sensor.
You will see pins referenced in several ways. While this is confusing at first, in reality,
we can pick our favorite way and stick to it.
The two main ways of referring to GPIOs is **by their number**, so GPIO2, GPIO3, GPIO4 etc.
as seen in the diagram below. This corresponds
to the SoC naming convention. For broad compatibility, BeagleY-AI re-uses the Broadcom GPIO numbering scheme used by RaspberryPi.
The second (and arguably easier) way we will use for this tutorial is to use the **actual pin header number** (shown in dark grey)
So, for the rest of the tutorial, if we refer to **hat-08-gpio** we mean the **8th pin of the GPIO header**. Which, if you referenced
the image below, can see refers to **GPIO 14 (UART TX)**
.. _sensors_hat_headers:
.. figure:: figures/pinout.png
:align: center
:alt: BeagleY-AI pinout
BeagleY-AI pinout
Choosing the simplest solution available enables you to move on quickly to Choosing the simplest solution available enables you to move on quickly to
addressing other system aspects. By exploring each connection type, you can addressing other system aspects. By exploring each connection type, you can
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment