Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

RPi 05 - Detect Input Using Interrupts

Автор: tsbrownie

Загружено: 2019-02-02

Просмотров: 9455

Описание:

The 2nd experiment using an Infrared LED and Sensor to detect inputs on a Raspberry Pi, this time using interrupts in Python 3 with much faster / more reliable detection.

Interrupts are interesting because it allows the Pi to carry on with 1 program while waiting for a real-time trigger to tell it to do something else immediately. It works until it is *interrupted* to perform a higher priority task.

A relatively simple python program allows you to power the LED and use the photodiode to detect any interruption of the IR beam. Can be used for counting, detection of objects, location of moving parts, etc.

MATERIALS
IR photodiode
IR LED
330 ohm resistor x2
1M ohm resistor
Jumpers
Breadboard
Raspberry Pi


WARNING: Warning: mis-wiring or mis-programming your Pi or miswiring of accessories can ruin the Pi and accessories.
Information/drawings offered as is. Use at your own risk. If you don't know, learn first.

Re-edit for annotations.

RPi 05 - Detect Input Using Interrupts

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

RPi 06 - Counter Using Interrupt

RPi 06 - Counter Using Interrupt

Raspberry Pi Pico W LESSON 83: Using Interrupts in Micropython

Raspberry Pi Pico W LESSON 83: Using Interrupts in Micropython

Formalizing and Automating STPA with Robustness

Formalizing and Automating STPA with Robustness

Raspberry Pi - How to Handle GPIO Interrupts with Python 3

Raspberry Pi - How to Handle GPIO Interrupts with Python 3

Raspberry Pi GPIO Switch Input - Part 1: Circuitry and Debouncing

Raspberry Pi GPIO Switch Input - Part 1: Circuitry and Debouncing

Using PICO Interrupts

Using PICO Interrupts

Многофункциональный генератор с ручным приводом

Многофункциональный генератор с ручным приводом

Учебное пособие по измерению мощности Raspberry Pi INA219

Учебное пособие по измерению мощности Raspberry Pi INA219

Estop and Limit Switch using Interrupts

Estop and Limit Switch using Interrupts

004 - ESP32 MicroPython: External Interrupt

004 - ESP32 MicroPython: External Interrupt

Using an LCD Display with Inputs & Interrupts on Raspberry Pi

Using an LCD Display with Inputs & Interrupts on Raspberry Pi

MicroPython #4 - PWM, ADC, Timers & Interrupts

MicroPython #4 - PWM, ADC, Timers & Interrupts

Как сделать схему датчика освещенности с использованием фоторезистора и Raspberry Pi

Как сделать схему датчика освещенности с использованием фоторезистора и Raspberry Pi

Using an EEPROM to replace combinational logic

Using an EEPROM to replace combinational logic

Raspberry Pi: Using GPIO Inputs

Raspberry Pi: Using GPIO Inputs

Tutorial: Control Raspberry Pi GPIO via HTTP Web Server (Python3)

Tutorial: Control Raspberry Pi GPIO via HTTP Web Server (Python3)

Управляйте своим Raspberry Pi удаленно с помощью телефона | RaspController

Управляйте своим Raspberry Pi удаленно с помощью телефона | RaspController

Learn MicroPython #4 - Interrupts (event-driven code)

Learn MicroPython #4 - Interrupts (event-driven code)

Raspberry Pi GPIO Switch Input - Part 4: Connecting a Piezo Beeper

Raspberry Pi GPIO Switch Input - Part 4: Connecting a Piezo Beeper

Raspberry Pi Pico W: Wireless Weather Station

Raspberry Pi Pico W: Wireless Weather Station

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com