# Introduction

The head of Bittle is designed to be a clip to hold extensible modules. We compiled a sensor pack with some popular modules, but its contents may change in the future. You can also wire other add-ons thanks to the rich contents of the Arduino and Raspberry Pi communities.&#x20;

You can find the demo codes of these modules in our GitHub repository. They should be in the [ModuleTests](https://github.com/PetoiCamp/OpenCat/tree/main/ModuleTests) folder if you download the whole OpenCat repository.

<figure><img src="https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2Fj72sVwF45uMHDSFjKTKJ%2Fimage.png?alt=media&#x26;token=de8345b9-397d-4c30-9e29-7d723303f2d0" alt=""><figcaption></figcaption></figure>

![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FPa0YP8Cma5D4h00DS5WX%2FSensorLight.jpeg?alt=media\&token=6b8fa204-66a4-4c92-bc59-5b412dc2137a)[Light sensor](https://docs.petoi.com/extensive-modules/light-sensor)

![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FBlOX8O7RCOYbzrLRIGAo%2FsensorTouch.jpeg?alt=media\&token=6be578e3-d233-4549-b132-1472f5beb5bc)[Touch sensor](https://docs.petoi.com/extensive-modules/touch-sensor)

![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FP7kQJIczQI1hksL8n37P%2FSensorGesture.jpeg?alt=media\&token=d445dead-518e-48c9-bbae-91d129e6f58f)[Gesture sensor](https://docs.petoi.com/extensive-modules/gesture-sensor)

![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FI7V1DzDk8L6vVzsSzZii%2FSensorPIR.jpeg?alt=media\&token=4e3c671c-8961-4e7c-b0dc-9b0c67740773)[PIR motion sensor](https://docs.petoi.com/extensive-modules/pir-motion-sensor)

![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FgtRa8yUUllEjNQO42Qjq%2FVisionSensor.jpg?alt=media\&token=a6badd18-af43-44b3-a0e8-aa3c07c3e2f7)   [MU vision sensor](https://docs.petoi.com/extensive-modules/mu-camera)

![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FqXSp2C4YqZrCSQG47qMD%2F%E8%B6%85%E5%A3%B0%E6%B3%A2%E4%BC%A0%E6%84%9F%E5%99%A801.jpg?alt=media\&token=43381997-9090-4c12-85ff-f51c22933990)[Ultrasonic sensor](https://docs.petoi.com/extensive-modules/ultrasonic-sensor) (Applicable to Nybble)

You can also purchase the following third-party sensors (such as Seeed studio):

![](https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2Fank3prIkyYY6IgG0caLn%2Fextensible-modules.jpg?alt=media\&token=20f202c4-c1e8-4991-bb66-a35804880e44)

The loudness and light level modules can generate [analog readings](https://github.com/PetoiCamp/OpenCat/tree/main/ModuleTests/test_Loudness_Light) for the corresponding signals and should be connected to the analog Grove socket.&#x20;

&#x20;<img src="https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FKXHNPNWvhZ9f2HhcRqMs%2Fsound-sensor.png?alt=media&#x26;token=f5bbc3d2-e229-4878-a292-446c88a1cefe" alt="" data-size="original">[Grove - Sound Sensor/ Noise Detector](https://www.seeedstudio.com/Grove-Loudness-Sensor.html)

<img src="https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FHAVYhERqPijSoKp8TuY6%2Flight-sensor.png?alt=media&#x26;token=e5c951be-29fe-400e-8bb0-1a256e66522a" alt="" data-size="original">[Grove - Light Sensor v1.2 - LS06-S phototransistor](https://www.seeedstudio.com/Grove-Light-Sensor-v1-2-LS06-S-phototransistor.html)

The touch, reflection, PIR sensors can generate digital 1 or 0 as a switch signal. So they should be connected to the digital Grove socket. In the [demo code](https://github.com/PetoiCamp/OpenCat/tree/main/ModuleTests/test_Touch_Reflection_PIR), we use the fourth socket with D6 and D7.

&#x20;<img src="https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FBXBgc6Ni4aTSahuw0xTp%2Ftouch-sensor.png?alt=media&#x26;token=deddf5db-4630-4c97-a783-4bada7ae1c6d" alt="" data-size="original">[Grove - Touch Sensor](https://www.seeedstudio.com/Grove-Touch-Sensor.html)

<img src="https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FlRIVcoQ1BSAJ3aetN1dR%2Freflection-sensor.png?alt=media&#x26;token=7851e769-553f-4880-b101-9f928a29cab2" alt="" data-size="original">[Grove - Infrared Reflective Sensor v1.2](https://www.seeedstudio.com/Grove-Infrared-Reflective-Sensor-v1-2.html)

<img src="https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2F4aXjNQuvQpEUcQp3ZoIz%2FPIR-motion-sensor.png?alt=media&#x26;token=3c21dbea-b01c-41ba-9280-724eac60cae9" alt="" data-size="original">[Grove - mini PIR motion sensor](https://www.seeedstudio.com/Grove-mini-PIR-motion-sensor-p-2930.html)

The [intelligent camera](https://github.com/PetoiCamp/BallTracking), [gesture](https://github.com/PetoiCamp/OpenCat/tree/main/ModuleTests/testGesture), and [OLED](https://github.com/PetoiCamp/OpenCat/tree/main/ModuleTests/testOLED) module should be connected to the I2C Grove socket.&#x20;

<img src="https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FHuhhFFFw5a9nj4pl22Kc%2Fgesture-sensor.png?alt=media&#x26;token=f0ab202f-fe11-4f32-a42a-b2ed977950fa" alt="" data-size="original">[Grove - Gesture Sensor for Arduino (PAJ7620U2)](https://www.seeedstudio.com/Grove-Gesture-PAJ7620U2.html)

<img src="https://3127300255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBR9bYMZnmeFFa1GJLvjM%2Fuploads%2FzC84go7ZLyOpArx69Zs9%2FOLED.png?alt=media&#x26;token=36c3b5e3-5e05-4fc1-91a2-b44f71b16f2d" alt="" data-size="original">[Grove - OLED Display 0.96" (SSD1315)](https://www.seeedstudio.com/Grove-OLED-Display-0-96-SSD1315-p-4294.html)
