USB self made button box
Hi
I saw that there are ways to built you own USB button box.
I wanted to ask if that would work with OpenSesame.
I was thinking about assigning each button to a key on the keyboard
(for example green button = 1, yellow = 2 etc.)
Would that be possible?
Thanks!

Comments
more specifically, I want to use a board to build my own button box.
I wanted to make sure that Open Sesame can detect a 5Vdc on four different pins . It will be a 5Vdc pulse of about 50 milliseconds. (I will use it with a windows computer)
This is the board:
http://www.ebay.com/itm/Leonardo-Pro-Micro-ATmega32U4-8MHz-3-3V-Replace-ATmega328-Arduino-Pro-Mini-/131694495857?hash=item1ea99a8871:g:hdoAAOSwX~dWjOXq
Thank you,
Tali
Hi Tali,
Where are you referring to?
I think the big question is what firmware are you going to put into the board and does that support a button box protocol OpenSesame supports.
Best,
Jarik
Hi Jarik
This is the firmware:
http://www.ebay.com/itm/Leonardo-Pro-Micro-ATmega32U4-8MHz-3-3V-Replace-ATmega328-Arduino-Pro-Mini-/131694495857?hash=item1ea99a8871:g:hdoAAOSwX~dWjOXq
Whether it will be supported by button box protocol is exactly my question (:
Thanks!
Tali
Hi Tali,
The firmware is the software that you put in the hardware board you found on eBay. This board will probably ship empty or at least not with firmware that can 'talk' to OpenSesame.
In my opinion you have two options:
Best,
Jarik
You could do that but the Boks requires that the Arduino and the buttons are set up in a particular way. Seeing how the Boks works could help you get started though, especially if you don't have a lot of experience. You could also take a look at StimSync:
More generally, @labovich, I have the impression that you're misunderstanding the principle of building a button box with an Arduino. When you do this, you write the firmware, or 'sketch' in Arduino terminology. So it's up to you to write an Arduino sketch and a piece of Python code running in OpenSesame, in such a way that they communicate. Does that make sense?
So this question:
Is not answerable or applicable--it depends on how you build the Arduino and write the software.
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thank you!
It's been helpful (: