hayschan / esp32-SN74HC165-example

Texas Instruments SN74HC165 8-bit Shift Register DIP-switch Input Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Texas Instruments SN74HC165 8-bit Shift Register DIP-switch Input Example

Continuously read input from 8 switches DIP-switch over Texas Instruments SN74HC165 8-bit Shift Register connected to ESP32.

Connection

SN74HC165 ESP32 Schematic

  • TI SN74HC165 SH/LD -> ESP32 PIN 25
  • TI SN74HC165 CLK -> ESP32 PIN 26
  • TI SN74HC165 QH -> ESP32 PIN 27
  • TI SN74HC165 CLK INH -> GND
  • TI SN74HC165 VCC -> 5V
  • TI SN74HC165 GND -> GND

Building Requirements

  • ESP-IDF
  • Configure Default serial port with make menuconfig

Building Instructions:

make flash

Running

make monitor

About

Texas Instruments SN74HC165 8-bit Shift Register DIP-switch Input Example


Languages

Language:C 74.3%Language:CMake 13.1%Language:Makefile 12.7%