Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PC as BPOD Module ?
#1
Hi Josh:

I am trying to connect a PC (a Virtual Reality Engine for Behavioral Tasks) to BPOD as if it were a Module.

My plan is to send some signals as events to BPOD when the subject reaches certain places in the Virtual World.

I thought this connection could be achieved with some of these USB to serial/RS 485 converters:

https://www.gearmo.com/shop/usb-to-rs485...terminals/
https://www.digikey.com/products/en?mpart=954&v=1528


I made a small presentation to show the main goal and the possible connection diagrams:

https://docs.google.com/presentation/d/1O3m6uOvlZdYCuThj58TRx8__ho-evxlZ0R-PDAEVdQ0/edit#slide=id.g8c35ea80fe_0_96

Maybe there is another way to achieve this objective (PC as BPOD module) 


Thank you very much for your help on this topic Josh

Alvaro
Reply
#2
Hi Alvaro,

You can make the connection you're describing with the Bpod Teensy Shield, a Teensy 3.2, and a single line mod to the echo module firmware.

The mod is: delete line 47:

Code:
Serial1.write(SerialOutputBuffer, outputBufferIndex);

You will then have a module that relays any bytes from the state machine to USB, and any bytes from USB to the state machine.

-Josh
Reply


Forum Jump: