Computer programs for the new tachistoscope
Visual Studio 2015 the Community version is used to
make the Visual Basic programs that can communicate with the Arduino Uno by means of the serial port.
To program the Arduino Uno the Arduino IDE is used.
The first program is the Firmware for the Arduino Uno.
Its a build-in program that watches the serial port and reacts on the input of the serial port.
This program is called: FW_Tscope_V1.4
The program will address ports 13 and/or 12 of the Arduino Uno board after input from the com port.
In the simulation programs that follow, the Visual Basic programs will address these two ports (13 and 12).
In the simulation phase the two outputs 13 and 12 of the Arduino board are connected to two leds.
Later on the leds will be substituted by the leds of the tachistoscope by means of a Crydom Solid State Relay (SSR) D2D12.
First Visual Basic program is Serial-1.
With this program one can connect with the Arduino
and send commands.
The second Visual Basic program is called TimerTestprogram
With this program one can test whether the given presentation values are correctly received by the Arduino. The values received are send back to the Visual Basic program.
The third program is meant for the One-channel version of the tachistoscope:
This program uses one channel on our breadboard simulation so one led going on and off.
A simple experiment is simulated: two men and two woman are presented and the question is: is it a man or a woman?
The commands and pictures and gender of the person on the picture used are in the input file.
The same data plus the answers given plus the feedback of the Arduino are in the outputfile.
This is an example of a simple task.
The forth Visual Basic program is for the two channel approach: