LoM lecture notes

Da raspibo.
Jump to navigation Jump to search

Renzo's Electronics cheat sheets

Renzoecs1.jpg

Renzoecs2.jpg

Renzoecs3.jpg

Renzo's chaotic list

BUS physical pinout:

PMOD:
  i2c:
        VCC GND SDA SCL
        VCC GND SDA SCL

  GPIO (type 1):
        VCC GND IO  IO  IO  IO

  SPI (type 2):
        VCC GND CLK MISO MOSI SS
  SPI (type 2A):
        VCC GND CLK MISO MOSI SS
        VCC GND xxx xxx  RST  INT

  UART (type 3):
        VCC GND TXD RXD RTS CTS
  UART (type 4):
        VCC GND RTS RXD TXD CTS
  UART (type 4A):
        VCC GND RTS RXD TXD CTS
        VCC GND xxx xxx RST INT

  HBRIDGE (type 5)
        VCC GND SB  SA  EN  DIR
  Dual HBRIDGE (type 6)
        VCC GND EN2 DIR2 EN1 DIR1

JEENODE:
        5V DIO GND 3V3 AIO IRQ
        or:
        5V SDA GND 3V3 SCL IRQ

        (DIO is digital IO, AIO is analog IO, SDA/SCL are i2C signals).

MAKEBLOCK ME boards:
  Red ports (Motors):
        SCL SDA VMOT GND DIO DIO
  Grey port (UART):
        xxx xxx GND VCC TXD RXD
  Dark Grey (Analog):
        ___ ___ GND VCC AIO AIO
  Blue (dual digital)
        ___ ___ GND VCC DIO DIO
  White (i2c)
        SCL SDA GND VCC ___ ___
  Yellow (single digital)
        ___ ___ GND VCC ___ DIO
  (one port can be Analog, single/dual digital, i2c compatible).


Bus Data Link.
  uart/rs232.
    asynchronous,
  1wire Dallas.
    DS18B20 is the only notable/widesread chip using it
  i2c (a.k.a. twi, two wire interface).
    synchronous bus, up to 128 nodes (master + 127).
  spi (serial peripheral interface)
    synchronous bus, 3 wires: clock, miso, mosi
    it needs separate SS (not enable) pins.
  ...i2s, can

Chip:
  MCP3424 i2c ADC (jeenode analog plug) (*** in Lab)
  TCS3414 i2c jeenode Color measuring plug
  HMC5883 i2c Compass (jeenode)
  MCP23008 i2c 8 port GPIO expander (jeenode motor, expander, output and LCD plugs)
  MCP3008/MCP3204 SPI ADC (*** in LAB)
  TC4424A h-bridge
  PCA9635 i2c dimmer (jeenode)
  BMA020/BMA150 i2c accelerometer (jee gravity plug)
  NE555 oscillator GPIO
  TLS2561 i2c Lux plug
  M24M01 i2c Memory plug
  ULN2803/ULN2003 Darlington Array GPIO (output plug)
  BMP085 i2c Pressureplug
  MPR084 i2c Proximity plug
  SC16IS740 i2c UART
  WS2812/WS2813 serial RGB LED
  TM1637 7segments display driver (non standard i2c bus)
  74HC595 shift register (GPIO expander)
  74HC245; 74HCT245 3-state bus driver (GPIO)
  ENC28J60/ENC28J600 SPI Ethernet controller (10 and 100Mbps)
  MPU6000-MPU6050 i2c Accel+Gyro (** in lab).

  ... a list of pmod modules is here: https://store.digilentinc.com/pmod-modules/