Timestamps: 00:00 Intro 00:24 TPIC6B595 Shift Register 01:02 What is a shift register? 01:17 Serial-in - Parallel-out 02:01 TPIC6B595 Pin Configuration 03:02 Operational Diagram 03:11 Cascading the TPIC6B595 03:54 SPI Communication 04:27 STM32CubeMX SPI Setup 05:12 Pin-setup Referencing the Operational Diagram 06:00 Programming a Function to communicate with the TPIC6B595 08:03 Example 1 - Sending Hex Data and Displaying it on 16 LED's 09:56 Example 2 - Walking 1's 13:20 Example 3 - Counting Nixie Tube 14:45 Outro
@properjob23113 жыл бұрын
You have a great teaching style
@thehardwareguy3 жыл бұрын
Thank you for the kind words
@stuartmcconnachie2 жыл бұрын
There no need to take ~G high to disable outputs when clocking in data. I’ve no idea why they confused the logic diagram in the datasheet by making it look like that is necessary. Indeed it is usually advantageous not to do this so the current display is not unnecessarily blanked while shifting. The 6B595 is a shift register combined with a D type storage register. Data from the shift register is only transferred to the storage register, and hence the outputs, on the rising edge of RCLK. Until then the outputs retain their previously latched value regardless of any new data currently shifted in. A good use of ~G would be to connect to a PWM output of the microcontroller. You can use this to control brightness, and do cool effects like fade in/out.
@BrianJorgensenAbides3 жыл бұрын
Multiplex all the things! Fun walkthrough
@amirabdjamalnuvending5654 Жыл бұрын
hi. Great explanation. Do you mind make another video explaining how to use SPI by using interrupt?
@svenbauerle72777 ай бұрын
Do you Need a Constant current source or how to decide the resistor size for the LEDs? If i use a 7 Segment Display and Speed up the LEDs dim a lot. Have you experience with shiftreg and constant current source ?
@bjornolsson9103 Жыл бұрын
Thank you for this video! One question, what is &hspi1 in your transmit call?
@yetervayburt69242 жыл бұрын
Awesomeee 😍😍😍😍
@TheNicholasBrothers3 жыл бұрын
How are you able to drive a nixie tube when the TPIC6B595 output drain to source voltage is clamped to 50V? Don't nixie tubes normally require 150V+ to turn on?
@stuartmcconnachie2 жыл бұрын
The anode voltage on the nixie is usually 170 to 180v. If the cathode is clamped to 50v then the voltage across the tube is only 120-130v, so not enough to reach the ignition voltage of the neon, and so the nixie remains off. The clamping is useful in applications where there might be voltage spikes on the outputs. It prevents the chip from being damaged by higher voltages. In this application we care only that the outputs can handle maximum potential that will result when the tubes are off (i.e. below the tubes ignition voltage). When off/not connected the cathodes will float to the anode voltage, but are pulled down to the 50v by the clamping. However, as the nixie is off very little current flows in this condition.
@yetervayburt69242 жыл бұрын
Really studiyng
@Guhimbaza_piano3 жыл бұрын
Can you please make a matrix project with this same shift register,many makers use74hc595,but i think it is a good idea giving us another tutorial with tpic595 matrix bcz of it's ability to drive high voltage