A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.
8

If you are under Windows, it is possible to access the RS232 port via netLink`. << NETLink` InstallNET[] ser = NETNew["System.IO.Ports.SerialPort", "COM1"] ser @ Open[] ser @ BaudRate = 230400 I don't have any device at 230400 Bauds. To try the port, I have made a shortcut between pin 2 and 3 of my connector (ie Transmitter linked to Receiver) and ...


5

Yes, see this WTC-2015 presentation by Todd Gayley “Commanding the Wolfram Cloud” on YouTube. Here you can find the notebook: "Commanding the Wolfram Cloud" at library.wolfram.com.


5

I think the second approach should work. If it's not working for you, try the following with the first approach. First, you need to fix the sketch by specifying the type of the variables y1, y2, and y3. After uploading your sketch, open a connection to the Arduino. dev = DeviceOpen["Serial", "COM3"] Create a function to parse the incoming data. ...


4

I have spent a little time accessing the methods of the Java linker file for LeapMotion with Mathematica based on the work of others: http://community.wolfram.com/groups/-/m/t/90931 Following their instruction, it is possible to access methods using Methods[] which returns a list of classes and methods. It is possible to follow the inheritance using this: ...


4

I solved the connection problem I was having by adding InstallJava to the code written on the afore mentioned web site. I am not sure why ReinstallJava did not work on its own without having to use InstallJava too. Run this code first (straight out of the Wolfram website): Needs["JLink`"]; ReinstallJava[CommandLine -> "java", JVMArguments -> ...


4

Aside from SystemInformation[], one can get controller device information from ControllerInformation. Here is a shot of my laptop's devices with one of the panels open. ControllerInformation[] The OP might consider including such an image in the question, since it appears from a comment that User18's setup behaves differently.


4

It can be detected but I'm not sure if this helps or not for setting custom shortcuts. To see this evaluate SystemInformation[], select the Devices tab in the dynamic panel that appears and open the appropriate Controller Device > Wolfram Language Controls. You'll see a list of the axes and buttons known for the device and their current values. The middle ...


3

In the meantime I was able to set up a connection between WL/MMA and my EV3. It was (at the end) very simple, but since I don't know anything about Serial Communications I had to figure out a few things. In fact, only one line was necessary to set up the connection: dev = DeviceOpen["Serial", "/dev/tty.EV3-SerialPort"] I will report later on on further ...


3

On Windows 7, neither SystemInformation[] nor ControllerInformation[] shows the mouse buttons.


3

Windows Idea copied from here. On the volume tray icon, right click and select "Recording Devices" Be sure that disabled devices are listed. Tick "Show Disabled Devices" You may have a device called "Stereo Mix" , "What U Hear" or "Rec. Playback". Enable the device if it is disabled. Now check that is listed in $AudioInputDevices, and notice the position ...


3

Using mouseMove from the answer Silvia linked to in her comment: Needs["JLink`"] ReinstallJava[] robotclass = JavaNew["java.awt.Robot"]; DynamicModule[{mousePosG = {0, 0}, mousePosS, screenPos}, Column[{ MouseAppearance[ Panel[ Graphics[ Disk[Dynamic[ mousePosS = MousePosition[{"ScreenAbsolute", Graphics}, mousePosS]; ...


2

Assuming, from the syntax, that you are on a Windows PC. I can't remember where I saw this, but i had similar issue with my Arduino and resolved it by referring to the port in the following manner: dev = DeviceOpen["Serial", "\\.\\COM11"]; DeviceWrite[dev, 1]; (* Code to read the data stream... *) DeviceClose[dev]; Please note the whacky ...


2

Since version 5, WRI has provided a French Language Kit for Mathematica. This is an add-on which adds French documentation, user interface, and spell checking. If you download and install the linked package, you should be able to set Mathematica to use French in the Preferences dialog. Additionally, make sure your keyboard layout is set to the use the ...


2

Difficult question to answer, because it's impossible to verify any proposed solution. I can merely guess what the problem is: I don't think that BaudRate should be specified in the Arduino code. I'd write: DeviceOpen["Arduino", {"COM3", "BaudRate" -> 38400}] Your setupScale()-function is in fact never executed. It's prepended to the Arduino sketch but ...


1

The problem is with the location of the Now() function. This inserts a Wolfram Language object (the date object) inside the rawReadings list. But the list is further process by parsedata which handles the elements as been ASCii coded intergers. the solution is to extract and remove the date object from the rawReadings list to a separate list (dates1). ...


1

Here's a way to kill the GUI: AudioCapture["UseGUI" -> False, MaxDuration -> 1] I found this by digging. You can also use these: Audio`CaptureDump`AudioCaptureHiddenOptions // Options {"UseGUI" -> True, AudioDevice -> Automatic} And then I can do things like: Table[ AudioCapture["UseGUI" -> False, MaxDuration -> 1], {5} ]


1

Mac OS Install SoX (the Swiss Army knife of sound processing programs.) brew install sox Install Loopback (Route audio between applications on your Mac.) https://rogueamoeba.com/loopback/ Create a virtual audio input device which routes the audio from Safari as input.(Don't forget to tick the checkbox to activate it) Select the virtual audio input ...


1

You will not be able to identify the other pins with current Mathematica (currently 11.3) . Currently, Mathematica has not updated to FIRMATA version which limits reading pins available in UNO. I have also addressed this issue several times. Everything points to that Wolfram has choosen to concentrate in the Raspberry Pi integration. If you looking to ...


1

I had the same problem when I bought a RPI 3 Model B with a SenseHat a few months ago. Unfortunately none of the proposed solutions I found helped. However upgrading to Mathematica 11.2, which was released about two weeks ago, solved it for me. Try sudo apt-get update && sudo apt-get upgrade wolfram-engine, then open Mathematica and run DeviceOpen["...


Only top voted, non community-wiki answers of a minimum length are eligible