Questions tagged [input-devices]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
183 views

Wolfram Mathematica and Arduino serial data capture not working Dynamic stream

This post is a continuation and modified version of an earlier post from few years ago. Please help with the Dynamic function capturing data from a Serial stream from Arduino. I am not having luck ...
Jose Enrique Calderon's user avatar
1 vote
0 answers
76 views

Communicating with USB device

I would like to control and acquire data from a USB device using MMA 13 running on Windows 10. (The device is an Ocean Optics HR2000 spectrometer.) I Do not have a device driver or an API for the ...
David Keith's user avatar
  • 4,167
0 votes
0 answers
59 views

Controlling my Drone

I have the ambitious plan to paint a wall using a drone. And I would like to do that with Wolfram mathematica. Does anyone have experience flying a drone with their laptop? Is it possible to control ...
Michiel van Mens's user avatar
2 votes
0 answers
41 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-...
bobthechemist's user avatar
1 vote
0 answers
75 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 ...
Nick's user avatar
  • 403
2 votes
0 answers
420 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 ...
jea1768's user avatar
  • 21
0 votes
1 answer
97 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 ...
David Keith's user avatar
  • 4,167
1 vote
1 answer
128 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 ...
George's user avatar
  • 3,115
0 votes
0 answers
64 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 ...
user66518's user avatar
2 votes
0 answers
56 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) ...
Heberley Tobón Maya's user avatar
1 vote
1 answer
311 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....
Jose Enrique Calderon's user avatar
4 votes
0 answers
168 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 ...
Tsai Ming-Chou's user avatar
7 votes
2 answers
273 views

Lego EV3 <-> Wolfram Language

Does anyone know a source for a tutorial how to control a LEGO EV3 with WL? Thank you, JJJ
JJJanezic's user avatar
  • 277
8 votes
1 answer
178 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 ...
M.R.'s user avatar
  • 31.2k
11 votes
2 answers
645 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 ...
Aleksandr Berezutskii's user avatar
7 votes
2 answers
400 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 ...
yode's user avatar
  • 26.3k
5 votes
1 answer
504 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 ...
Ahmed Khairy's user avatar
1 vote
0 answers
53 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 ...
rosu_constantin's user avatar
4 votes
1 answer
271 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[] ...
Edmund's user avatar
  • 41.7k
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? ...
User18's user avatar
  • 882
4 votes
0 answers
227 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 ...
Martin R's user avatar
  • 460
2 votes
1 answer
347 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 ...
LeoRon7's user avatar
  • 477
11 votes
1 answer
499 views

Serial - DeviceOpen - Baudrate Error

When trying: ser = DeviceOpen["Serial", {"COM1", "BaudRate" -> 230400}] I get: ...
swoo's user avatar
  • 111
1 vote
0 answers
163 views

Problem with FindDevices["Camera"] [closed]

I have a problem with FindDevices["Camera"] function. When I try to execute it I get this: ...
Tomek Żaba's user avatar
1 vote
1 answer
126 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 ...
SerialMadness's user avatar
3 votes
0 answers
234 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: ...
Dragan Mrakovic's user avatar
9 votes
1 answer
414 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 ...
quantum_loser's user avatar
7 votes
2 answers
443 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 ...
awyr_agored's user avatar
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'...
MrVPlusOne's user avatar