Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Arduino and OpenSesame

edited May 2016 in OpenSesame

Hello,
I am beginner, in english too. And I breaked my spacebar because I am disapointed!
I have an arduino with a force sensor. I would like use this sensor like a response in a experimental designed by Opensesame.
I use "new boks" and I import in script an import serial. But I am not succeed to realize test (and after 1 million tries I breaked my spacebar!) :

Error message:

Traceback (most recent call last):
  File "C:\Program Files (x86)\OpenSesame\plugins\boks\boks.py", line 249, in stop_test
    self.test_thread.active = False
  File "dist\libopensesame\item.py", line 280, in __getattr__
AttributeError: test_thread not found

Could you help me?
Thanks,
GT

Comments

  • edited 4:46PM

    Hi,

    The Boks was a button box built around an Arduino and a custom 'sketch' (i.e. the software running on the Arduino). The Boks plugins are not general purpose: They do not just work with any Arduino, only those running the right software and built with the right connections. In addition, the Boks project has been discontinued (unfortunately).

    The Arduino is not very difficult to work with, but you'll need to start from the bottom and learn how everything works—no shortcuts here. The Boks software won't help you, except maybe that you can look at the way it's programmed, and adapt that for your purpose. There are quite a few good tutorials on the Arduino website. Your goal, I think, is to write an Arduino sketch that does the following:

    1. Read the force sensor
    2. Transmit this information via the serial port

    But how this works exactly depends on how you've put the hardware together. So you'll need to get your hands dirty and start coding!

    Cheers,
    Sebastiaan

  • edited 4:46PM

    Hi Sebastiaan,
    Thank for your response.
    The important point is to be sure to advance in good way! If I'm certain that's possible to "capt" response from arduino project with force sensor (who commands a vibration, is not so easy) with opensesame it's ok for me.
    And it's a great new. I put my hands in coding now!
    If others have links I take!
    GT

  • edited 4:46PM

    Another question :could I insert a "new inline script" to dialog with arduino?

  • edited 4:46PM

    Another question :could I insert a "new inline script" to dialog with arduino?

    Yes. For the Arduino, you would write a sketch using the Serial object to send information through the serial port (i.e. the USB port). In OpenSesame, you would then write an inline_script, using the serial module to capture this information.

    Again, this is only the general idea; the details depend very much on your set up.

  • edited 4:46PM

    It is exactly the procedure that I try now. Thanks a lot Sebastiaan. I'll try to explain my way if I success in the forum.
    See you
    GT

  • Hi @sebastiaan

    Is it possible to purchase the BOKS anywhere?

  • Is it possible to purchase the BOKS anywhere?

    I'm afraid not! That project has been canceled.

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games