Questions tagged [input-devices]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

How do I import changing/dynamic data on a webpage?

A remote device (sensor) is sending measurements (that I get in JSON format) to a given URL and is sending new measurements (data points) every couple of minutes. I cannot share the URL but the ...
2
votes
0answers
36 views

How to write on a camera device

I am trying to use a USB camera which is made with a CMOS sensor, there are some parameters that can be set for the camera as gain and some others, the problem is talk with the sensor (APTINA MT9P031) ...
1
vote
1answer
115 views

Plot Serial data from Arduino with time date problem

My WM code reads Arduino data from three analog sensors. My code successfully captured the data from the buffer and add the date of capture using the Now[] function....
10
votes
2answers
433 views

How do I read values from photocells connected to analog pins of Arduino Uno?

Generally, I need to connect my Arduino Uno to Mathematica and read 3 analog values from A0, A1, A2 in real-time. As I understand, I have 2 ways of connecting Arduino to Mathematica: First: I have a ...
5
votes
1answer
369 views

How to use the various pins of Arduino Mega 2560 while Mathematica identifies it as Uno Board?

I was trying to connect Arduino Mega 2560 to Mathematica for a Hardware in the loop simulation. I needed to output 12 variables from Mathematica on 12 PWM Arduino Channels. but an Uno Board does not ...
4
votes
0answers
102 views

How does Mathematica connect to Bluetooth 4.0 device and analyze sampled data?

How does Mathematica connect to heart rate device via Bluetooth 4.0 and analyze the sampled data? The FindDevices command has tried but the device cannot found. Are there any things to be aware or ...
7
votes
2answers
202 views

Lego EV3 <-> Wolfram Language

Does anyone know a source for a tutorial how to control a LEGO EV3 with WL? Thank you, JJJ
8
votes
1answer
168 views

Audio equivalent of CurrentImage

Unfortunately, there is no CurrentAudio[] function yet. I'm trying to poll for 1 second clips of audio (as fast as possible) from my computer's microphone (and ...
4
votes
1answer
224 views

FindDevices and DeviceOpen cannot find SenseHAT

I have a Raspberry-Pi 3 with a Sense Hat connected. The Python 3 application can find, query, and write to the Sense Hat. However, in Mathematica FindDevices[] ...
4
votes
0answers
170 views

Data acquisition from TCP socket

At last (since 10.3) we have straightforward/documented access to TCP sockets. It's been a long wait. So far there is very little discussion of the new feature. Although some older posts are still ...
7
votes
2answers
236 views

How to capture the system sound output, but not the microphone?

This is my $Version "11.1.1 for Microsoft Windows (64-bit) (May 16, 2017)" We have two methods to record sounds in ...
1
vote
0answers
49 views

Instant detection of digital or analogue variation of a variable with Mathematica in Windows 8.1

I am using an assembly that contains two acquisition board (PCI-1742U-AE and PCIE-1816H-AE) and an external circuit, connected to boards. The computer uses Windows 8.1, and the communication is done ...
9
votes
3answers
593 views

What is the middle mouse button called in Mathematica's code?

I want to create a custom shortcut triggered by clicking (not rolling) the middle mouse button. But a seemingly trivial question gets in the way: What is the middle mouse button called in Mathematica? ...
2
votes
1answer
289 views

Problem using Arduino with Mathematica

I`m trying to read a weigh value from a scale with the code above and using the this library https://github.com/bogde/HX711 ...
10
votes
1answer
336 views

Serial - DeviceOpen - Baudrate Error

When trying: ser = DeviceOpen["Serial", {"COM1", "BaudRate" -> 230400}] I get: ...
1
vote
0answers
133 views

Problem with FindDevices[“Camera”] [closed]

I have a problem with FindDevices["Camera"] function. When I try to execute it I get this: ...
9
votes
1answer
956 views

How to restrict the mouse cursor to stay within a box?

I'm trying to use Mathematica to write small games, and I find that it would help to restrict the player's mouse into the game window (just like other games do). Is there any way to achieve this? I'...
9
votes
1answer
268 views

Foreign Keyboards and Mathematica?

I have a foreign language keyboard (French). Most of my programs recognize the my French keyboard, except Mathematica, which behaves as if the keyboard were English. So far I haven't found any way to ...
1
vote
1answer
109 views

Writing to a serial device failing mysteriously

I have a device which communicates with the computer through serial. The device waits until it receives the character 'a', and then begins to stream data. I have been able to connect to the device and ...
3
votes
0answers
216 views

Capturing microphone data [duplicate]

How to capture current microphone data, just like using the function CurrentImage[] for capturing image? For example, this captures an image: ...
7
votes
2answers
414 views

Connecting to LeapMotion

Thanks to those who helped me with my previous question. I will help others too where I can. In the meantime I have a general question whether anyone has had success connecting Mathematica to the ...