Skip to content

Yaoyao-Hao/Apod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apod

Apod: An Arduino Library for Controlling Bpod

Introduction

  • Bpod is an open-source software for Real-time behaviour measurement. It is usually controlled by MATLAB or Python running on a PC.
  • This library enables controlling Bpod using an Arduino (without PC in loop). The core functions include handshake with Bpod, construct, send and run the state matrix, etc. See the example code Apod_example.ino to learn how to use the library.

Getting Started

  • Download the Latest release from GitHub. Unzip and paste the folder (include Apod.h Apod.cpp ) into your Library folder.
  • Connect Arduino with Bpod through 'Serial1' port (TX1 to RX1; RX1 to TX1, GND to GND);
  • Upload Bpod_Firmware_0_5_modified.ino to Bpod (Note the original firmware was modified to adapt Arduino control);
  • Construct your custom state matrix as in Apod_example.ino and upload it to Arduino;

Citation

Apod: An Arduino Library for Controlling Bpod (2020) https://github.com/Yaoyao-Hao/Apod/

Contribution

Feel free to pull a request If you want to contribute code to this repository, or leave your messages (bugs, comments, etc.) in the Issues page.

About

Apod: An Arduino Library for Controlling Bpod

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages