ycliper

Популярное

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

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

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

Топ запросов

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

Psychopy, Python and Arduino (using serial communication) - Introduction (Video 0)

Автор: garrea01

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

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

Описание: In this series we will journey into hardware control and combine our Psychopy (python) programming with arduino micro-controllers. As usual we have an experiment that we want to build. In this case, we want to be able to turn on and off ultra-bright LED lights and change the illumination of our behavioural arena.

Learning how to control hardware devices (even simple ones light LED lights or sensors) will increase your ability to design and monitor complex experiments. We will eventually use the serial library (from python) to send serial commands (or serial communication) between the python program and our microcontroller. In order for these serial commands to ‘make sense’ to the arduino, we will also need to generate and upload a program onto the arduino itself.

To follow along with these experiments, you will need an arduino (I will be using an arduino UNO) but any compatible arduino with digital pins should work fine. Our programs here will use LED lights to turn on and off, so we should have a couple of those (at least 2 would be good). If you’re really ambitious you should also get some ~270ohm resistors (¼ watt should be fine) to limit current to our LED. If you don’t have these, then you can go without (but be very careful) for these videos (I recommend using resistors).

You will also need to download the Arduino IDE (see site below) which is open source, as well as Python3 with the serial library. We will go through the python libraries in a future video.

Disclaimer.
This is not designed to be a complete python programming course, however it will be necessary to touch on different aspects of python programming as we learn to communicate using serial ports and serial interfaces.

Software used in these videos
Arduino IDE (for Windows/ OSX Linux): http://arduino.cc
Python (for windows) : http://python.org
Psychopy: http://psychopy.org
Atom Editor: http://atom.io

I hope these videos are helpful.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Psychopy, Python and Arduino (using serial communication) - Introduction (Video 0)

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

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

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

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

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

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

Psychopy, Python and Arduino (serial communication) - Blinking LED (Vid 1)

Psychopy, Python and Arduino (serial communication) - Blinking LED (Vid 1)

Прекратите покупать платы Arduino! Собирайте их сами за 3 доллара!

Прекратите покупать платы Arduino! Собирайте их сами за 3 доллара!

The Internet, Reinvented.

The Internet, Reinvented.

Прозвонка электронной платы шаг за шагом | Подробная инструкция для мастера | Программатор ST-LINK

Прозвонка электронной платы шаг за шагом | Подробная инструкция для мастера | Программатор ST-LINK

Фильм Алексея Семихатова «ГРАВИТАЦИЯ»

Фильм Алексея Семихатова «ГРАВИТАЦИЯ»

Psychopy and Arduino

Psychopy and Arduino

Hack Pack – Введение в Arduino

Hack Pack – Введение в Arduino

#1 Как работает электричество? Курс по электронике - от первой схемы до Arduino и готового проекта

#1 Как работает электричество? Курс по электронике - от первой схемы до Arduino и готового проекта

Атмосферное электричество

Атмосферное электричество

Как Сделать Настольный ЭЛЕКТРОЭРОЗИОННЫЙ Станок?

Как Сделать Настольный ЭЛЕКТРОЭРОЗИОННЫЙ Станок?

CAN-шина: последовательная связь — как это работает?

CAN-шина: последовательная связь — как это работает?

20 Things in Electronics That Confused me 20 Years Ago

20 Things in Electronics That Confused me 20 Years Ago

Почему реактивный двигатель не плавится? [Veritasium]

Почему реактивный двигатель не плавится? [Veritasium]

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Но что такое нейронная сеть? | Глава 1. Глубокое обучение

Вы можете изучить Arduino за 15 минут.

Вы можете изучить Arduino за 15 минут.

Автоматизация взлома оборудования с помощью кода Клода

Автоматизация взлома оборудования с помощью кода Клода

Главный козырь США: авианосец, который меняет правила игры

Главный козырь США: авианосец, который меняет правила игры

Обращение к нации, с которого началась война (English subtitles) @Максим Кац

Обращение к нации, с которого началась война (English subtitles) @Максим Кац

Развлечения с транзисторами

Развлечения с транзисторами

Кирилл Набутов и Максим Курников | Интервью BILD

Кирилл Набутов и Максим Курников | Интервью BILD

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



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



Контакты для правообладателей: [email protected]