Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Psychopy, Python and Arduino: python control of arduino output (Video 4)

  • garrea01
  • 2019-06-06
  • 777
Psychopy, Python and Arduino: python control of arduino output (Video 4)
PythonpsychopyserialarduinoneuroscienceOSXprogramming in pythonwindows
  • ok logo

Скачать Psychopy, Python and Arduino: python control of arduino output (Video 4) бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Psychopy, Python and Arduino: python control of arduino output (Video 4) или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

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

Cкачать музыку Psychopy, Python and Arduino: python control of arduino output (Video 4) бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Psychopy, Python and Arduino: python control of arduino output (Video 4)

In this series we will journey into hardware control and combine our psychopy (python) programming with arduino microcontrollers. 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.

In this video we add serial control of our second led and then we use Arduino’s serial monitor utility to control the state of our LEDs. We then write a python program to start serial communication and accept user input (from the keyboard) to turn on and off the LED using ‘if’ control statements. We can control the duration of LED ON and OFF either using software (such as psychopy core.wait, or standard library time.sleep), or we can control LED timing using the microcontroller’s delay() function.

We next think about setting up a ‘state-machine’ where we think of our LED's as being in one of two states (on/off). We can toggle our led on and off by looking at the current state (i.e if the LED is ON turn it OFF and update the STATE). This is a simple look at setting and updating state variables.

In the next videos we will make an example program that involves Psychopy stim.draw() and win.flip() and learn to send serial commands relative to our stimuli.


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.

Комментарии

Информация по комментариям в разработке

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

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

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