[Howto] Raspberry Pi + I²C + MCP23017 + C (minimal example)
minimal working example: read data from MCP23017-register and print it to screen.
minimal working example: read data from MCP23017-register and print it to screen.
purpose: measuring the timespan between rising/falling-edge (=off/on/off-change) of a digital-output-bank (GPA0…GPA7) testing equipment: -Raspberry Pi 3 Modell B-I2C-adress of MCP23017-chip = 0x20-MCP23017 register-adress of 8 digital-outputs: 0x14-Owon SDS7102 digital ocsilloscope conclusion: I²C-baudrate bash Python C 100.000 5,18 ms @ 75 … Continued
Q: How to show power-contacts in contact-table?A: menu “project” –> menu-entry “project-properties” –> Tab “new folio” –> Tab “cross-references” –> type-entry “coil” –> enable “show the power contacts in the cross” Q: What is the difference between “label formula” and … Continued
short facts: supported i2c-speeds: Standard-Mode (100 kHz) and Fast-Mode (400 kHz) supported 1wire-speeds: Standard-Mode and Overdrive-Mode 8 independent 1-wire channels (1 active channel per-time, default-channel = 00) 8 possible i2c-adresses (selectable via 3 pins) supports 1-wire signal-optimization (3 possiblities: normal-resistor, … Continued
pricing from farnell-distributor (1 piece) all optocouplers with built-in zero-crossing (= usable with triacs) company modell I_FT in mA I_TM in mA V_DRM in V price in euro (01/2017) Vishay IL4118 1,3 300 800 4,55 Toshiba TLP3064 3,0 100 … Continued
manufacturer: Uni-T modell: UT612 LCR-Meter (2015 modell) calibration: before measurement (open circuit and shotcut) measurement: with supplied measuring bridge testobject: 2x foil capacitor (manufacturer: Yageo, C = 220 µF, Umax = 250 V, SEK 105°C, 08/2008) Results for capacitor … Continued