

The Adafruit EYESPI BFF (Manufacturer Part ID: 5772) is a compact breakout board designed to simplify the integration of eye-tracking sensors with microcontrollers. It leverages the SPI (Serial Peripheral Interface) protocol for fast and efficient communication, making it ideal for projects that require precise and responsive eye-tracking capabilities. This board is part of Adafruit's "BFF" (Best Friend Forever) series, designed to complement microcontroller boards like the QT Py and Feather.








The Adafruit EYESPI BFF is designed to provide a seamless connection between eye-tracking sensors and microcontrollers. Below are its key technical details:
| Parameter | Value |
|---|---|
| Communication Protocol | SPI (Serial Peripheral Interface) |
| Operating Voltage | 3.3V |
| Dimensions | 22mm x 17.8mm x 4.5mm |
| Mounting Style | Solderable to QT Py or Feather |
| Connector Type | 18-pin FPC (Flat Printed Cable) |
| Compatibility | Adafruit QT Py, Feather boards |
The EYESPI BFF features an 18-pin FPC connector for interfacing with eye-tracking sensors. Below is the pinout description:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | GND | Ground connection |
| 2 | 3.3V | Power supply (3.3V) |
| 3 | SCK | SPI Clock |
| 4 | MISO | SPI Master In Slave Out |
| 5 | MOSI | SPI Master Out Slave In |
| 6 | CS | Chip Select for SPI |
| 7 | INT | Interrupt pin for sensor signaling |
| 8 | RST | Reset pin for the sensor |
| 9-18 | NC | Not connected (reserved for future use) |
The Adafruit EYESPI BFF is designed for easy integration with microcontrollers. Follow the steps below to use it in your project:
Below is an example of how to configure and communicate with the EYESPI BFF using an Arduino-compatible board:
#include <SPI.h>
// Define SPI pins
#define CS_PIN 10 // Chip Select pin
#define INT_PIN 2 // Interrupt pin
void setup() {
// Initialize Serial Monitor
Serial.begin(9600);
while (!Serial);
// Configure SPI settings
SPI.begin();
pinMode(CS_PIN, OUTPUT);
pinMode(INT_PIN, INPUT);
// Set Chip Select pin to HIGH (inactive)
digitalWrite(CS_PIN, HIGH);
Serial.println("EYESPI BFF Initialized");
}
void loop() {
// Example: Send a command to the sensor
digitalWrite(CS_PIN, LOW); // Activate Chip Select
SPI.transfer(0x01); // Send a dummy command
digitalWrite(CS_PIN, HIGH); // Deactivate Chip Select
// Check for interrupt signal
if (digitalRead(INT_PIN) == HIGH) {
Serial.println("Sensor interrupt detected!");
}
delay(1000); // Wait for 1 second
}
No Communication with Sensor
Sensor Not Detected
Interrupts Not Triggering
Overheating
Q: Can I use the EYESPI BFF with 5V microcontrollers?
A: No, the EYESPI BFF is designed for 3.3V logic levels. Using it with 5V microcontrollers may damage the board.
Q: What sensors are compatible with the EYESPI BFF?
A: The EYESPI BFF is compatible with a variety of eye-tracking sensors that use SPI communication. Refer to Adafruit's product page for a list of supported sensors.
Q: Can I use multiple EYESPI BFF boards in a single project?
A: Yes, but you must assign unique Chip Select (CS) pins for each board to avoid communication conflicts.
Q: Where can I find additional resources?
A: Visit the Adafruit EYESPI BFF product page for detailed documentation, tutorials, and support.
By following this documentation, you can effectively integrate the Adafruit EYESPI BFF into your projects and unlock the potential of eye-tracking technology!