Raspberry Pi Pico and Arduino Nano Controlled Robotic System with Camera and Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit design that includes various components such as microcontrollers, motor drivers, sensors, and other electronic parts. The circuit is designed to interface multiple components to achieve a specific functionality. The document includes a component list, wiring details, and documented code for the microcontrollers used in the circuit.
Component List
Raspberry Pi Pico
- Description: A microcontroller board based on the RP2040 microcontroller chip.
- Pins: pin 1, pin 2, pin 3, pin 4, pin 5, pin 6, pin 7, pin 8, pin 9, pin 10, pin 11, pin 12, pin 13, pin 14, pin 15, pin 16, pin 17, pin 18, pin 19, pin 20, pin 21, pin 22, pin 23, pin 24, pin 25, pin 26, pin 27, pin 28, pin 29, pin 30, pin 31, pin 32, pin 33, pin 34, pin 35, pin 36, pin 37, pin 38, pin 39, pin 40, pin 41, pin 42, pin 43
Resistor (4700 Ohms)
- Description: A resistor with a resistance of 4700 Ohms.
- Pins: pin1, pin2
Arduino Nano
- Description: A small, complete, and breadboard-friendly board based on the ATmega328P.
- Pins: D1/TX, D0/RX, RESET, GND, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11/MOSI, D12/MISO, VIN, 5V, A7, A6, A5, A4, A3, A2, A1, A0, AREF, 3V3, D13/SCK
BTS7960 Motor Driver
- Description: A high-current motor driver module.
- Pins: Pin 1, Pin 2, Pin 3, Pin 4, Pin 5, Pin 6, Pin 7, Pin 8, Pin 9, Pin 10, Pin 11, Pin 12
MRB Planetary Gearbox Motor
- Description: A motor with a planetary gearbox.
- Pins: +, -
REF-14C
- Description: A reference component with multiple pins.
- Pins: G, V, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
Toggle Switch SPST
- Description: A single-pole single-throw toggle switch.
- Pins: L1, COM
Buck Converter
- Description: A DC-DC buck converter.
- Pins: IN+, IN-, OUT+, OUT-
REF-MUX
- Description: A multiplexer component.
- Pins: G, SIG, D, C, B, A, I13, I12, I11, I10, I9, I8, I7, I6, I4, I3, I2, I1, I0, V
TFT 128x128 Colour I2C Blue PCB
- Description: A TFT display module.
- Pins: BL, CS, DC, RES, SDA, SCL, VCC, GND
OV7670
- Description: A camera module.
- Pins: RET, PWDN, D1, D0, D3, D2, D4, D5, D6, PLK, XLK, D7, VS, HS, SCL, SDA, 3.3V, DGND
Mini 360 Buck Converter
- Description: A small DC-DC buck converter.
- Pins: IN-, OUT-, OUT+, IN+
Battery
- Description: A power source.
- Pins: -, +
Wiring Details
Raspberry Pi Pico
- pin 1 connected to OV7670 D0
- pin 2 connected to OV7670 D1
- pin 3 connected to TFT 128x128 Colour I2C Blue PCB GND, OV7670 DGND
- pin 4 connected to OV7670 D2
- pin 5 connected to OV7670 D3
- pin 6 connected to OV7670 D4
- pin 7 connected to OV7670 D5
- pin 9 connected to OV7670 D6
- pin 10 connected to OV7670 D7
- pin 11 connected to OV7670 PLK
- pin 12 connected to OV7670 XLK
- pin 14 connected to TFT 128x128 Colour I2C Blue PCB SDA
- pin 15 connected to TFT 128x128 Colour I2C Blue PCB SCL
- pin 16 connected to OV7670 HS
- pin 17 connected to OV7670 VS
- pin 19 connected to OV7670 RET
- pin 20 connected to OV7670 PWDN
- pin 21 connected to TFT 128x128 Colour I2C Blue PCB DC
- pin 22 connected to TFT 128x128 Colour I2C Blue PCB RES
- pin 24 connected to TFT 128x128 Colour I2C Blue PCB CS
- pin 25 connected to Arduino Nano D12/MISO
- pin 26 connected to OV7670 SDA, Resistor pin1
- pin 27 connected to OV7670 SCL, Resistor pin1
- pin 29 connected to Arduino Nano D11/MOSI
- pin 31 connected to Arduino Nano D8
- pin 32 connected to Arduino Nano D7
- pin 36 connected to Resistor pin2, TFT 128x128 Colour I2C Blue PCB BL, TFT 128x128 Colour I2C Blue PCB VCC, OV7670 3.3V
Resistor (4700 Ohms)
- pin1 connected to OV7670 SDA, Raspberry Pi Pico pin 26
- pin1 connected to OV7670 SCL, Raspberry Pi Pico pin 27
- pin2 connected to TFT 128x128 Colour I2C Blue PCB BL, TFT 128x128 Colour I2C Blue PCB VCC, OV7670 3.3V, Raspberry Pi Pico pin 36
Arduino Nano
- A0 connected to REF-MUX SIG
- A1 connected to REF-MUX D
- A2 connected to REF-MUX C
- A3 connected to REF-MUX B
- A6 connected to REF-MUX A
- 5V connected to Mini 360 Buck Converter OUT+, REF-MUX
- GND connected to Mini 360 Buck Converter OUT-, REF-MUX G
- D5 connected to BTS7960 Motor Driver Pin 8
- D6 connected to BTS7960 Motor Driver Pin 4
- D7 connected to Raspberry Pi Pico pin 32
- D8 connected to Raspberry Pi Pico pin 31
- D9 connected to BTS7960 Motor Driver Pin 8
- D10 connected to BTS7960 Motor Driver Pin 4
- D11/MOSI connected to Raspberry Pi Pico pin 29
- D12/MISO connected to Raspberry Pi Pico pin 25
BTS7960 Motor Driver
- Pin 1 connected to BTS7960 Motor Driver Pin 1
- Pin 3 connected to BTS7960 Motor Driver Pin 3, BTS7960 Motor Driver Pin 5, BTS7960 Motor Driver Pin 7
- Pin 4 connected to Arduino Nano D6
- Pin 5 connected to BTS7960 Motor Driver Pin 3, BTS7960 Motor Driver Pin 5, BTS7960 Motor Driver Pin 7
- Pin 7 connected to BTS7960 Motor Driver Pin 3, BTS7960 Motor Driver Pin 5, BTS7960 Motor Driver Pin 7
- Pin 8 connected to Arduino Nano D5
- Pin 9 connected to BTS7960 Motor Driver Pin 9, Buck converter OUT+
- Pin 10 connected to BTS7960 Motor Driver Pin 10, Buck converter OUT-