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.
There are lots of other programming languages and other systems. Also there are lots of other microprocessors like Raspberry and so on.
The first program is the Firmware of the Arduino Uno.
Its a build-in program that whatches the serial port and reacts on the input of the serial port.
This program is called: FW_Tscope_V1.4
The program is adressing ports 13 and 12 of the Arduino Uno board.
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 are connected with 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 wether the given presentation values are correct.
Later on when the tachistoscope becomes concrete I will using another Arduino Uno and a lightsensor to measure the time values.
Are meant for testing the firmware of the Arduino and the functioning of the Visual Basic programs.
Later on when the tachistoscope is constructed we will show the concrete programs.
In the simulation programs there is not a connection between PC and LCD screen yet.
The third program is the One-channel version of the tachistoscope:
This program uses one channel in our breadboard simulation that will be 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 sexe 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 just an example of a simple task.
The forth Visual Basic program is for the two channel approach: