TINKER PiEDESIGN IN INDIA

AI Camera Module

AI · SKU TP-C01

A camera with its own ESP32-S3 brain – colour tracking, motion detection and Wi-Fi video for TinkerPie.

₹1,899

Pre-order

Works with TinkerPie V1 · same JST-PH cables as the board · Delivery across India: ₹100, 3–7 days · 7-day replacement for damaged or defective kits

About this kit

The AI Camera Module is a camera with its own ESP32-S3 processor and an OV2640 2 MP camera. It does colour tracking and motion detection on the module and sends the object's position and size to TinkerPie, and it can stream live video over its own Wi-Fi access point. It plugs into the TinkerPie AI / CAMERA port with one cable and is updated over USB-C.

Features

Specifications

Size72 x 48 mm
CameraOV2640, 24-pin FPC
ProcessorESP32-S3-WROOM-1-N16R8
InterfaceUART + INT (AI / CAMERA port), USB-C
Power5 V from the port, about 250 mA

Guides: AI camera · object recognition · face ID. Try it free first with your laptop webcam in TinkerPie Studio.

How to use it with TinkerPie

  1. Plug the camera cable into the module’s camera socket (the gold contacts face the board).
  2. Connect the module to the TinkerPie AI / CAMERA port with one cable.
  3. Install the TinkerPieBricks library (see below) and open the sketch.

Libraries: TinkerPie and TinkerPieBricks (Arduino IDE: Sketch → Include Library → Add .ZIP Library). Full guide: getting started with TinkerPie Bricks.

Quick start

Upload this, open the Serial Monitor at 115200 baud and watch the TinkerPie matrix.

Quick-start sketch (Arduino C++)
// AI Camera Module (TP-C01): quick start
// Reads the brick and shows the value on the TinkerPie matrix and in the Serial Monitor (115200 baud).
#include <TinkerPie.h>
#include <TinkerPieBricks.h>
using namespace tinkerpie;

tpb::AICamera cam;

void setup() {
  Serial.begin(115200);
  tinkerpie::begin();            // also starts the SENSOR ports (I2C bus Wire1)
  cam.begin();                       // AI / CAMERA port
  cam.trackColor(255, 0, 0);       // look for something red
}

void loop() {
  if (cam.update()) Serial.printf("found %d  x %d  y %d  size %d\n", cam.found(), cam.x(), cam.y(), cam.size());
  led::setStatusLed(cam.found());
  basic::pause(20);
}

Project: Colour-following robot

The AI Camera Module tracks a red object and the two-wheel robot turns towards it and drives closer.

Colour-following robot (Arduino C++)
// Colour-following robot: AI Camera Module (TP-C01)
// The AI Camera Module tracks a red object and the two-wheel robot turns towards it and drives closer.
#include <TinkerPie.h>
#include <TinkerPieBricks.h>
using namespace tinkerpie;

tpb::AICamera cam;

void setup() {
  Serial.begin(115200);
  tinkerpie::begin();            // also starts the SENSOR ports (I2C bus Wire1)
  cam.begin();
  cam.trackColor(220, 30, 30, 60);     // red, tolerance 60
}

void loop() {
  cam.update();
  if (cam.found() && cam.size() < 40) motors::tank(35 + cam.x() / 3, 35 - cam.x() / 3);   // x: -100 left .. +100 right
  else if (cam.found()) motors::stop();      // close enough
  else motors::tank(-25, 25);               // search
  led::setStatusLed(cam.found());
  basic::pause(20);
}

More TinkerPie Bricks

TinkerPie V1 boardTinkerPie V1 boardThe all-in-one coding, robotics and AI board, designed in India.₹7,999Pre-orderIO-4 Smart Brick (TP-B01)IO-4 Smart BrickTP-B01Connect any analog or digital sensor to TinkerPie – 4 ports, each analog, digital or PWM.₹499Pre-orderLine Follower 5 (TP-B02)Line Follower 5TP-B02Five IR sensors in one bar – build a fast line-following robot in minutes.₹499Pre-orderUltrasonic Brick (TP-B03)Ultrasonic BrickTP-B03HC-SR04 distance sensor made safe and simple – distance in mm over one cable.₹499Pre-order

See all 53 TinkerPie Bricks