Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Raspberry Pi 5 Smart Sensor Hub with OLED Display and Camera

View and Edit Project In Cirkit DesignerImage of Raspberry Pi 5 Smart Sensor Hub with OLED Display and Camera

Circuit Documentation

Summary

This circuit involves a Raspberry Pi 5 as the central microcontroller, interfacing with various peripherals including an OV7670 camera module, a BMI160 accelerometer and gyroscope sensor, an MB102 breadboard power supply module, multiple pushbuttons, red and green LEDs, and a 2.42 inch 128x64 OLED display. The circuit is designed to demonstrate basic interfacing and control of these peripherals using the Raspberry Pi 5.

Component List

  1. Raspberry Pi 5

    • Description: A powerful single-board computer with multiple GPIO pins for interfacing with various peripherals.
    • Pins: Type-C, Micro HDMI 1, Micro HDMI 2, Camera 1, Camera 2, PoE, Fan, PCIe, USB 3.0, USB 2.0, Ethernet, 5V, GND, 3.3v, GPIO 14, GPIO 15, GPIO 18, GPIO 23, GPIO 24, GPIO 25, GPIO 8, GPIO 7, GPIO 1, GPIO 12, GPIO 16, GPIO 20, GPIO 21, GPIO 2, GPIO 3, GPIO 4, GPIO 17, GPIO 27, GPIO 22, GPIO 10, GPIO 9, GPIO 11, GPIO 0, GPIO 5, GPIO 6, GPIO 13, GPIO 19, GPIO 26
  2. OV7670

    • Description: A camera module used for capturing images and video.
    • Pins: RET, PWDN, D1, D0, D3, D2, D4, D5, D6, PLK, XLK, D7, VS, HS, SCL, SDA, 3.3V, DGND
  3. BMI160 Accelerometer Gyro - 6DOF sensor

    • Description: A 6 degrees of freedom sensor for measuring acceleration and gyroscopic data.
    • Pins: SDX, SCX, INT1, INT2, OCS, SAO, CS, SDA, SCL, GND, 3V3, VIN
  4. MB102 Breadboard Power Supply Module 3.3V/5V

    • Description: A power supply module for providing 3.3V and 5V power to the breadboard.
    • Pins: VCC, GND, 3.3V, 5V
  5. Pushbutton

    • Description: A simple pushbutton for user input.
    • Pins: Pin 2, Pin 1, Pin 3, Pin 4
  6. LED: Two Pin (red)

    • Description: A red LED for visual indication.
    • Pins: cathode, anode
  7. LED: Two Pin (green)

    • Description: A green LED for visual indication.
    • Pins: cathode, anode
  8. Tactile Switch Buttons - 12mm Square

    • Description: A tactile switch button for user input.
    • Pins: 3, 1, 4, 2
  9. 2.42 inch 128x64 OLED

    • Description: An OLED display for visual output.
    • Pins: GND, VCC, SCL, SDA, RES, DC, CS

Wiring Details

Raspberry Pi 5

OV7670

BMI160 Accelerometer Gyro - 6DOF sensor

MB102 Breadboard Power Supply Module 3.3V/5V

LED: Two Pin (red)

2.42 inch 128x64 OLED

Documented Code

Raspberry Pi 5 Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Additional Documentation (documentation.txt)