The TPIC6B595N, manufactured by Texas Instruments (Part ID: 296-1956-5-ND), is an 8-bit shift register with output latches and high-current output capability. It is designed to drive LEDs, relays, and other loads requiring high current. This component combines a serial input with parallel outputs, making it ideal for applications where efficient data transfer and control are required.
Explore Projects Built with TPIC6B595N
Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
This circuit is a data acquisition and communication system powered by a LiPoly battery and managed by a Raspberry Pi Pico. It includes sensors (BMP280, MPU9250) for environmental data, a GPS module for location tracking, an SD card for data storage, and a WLR089-CanSAT for wireless communication. The TP4056 module handles battery charging, and a toggle switch controls power distribution.
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
This circuit is a battery-powered system featuring an ESP32 microcontroller that controls an OLED display, a motor driver for two hobby motors, an ultrasonic sensor for distance measurement, and a DFPlayer Mini for audio output through a loudspeaker. The TP4056 module manages battery charging, and a step-up boost converter provides a stable 5V supply to the components.
This circuit features a Raspberry Pi Pico microcontroller interfaced with an HC-05 Bluetooth module for wireless communication, an HMC5883L compass module for magnetic field measurement, and a GPS NEO 6M module for location tracking. The Pico is configured to communicate with the HC-05 via serial connection (TX/RX), with the compass module via I2C (SCL/SDA), and with the GPS module via serial (TX/RX). Common power (VCC) and ground (GND) lines are shared among all modules, indicating a unified power system.
The TPIC6B595N has 16 pins, as described in the table below:
Pin Number
Pin Name
Description
1
GND
Ground connection
2
Q1
Output 1 (drain of the first output transistor)
3
Q2
Output 2 (drain of the second output transistor)
4
Q3
Output 3 (drain of the third output transistor)
5
Q4
Output 4 (drain of the fourth output transistor)
6
Q5
Output 5 (drain of the fifth output transistor)
7
Q6
Output 6 (drain of the sixth output transistor)
8
Q7
Output 7 (drain of the seventh output transistor)
9
Q8
Output 8 (drain of the eighth output transistor)
10
SRCLR
Shift register clear (active low)
11
SRCLK
Shift register clock input
12
RCLK
Register clock input (latches data from the shift register to the output latch)
13
SER
Serial data input
14
OE
Output enable (active low)
15
Vcc
Supply voltage
16
NC
No connection
Usage Instructions
How to Use the TPIC6B595N in a Circuit
Power Supply:
Connect the Vcc pin to a 5V power supply and the GND pin to ground.
Ensure the power supply can handle the current requirements of the connected loads.
Data Input:
Use the SER pin to input serial data. Data is shifted into the register on the rising edge of the SRCLK signal.
The RCLK pin latches the data from the shift register to the output latch on its rising edge.
Output Control:
The OE pin enables or disables the outputs. Pull this pin low to enable the outputs.
Connect your load (e.g., LEDs or relays) between the output pins (Q1-Q8) and the power supply.
Clearing the Shift Register:
Use the SRCLR pin to clear the shift register. Pull this pin low to reset the register.
Driving Loads:
Ensure the connected loads do not exceed the maximum current rating of 150mA per channel.
Use appropriate resistors or current-limiting devices for LEDs.
Example: Connecting to an Arduino UNO
The TPIC6B595N can be easily interfaced with an Arduino UNO for controlling multiple LEDs. Below is an example circuit and code:
Circuit Connections
SER → Arduino Pin 11 (MOSI)
SRCLK → Arduino Pin 13 (SCK)
RCLK → Arduino Pin 10
OE → Arduino GND (to enable outputs)
SRCLR → Arduino 5V (to keep the shift register active)
Vcc → Arduino 5V
GND → Arduino GND
Connect LEDs with appropriate resistors to Q1-Q8.
Arduino Code
// TPIC6B595N Example Code for Arduino UNO
// This code demonstrates how to control 8 LEDs using the TPIC6B595N shift register.
#define DATA_PIN 11 // SER pin on TPIC6B595N
#define CLOCK_PIN 13 // SRCLK pin on TPIC6B595N
#define LATCH_PIN 10 // RCLK pin on TPIC6B595N
void setup() {
pinMode(DATA_PIN, OUTPUT);
pinMode(CLOCK_PIN, OUTPUT);
pinMode(LATCH_PIN, OUTPUT);
}
void loop() {
for (int i = 0; i < 256; i++) {
digitalWrite(LATCH_PIN, LOW); // Disable latch to update shift register
shiftOut(DATA_PIN, CLOCK_PIN, MSBFIRST, i); // Send data to shift register
digitalWrite(LATCH_PIN, HIGH); // Latch data to outputs
delay(500); // Wait for 500ms
}
}
Important Considerations
Always use current-limiting resistors for LEDs to prevent damage.
Ensure the total current drawn by all outputs does not exceed the device's thermal limits.
Use decoupling capacitors (e.g., 0.1µF) near the Vcc pin to stabilize the power supply.
Troubleshooting and FAQs
Common Issues and Solutions
Outputs Not Responding:
Verify that the OE pin is pulled low to enable the outputs.
Check the connections to the RCLK and SRCLK pins to ensure proper clock signals.
Shift Register Not Clearing:
Ensure the SRCLR pin is pulled high during normal operation. Pulling it low will reset the register.
LEDs Not Lighting Up:
Check the polarity of the LEDs and ensure appropriate current-limiting resistors are used.
Verify that the output pins (Q1-Q8) are correctly connected to the LEDs.
Overheating:
Ensure the total current drawn by all outputs does not exceed the device's maximum ratings.
Use a heatsink or improve ventilation if necessary.
FAQs
Q: Can I cascade multiple TPIC6B595N chips?
A: Yes, you can cascade multiple chips by connecting the Q7 output of one chip to the SER input of the next chip. This allows you to control more outputs with the same microcontroller.
Q: What is the maximum clock frequency for the shift register?
A: The shift register can operate at clock frequencies up to 25MHz.
Q: Can the TPIC6B595N drive inductive loads like relays?
A: Yes, the TPIC6B595N is designed to handle inductive loads. However, ensure proper flyback diodes are used to protect the device from voltage spikes.
Q: Is the TPIC6B595N compatible with 3.3V logic?
A: No, the TPIC6B595N requires a supply voltage of 4.5V to 5.5V and is not directly compatible with 3.3V logic. Use a level shifter if interfacing with 3.3V systems.