Questions tagged [input-devices]
The input-devices tag has no usage guidance.
26
questions
2
votes
0
answers
34
views
Possible error in DeviceOpen["Serial", ...]
I'm using Mathematica to interface with a Feather M4 Express running Circuitpython. Presently, the M4 is sending "hello" to the serial console in 1 second intervals. It also has an on-...
1
vote
0
answers
64
views
Device handling on Raspberry Pi Mathematica 12.1 seems broken [closed]
I've been intending to interface Mathematica with the Raspberry Pi Camera, but it appears device handling in 12.1 is broken. I burnt a brand new install of 32 bit Buster with the output of uname -a as ...
2
votes
0
answers
253
views
Getting an image from the Intel RealSense Depth Camera
Does anybody know how to make the "Module Depth" of an Intel RealSense camera work in Mathematica 12.0?
I can use the "Module RGB" with
...
0
votes
1
answer
57
views
Device connection to camera evaporates
I have been trying to write Mathematica code in a notebook to connect to a camera by USB and collect and process the images as part of an experimental apparatus. While developing the code I find that ...
1
vote
1
answer
117
views
Connecting Mathematica to Amazon Alexa
Is it possible to connect Mathematica to Amazon Alexa products, so you could -- for example -- make a queries like
...
0
votes
0
answers
60
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
0
answers
49
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
1
answer
234
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....
4
votes
0
answers
153
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
2
answers
264
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
1
answer
175
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 ...
11
votes
2
answers
608
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 ...
7
votes
2
answers
365
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 ...
5
votes
1
answer
475
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 ...
1
vote
0
answers
51
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 ...
4
votes
1
answer
259
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[] ...
9
votes
3
answers
1k
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? ...
4
votes
0
answers
210
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 ...
2
votes
1
answer
332
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
...
11
votes
1
answer
472
views
Serial - DeviceOpen - Baudrate Error
When trying:
ser = DeviceOpen["Serial", {"COM1", "BaudRate" -> 230400}]
I get:
...
1
vote
0
answers
154
views
Problem with FindDevices["Camera"] [closed]
I have a problem with FindDevices["Camera"] function. When I try to execute it I get this:
...
1
vote
1
answer
119
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
0
answers
233
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:
...
9
votes
1
answer
383
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 ...
7
votes
2
answers
436
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 ...
9
votes
1
answer
1k
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'...