Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use ATXRaspi: Examples, Pinouts, and Specs

Image of ATXRaspi
Cirkit Designer LogoDesign with ATXRaspi in Cirkit Designer

Introduction

The ATXRaspi, manufactured by LowPowerLab (Part ID: LP5-100030), is a power management board specifically designed for the Raspberry Pi. It provides essential features such as safe shutdown, power-on reset, and GPIO-based power control. By integrating the ATXRaspi into your Raspberry Pi setup, you can protect your device from sudden power loss, ensuring a clean shutdown and preventing potential data corruption or hardware damage.

Explore Projects Built with ATXRaspi

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Raspberry Pi 5 Controlled Robotic Vehicle with LIDAR and IMU
Image of Rover: A project utilizing ATXRaspi in a practical application
This circuit features a Raspberry Pi 5 as the central controller, interfaced with a TF LUNA LIDAR sensor for distance measurement and an MPU-6050 for motion tracking via I2C communication. It also includes two L298 motor drivers powered by a 12V battery to control four DC motors, with the Raspberry Pi's GPIO pins used to manage the direction and speed of the motors.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 4B-Based Flame Detection and Motor Control System
Image of FireFighter-2: A project utilizing ATXRaspi in a practical application
This circuit features a Raspberry Pi 4B as the central controller, interfaced with multiple KY-026 Flame Sensors for detecting flames, whose analog outputs are read by an Adafruit ADS1115 16-bit ADC connected via I2C. The Raspberry Pi controls a L298N DC motor driver to manage four hobby motors and a 5V mini water pump, with the pump's operation gated by a rocker switch. The system is powered by a 18650 Li-Ion battery, with a TIP120 Darlington Transistor and a resistor forming a switch to control the power to the motor driver.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 4B Multi-Sensor Data Acquisition System
Image of project: A project utilizing ATXRaspi in a practical application
This circuit integrates multiple sensors, including an accelerometer (ADXL345), a barometric pressure sensor (BMP180), a pulse oximeter (max30100), and an infrared temperature sensor (mlx90614), all interfaced with a Raspberry Pi 4B via I2C communication. The Raspberry Pi serves as the central processing unit, collecting and processing data from the sensors for various applications such as health monitoring and environmental sensing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Raspberry Pi 5 Smart Weather Station with GPS and AI Integration
Image of Senior Design: A project utilizing ATXRaspi in a practical application
This circuit integrates a Raspberry Pi 5 with various peripherals including an 8MP 3D stereo camera, an AI Hat, a BMP388 sensor, a 16x2 I2C LCD, and an Adafruit Ultimate GPS module. The Raspberry Pi serves as the central processing unit, interfacing with the camera for image capture, the AI Hat for AI processing, the BMP388 for environmental sensing, the LCD for display, and the GPS module for location tracking, with a USB Serial TTL for serial communication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with ATXRaspi

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Rover: A project utilizing ATXRaspi in a practical application
Raspberry Pi 5 Controlled Robotic Vehicle with LIDAR and IMU
This circuit features a Raspberry Pi 5 as the central controller, interfaced with a TF LUNA LIDAR sensor for distance measurement and an MPU-6050 for motion tracking via I2C communication. It also includes two L298 motor drivers powered by a 12V battery to control four DC motors, with the Raspberry Pi's GPIO pins used to manage the direction and speed of the motors.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of FireFighter-2: A project utilizing ATXRaspi in a practical application
Raspberry Pi 4B-Based Flame Detection and Motor Control System
This circuit features a Raspberry Pi 4B as the central controller, interfaced with multiple KY-026 Flame Sensors for detecting flames, whose analog outputs are read by an Adafruit ADS1115 16-bit ADC connected via I2C. The Raspberry Pi controls a L298N DC motor driver to manage four hobby motors and a 5V mini water pump, with the pump's operation gated by a rocker switch. The system is powered by a 18650 Li-Ion battery, with a TIP120 Darlington Transistor and a resistor forming a switch to control the power to the motor driver.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of project: A project utilizing ATXRaspi in a practical application
Raspberry Pi 4B Multi-Sensor Data Acquisition System
This circuit integrates multiple sensors, including an accelerometer (ADXL345), a barometric pressure sensor (BMP180), a pulse oximeter (max30100), and an infrared temperature sensor (mlx90614), all interfaced with a Raspberry Pi 4B via I2C communication. The Raspberry Pi serves as the central processing unit, collecting and processing data from the sensors for various applications such as health monitoring and environmental sensing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Senior Design: A project utilizing ATXRaspi in a practical application
Raspberry Pi 5 Smart Weather Station with GPS and AI Integration
This circuit integrates a Raspberry Pi 5 with various peripherals including an 8MP 3D stereo camera, an AI Hat, a BMP388 sensor, a 16x2 I2C LCD, and an Adafruit Ultimate GPS module. The Raspberry Pi serves as the central processing unit, interfacing with the camera for image capture, the AI Hat for AI processing, the BMP388 for environmental sensing, the LCD for display, and the GPS module for location tracking, with a USB Serial TTL for serial communication.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Home Automation Systems: Ensures reliable power management for Raspberry Pi-based controllers.
  • IoT Projects: Protects Raspberry Pi devices in remote or critical applications.
  • Media Centers: Provides safe shutdown functionality for Raspberry Pi-based media servers.
  • Educational Projects: Simplifies power management for students and hobbyists working with Raspberry Pi.

Technical Specifications

Key Technical Details

Parameter Value
Input Voltage Range 5V DC
Maximum Current 3A
GPIO Control Pins 2 (for shutdown and power control)
Shutdown Trigger Voltage 3.3V (logic HIGH)
Dimensions 1.5" x 1.0" (38mm x 25mm)
Operating Temperature -20°C to 70°C

Pin Configuration and Descriptions

The ATXRaspi has a simple pinout for connecting to the Raspberry Pi and external components. Below is the pin configuration:

Pin Name Pin Type Description
VIN Power Input Connects to a 5V DC power source.
GND Power Ground Ground connection for the power source and Raspberry Pi.
GPIO_SHUTDOWN GPIO Input Connects to a GPIO pin on the Raspberry Pi to trigger a safe shutdown.
GPIO_POWER GPIO Output Provides a signal to indicate the power state of the Raspberry Pi.
BUTTON Input Connects to an external momentary push button for manual power control.
OUT Power Output Supplies regulated 5V power to the Raspberry Pi.

Usage Instructions

How to Use the ATXRaspi in a Circuit

  1. Connect Power Input: Attach a 5V DC power source to the VIN and GND pins of the ATXRaspi.
  2. Connect to Raspberry Pi:
    • Connect the OUT pin to the 5V power input pin of the Raspberry Pi.
    • Connect the GND pin to the Raspberry Pi's ground pin.
    • Connect the GPIO_SHUTDOWN pin to a GPIO pin on the Raspberry Pi (e.g., GPIO17).
    • Optionally, connect the GPIO_POWER pin to another GPIO pin for monitoring the power state.
  3. Attach a Push Button: Connect a momentary push button to the BUTTON pin and ground. This button will allow manual power control.
  4. Enable Safe Shutdown:
    • Install the necessary script on the Raspberry Pi to monitor the GPIO_SHUTDOWN pin and initiate a safe shutdown when triggered.
  5. Power On/Off:
    • Press the push button to power on the Raspberry Pi.
    • To power off, press and hold the button for 3 seconds. The ATXRaspi will signal the Raspberry Pi to shut down safely before cutting power.

Important Considerations and Best Practices

  • Ensure the power source provides a stable 5V DC output with sufficient current (at least 2.5A for most Raspberry Pi models).
  • Use a properly rated push button to avoid mechanical failure over time.
  • Install the safe shutdown script on the Raspberry Pi to prevent data corruption during power-off events.
  • Avoid connecting high-current devices directly to the ATXRaspi's output to prevent overloading.

Example Code for Safe Shutdown (Raspberry Pi)

Below is an example Python script to monitor the GPIO_SHUTDOWN pin and initiate a safe shutdown:

import RPi.GPIO as GPIO
import os
import time

Pin configuration

SHUTDOWN_PIN = 17 # GPIO pin connected to ATXRaspi's GPIO_SHUTDOWN

Setup GPIO

GPIO.setmode(GPIO.BCM) GPIO.setup(SHUTDOWN_PIN, GPIO.IN, pull_up_down=GPIO.PUD_UP)

def shutdown_callback(channel): # Callback function to safely shut down the Raspberry Pi print("Shutdown signal received. Shutting down...") os.system("sudo shutdown -h now")

Add event detection for the shutdown pin

GPIO.add_event_detect(SHUTDOWN_PIN, GPIO.FALLING, callback=shutdown_callback, bouncetime=200)

print("Monitoring shutdown pin. Press Ctrl+C to exit.") try: while True: time.sleep(1) # Keep the script running except KeyboardInterrupt: print("Exiting script.") finally: GPIO.cleanup() # Clean up GPIO settings


Script Installation

  1. Save the script as safe_shutdown.py on your Raspberry Pi.
  2. Add the script to your system's startup process using crontab or a systemd service to ensure it runs automatically.

Troubleshooting and FAQs

Common Issues and Solutions

Issue Possible Cause Solution
Raspberry Pi does not power on Incorrect wiring or insufficient power Verify connections and ensure the power source provides at least 2.5A.
Shutdown does not trigger GPIO pin not configured correctly Check the GPIO pin configuration and ensure the script is running.
Power cuts off unexpectedly Overcurrent or unstable power source Use a stable 5V DC power source with sufficient current capacity.
Button does not respond Faulty or miswired button Check the button wiring and replace if necessary.

FAQs

  1. Can I use the ATXRaspi with other single-board computers?

    • Yes, the ATXRaspi can be used with other devices that support GPIO-based power control, but additional configuration may be required.
  2. What happens if the power source is disconnected suddenly?

    • The ATXRaspi cannot prevent sudden power loss if the input power is disconnected. It is designed to manage power control and safe shutdown when used with a stable power source.
  3. Can I use the ATXRaspi with a battery?

    • Yes, as long as the battery provides a stable 5V DC output and sufficient current.

By following this documentation, you can effectively integrate the ATXRaspi into your Raspberry Pi projects, ensuring reliable power management and safe operation.