Raspberry Pi 5-Controlled Autonomous Robotic Platform with Closed Loop Stepper Motors and Multi-Sensor Integration
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates various components to perform a range of functions, including motion control, communication, sensing, and display. The core of the circuit is a Raspberry Pi 5, which interfaces with a closed-loop stepper system, a GPS module, ultrasonic distance sensors, a wireless communication module (NRF24L01), a power inverter, a SIM module, a copper coil, a 3D depth camera, an LCD screen, and a 6DOF IMU sensor. The circuit is powered by a battery and includes a power inverter for voltage regulation.
Component List
Closed Loop Stepper
- Description: A motor that provides precise position control.
- Pins: B-, A-, B+, A+, GND, VCC, EB-, EB+, EA-, EA+
Stepperonline CL57T Closed Loop Stepper Driver
- Description: A driver for the closed-loop stepper motor.
- Pins: PUL+, PUL-, DIR+, DIR-, ENA+, ENA-, ALM, BRK, COM-, EB+, EB-, EA+, EA-, VCC, A+, A-, B+, B-, +VDC, GND, EGND
Raspberry Pi 5
- Description: A single-board computer used as the main controller.
- 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
GPS NEO 6M
- Description: A GPS module for location tracking.
- Pins: VCC, RX, TX, GND
MKE-S01 Ultrasonic Distance Sensor
- Description: A sensor for measuring distances using ultrasonic waves.
- Pins: GND, 5V, TRIG, ECHO
NRF24L01
- Description: A wireless communication module.
- Pins: IRQ (not used), MOSI, CSN, VCC (3V), GND, CE, SCK, MISO
3D DEPTH CAMERA
- Description: A camera that captures 3D depth information.
- Pins: USB PORT
Battery
- Description: Provides power to the circuit.
- Pins: Power, Ground
SIM 800L
- Description: A GSM/GPRS module for cellular communication.
- Pins: NFT, RING, VCC, DTR, RST, MIC +, RXD, MIC-, TXD, SPK+, GND, SPK-
Copper Coil
- Description: Used in electromagnetic applications.
- Pins: -ve, +ve
Power Inverter
- Description: Converts DC power to AC power.
- Pins: -, +
LCD TFT screen ILI9488 HD
- Description: A high-definition LCD screen for display purposes.
- Pins: PEN, TDO, TDI, VCC (3.3~5V), GND, CS, RST, D/C, SDI(MOSI), SCK, BL, SDO(MISO), TCS, TCK
LSM303c 6DOF IMU
- Description: An inertial measurement unit for tracking motion.
- Pins: GND, VDD_IO, SDA/SDI/SDO, SCL/SCLK, INT_XL, DRDY_MAG, !CS_XL, VCC, !CS_MAG, INT_MAG
Wiring Details
Closed Loop Stepper
- B-, A-, B+, A+ connected to corresponding pins on Stepperonline CL57T Closed Loop Stepper Driver.
- GND connected to the ground net, which includes the battery ground, Power Inverter -, and various GND pins on other components.
- VCC connected to the power net, which includes the battery power, Power Inverter +, and various VCC pins on other components.
- EB-, EB+, EA-, EA+ connected to corresponding pins on Stepperonline CL57T Closed Loop Stepper Driver.
Stepperonline CL57T Closed Loop Stepper Driver
- PUL+, DIR+, ENA+ connected to corresponding GPIO pins on Raspberry Pi 5 for control signals.
- PUL-, DIR-, ENA- connected to the Raspberry Pi 5 GND.
- ALM, BRK, COM- not detailed in the net list.
- EB+, EB-, EA+, EA- connected to corresponding pins on Closed Loop Stepper.
- VCC connected to the power net.
- A+, A-, B+, B- connected to corresponding pins on Closed Loop Stepper.
- +VDC connected to the power net.
- GND connected to the ground net.
- EGND not detailed in the net list.
Raspberry Pi 5
- GPIO 17, GPIO 18, GPIO 27 connected to PUL+, DIR+, ENA+ on Stepperonline CL57T Closed Loop Stepper Driver for motor control.
- GND connected to the ground net.
- USB 3.0 connected to the USB PORT on the 3D DEPTH CAMERA.
- 5V connected to VCC on GPS NEO 6M, LCD TFT screen ILI9488 HD, and 5V pins on MKE-S01 Ultrasonic Distance Sensors.
- 3.3v connected to VCC (3V) on NRF24L01, BL on LCD TFT screen ILI9488 HD, and VDD_IO on LSM303c 6DOF IMU.
- GPIO 14, GPIO 15 connected to RXD, TXD on SIM 800L and RX, TX on GPS NEO 6M for serial communication.
- GPIO 23 connected to TRIG on MKE-S01 Ultrasonic Distance Sensors for triggering ultrasonic pulses.
- GPIO 24 connected to D/C on LCD TFT screen ILI9488 HD and ECHO on MKE-S01 Ultrasonic Distance Sensors for display control and echo reception.
- GPIO 25 connected to RST on LCD TFT screen ILI9488 HD for display reset.
- GPIO 8 connected to CSN on NRF24L01 and CS on LCD TFT screen ILI9488 HD for chip select.
- GPIO 2 connected to SDA/SDI/SDO on LSM303c 6DOF IMU for I2C data line.
- GPIO 22 connected to CE on NRF24L01 for chip enable.
- GPIO 10, GPIO 9 connected to MOSI, MISO on NRF24L01 and SDI(MOSI), SDO(MISO) on LCD TFT screen ILI9488 HD for SPI communication.
- GPIO 11 connected to SCK on NRF24L01, SCK on LCD TFT screen ILI9488 HD, and SCL/SCLK on LSM303c 6DOF IMU for SPI clock.
GPS NEO 6M
- VCC connected to 5V on Raspberry Pi 5.
- RX, TX connected to GPIO 14, GPIO 15 on Raspberry Pi 5 for serial communication.
- GND connected to the ground net.
MKE-S01 Ultrasonic Distance Sensor
- GND connected to the ground net.
- 5V connected to 5V on Raspberry Pi 5.
- TRIG connected to GPIO 23 on Raspberry Pi 5 for triggering ultrasonic pulses.
- ECHO connected to GPIO 24 on Raspberry Pi 5 for echo reception.
NRF24L01
- VCC (3V) connected to 3.3v on Raspberry Pi 5.
- GND connected to the ground net.
- CE connected to GPIO 22 on Raspberry Pi 5 for chip enable.
- CSN connected to GPIO 8 on Raspberry Pi 5 for chip select.
- SCK, MOSI, MISO connected to GPIO 11, GPIO 10, GPIO 9 on Raspberry Pi 5 for SPI communication.
3D DEPTH CAMERA
- USB PORT connected to USB 3.0 on Raspberry Pi 5.
Battery
- Power connected to the power net.
- Ground connected to the ground net.
SIM 800L
- VCC connected to 5V on Raspberry Pi 5.
- RXD, TXD connected to GPIO 14, GPIO 15 on Raspberry Pi 5 for serial communication.
- GND connected to the ground net.
Copper Coil
- -ve, +ve connected to +, - on Power Inverter.
Power Inverter
- +, - connected to +ve, -ve on Copper Coil.
LCD TFT screen ILI9488 HD
- VCC (3.3~5V) connected to 5V on Raspberry Pi 5.
- GND connected to the ground net.
- CS connected to GPIO 8 on Raspberry Pi 5 for chip select.
- RST connected to GPIO 25 on Raspberry Pi 5 for reset.
- D/C connected to GPIO 24 on Raspberry Pi 5 for command/data select.
- SDI(MOSI), S