# Button Module

<figure><img src="https://1077748559-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuxEcL3mxZNc5Aa92N6%2Fuploads%2FWQIf677yDcnLG4dWStd1%2FYeni%20Microsoft%20PowerPoint%20Sunusu.jpg?alt=media&#x26;token=1fad3d8a-a7f0-43eb-8bfd-664cd00dda60" alt=""><figcaption><p>Button Module</p></figcaption></figure>

Here is the [datasheet of the button (TS04)](https://www.cuidevices.com/product/resource/ts04.pdf) on the module.

<mark style="color:red;">The Button Module</mark> offers direct interaction with electronics through physical touch, providing a simple and effective solution for creating interactions in projects, especially in educational purposes. For instance, it can be used to turn on an LED while the button is pressed. Additionally, it can be used in complex projects as an interaction device.

The button on the module physically completes the circuit when it is pressed, sending a '1' data to the microcontroller and a '0' data when not pressed. This process allows the button to interact with the system as intended.

<figure><img src="https://1077748559-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuxEcL3mxZNc5Aa92N6%2Fuploads%2FTn9zPFfmB5GsDwuvs2qB%2FButton.jpg?alt=media&#x26;token=9559c052-f977-4e23-ae38-c1426e3b940e" alt=""><figcaption></figcaption></figure>

#### Step Files:

{% file src="<https://1077748559-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LuxEcL3mxZNc5Aa92N6%2Fuploads%2FpgL8WHsqB7fmK1Rdm3M2%2FButton%20Module%20Rev3.step?alt=media&token=a6997c45-80ba-4e77-9310-9099379f1742>" %}

**Here are some of the sample projects that include this module:**

<details>

<summary><a href="../../smd-applications/basics/action-reaction">Action - Reaction</a>  (including: <a href="../smd-red">SMD RED</a> + <a href="rgb-led-module">RGB Module</a> + <a href="button-module">Button Module</a>)</summary>

The interactive Python project named "LED Turn On/Off" utilizes an SMD Motor Driver, an add-on LED Module, and a Push Button Module to enable users to control the LED's state. It is tailored to offer an engaging hands-on experience for those keen on integrating Python programming with hardware control, showcasing fundamental input and output interactions in a straightforward manner.

</details>

<details>

<summary><a href="../../smd-applications/interactive/rev-up-the-engine">Rev Up The Engine</a> (including: <a href="../smd-red">SMD RED</a> + <a href="button-module">Button Module</a> + DC Motor)</summary>

The "Rev Up The Engine" application is an engaging Python-based project that integrates hardware components and programming to simulate the sensation of revving up a motorized engine. This project makes use of an SMD Motor Driver, a DC Motor, and a Push Button Module, enabling users to control the engine's speed by pressing and holding a button.

</details>

{% hint style="info" %}
Ready to integrate? You can purchase the <mark style="color:red;">**The Button Module**</mark> directly from our [Online Store](https://www.robotshop.com/products/acrome-button-add-on-module-acrome-smd-products?pr_prod_strat=e5_desc\&pr_rec_id=e23ece12f\&pr_rec_pid=8120246796449\&pr_ref_pid=8121226592417\&pr_seq=uniform). Worldwide shipping is available for engineering samples and production batches.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.acrome.net/electronics/add-on-modules/button-module.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
