Interfacing Arduino with an ActiveX object generated by Bioexplorer

I am an electronics hobbyist but a novice to C++ coding. I started with Arduino because I want to make initially a robot moved using mind control

I work with Neurofeedback and in this discipline we use a program called Bioexplorer to read the brain waves.

When executed, this program generates automatically an ActiveX object containing the values of the waves I want, but I do not know how to read it from the Arduino sketch.

Does anyone has experience reading an ActiveX object?

What more info have I to post to get some help?

Will you please recommend me an action course indicating me what have I to learn or to whom may I contact to solve the problem?

Best regards

Hi, interesting project! But not a begginner's project, not by a long way.

Seems to me you will need to creeate a windows app to read the values from the ActiveX object and relay them by a serial comm port to the Arduino, either by cable, IR or RF.

Then you have to build or buy an Arduino based robot and write a sketch for that.

Paul

Hello:

Thanks a lot for your attention.

The Bioexplorer program comes with an example code for reading graphically the brain waves data, but I understand nothing about this high level programing. I will anex the code at the end if the board lets me do that (as a compressed file).

About the connection I was thinking in using an Ethernet shield and cable for freeing the USB port but is not mandatory.

I have the robot that initially will be constituded mainly by a frame and two servos that will move the frame forward or backward.

The Bioexplorer program can read the ratio of Beta/Theta waves in any point of the brain. This ratio is proportional to the degree of concentration so if you have a good concentration, Bioexplorer sends a high ratio number to the Arduino servos and the robot walks fast forward. When you loose your concentration the robot stops or goes backward.

Final idea is to move a wheelchair (or a robotic arm) taking readings of two or more points from your brain.

Thanks a lot and kind regards

Alonsomaria

BETestClient.rar (33.3 KB)

alonsomaria:
When executed, this program generates automatically an ActiveX object containing the values of the waves I want, but I do not know how to read it from the Arduino sketch.

I'm not aware of a DCOM client for Arduino and I think it would be extremely difficult to make one, so I don't believe that direct access is feasible. Presumably the ACTIVEX object is designed to be accessed by a Windows application and it would be easy enough to implement that. It would also be easy to implement a serial connection between the Windows application and your Arduino, and you will find plenty of examples of that in the playground. The last part of having the Arduino read commands from the serial connection and move servos or motors is also relatively simple and you will find plenty of examples of that.

It would also be easy to implement a serial connection between the Windows application and your Arduino, and you will find plenty of examples of that in the playground.

Many thanks for your reply:

Will you please give an example of a connection of a Windos aplication and the Arduino serial bus? I am very new to this field.

Best regards.

Alonsomaria

Look at the Arduino Playground (under Learning -> Playground in the site menu) - it has a Communications section that covers communication between the Arduino and PC applications. There is also a forum section "Interfacing w/ Software on the Computer" which is dedicated to problems relating to this.