Difference between revisions of "Peripherals"

From Colettapedia
Jump to navigation Jump to search
Line 71: Line 71:
 
* L in IRL means logic, i.e. able to be driven by 3.3V
 
* L in IRL means logic, i.e. able to be driven by 3.3V
 
* [https://cdn-shop.adafruit.com/datasheets/irlb8721pbf.pdf data sheet]
 
* [https://cdn-shop.adafruit.com/datasheets/irlb8721pbf.pdf data sheet]
 +
 +
== LEDs ==
 +
=== The ones I bought ===
 +
* Soldering @ 260 deg C
 +
* Red, Yellow and Green have ~2V Forward Voltage, at 20mA current
 +
* Blue and White have ~3.3V Forward Voltage, at 20mA current
 +
* They all operate @ 5V

Revision as of 16:30, 24 February 2021

BNO055

HT16K33 LED Backpack

import board
import busio as io
i2c = io.I2C( board.SCL, board.SDA )
import adafruit_ht16k33.segments
display = adafruit_ht16k33.segments.Seg14x4( i2c )#, address=0x74)
display.fill(0)
display.print('CPY!')
display.show()

Velleman VMA412 RGB TFT display

74HC595

  • Texas Instruments SN74HC595N 8-Bit Shift Registers With 3-State Output Registers
  • Cost $4.84/4
  • 8-bit serial-in
  • parallel-out shift register that feeds an 8-bit D-type storage register
  • The storage register has parallel 3-state outputs
  • Separate clocks are provided for both the shift and storage register
  • The shift register has a direct overriding clear (SRCLR) input, serial (SER) input, and serial outputs for cascading
  • When the output-enable (OE) input is high, the outputs are in the high-impedance state
  • Both the shift register clock (SRCLK) and storage register clock (RCLK) are positive-edge triggered
  • If both clocks are connected together, the shift register always is one clock pulse ahead of the storage register.

ULN2803

  • ULN2803APG DIP-18 ULN2803 is high-voltage, high-current Darlington drivers comprised of eight NPN Darlington pairs
  • Output current (single output) 500mA MAX

TLC5940NT

  • TLC5940 16-Channel LED Driver With DOT Correction and Grayscale PWM Control
  • data sheet

Transitors

  • Used as amplifiers or switches
  • form factors
    • TO 92
    • 2N3904
    • TO220
  • Heat sinks are electrically to heat sink (center lead)

BJT

  • Bipolar Junction Transistor
  • BJTs are current driven
  • NPN most common
    • Apply small current to base
    • Allows high current to flow through collector emitter

MOSFET

  • N-channel and P-channel
  • 3 leads: gate, drain, source
  • N-channel
    • Low voltage applied to the gate
    • Drops resistance between drain and source down to almost zero

IRLB8721

  • IRLB8721PBF 30V 62A N-Channel Power MOSFET TO-220
  • L in IRL means logic, i.e. able to be driven by 3.3V
  • data sheet

LEDs

The ones I bought

  • Soldering @ 260 deg C
  • Red, Yellow and Green have ~2V Forward Voltage, at 20mA current
  • Blue and White have ~3.3V Forward Voltage, at 20mA current
  • They all operate @ 5V