Questions tagged [firmata]

Firmata is a protocol for communicating with micro-controllers from software on a host computer

Filter by
Sorted by
Tagged with
0 votes
1 answer
286 views

How to sue Arduino Nano to control Stepper motor with Firmata

I have a stepper motor and at present it is controlled by a sketch all working fine. I need now to add it to a Win32 app to control it in circuit with existing Servo Motor. The servo Motor is working ...
1 vote
2 answers
211 views

Firmata.SendString doesn't work with specific `char` variables

I have a Firmata sketch, that accepts string messages, partitions them and sends its' parts back to a Firmata client program. My problem is certainly at the sketch's side. The problem is that Firmata....
  • 153
2 votes
3 answers
226 views

Firmata: strings sent from the computer become damaged after Arduino

I have a Python program that acts as a Firmata client. This program connects to the Arduino at a user-specified COM-port (with Firmata onboard, the sketch can be seen below), sends the user-requested ...
  • 153
1 vote
0 answers
83 views

Connect and detect multiple arduinos using firmata

i am trying to connect several arduinos to usb ports and have the abillity to define between them. i added Firmata.attach function on the arduino board. how do i call it from my python script? thank ...
1 vote
0 answers
242 views

Arduino Nano 33 IoT StandardFirmataPlus

newbie here. So I've been trying to upload StandardFirmataPlus into my Arduino Nano 33 IoT so that I can program in Johnny-Five. However I have this issue. I've checked that my port is connected and ...
0 votes
1 answer
1k views

digital input pins on arduino nano with standard firmata and pyfirmata are always 'None'

I have connected pin D2 on my arduino nano to high, and tried it out with an arduino c program and it works. However, when I load standard firmata onto the the controller from the arduino IDE and try ...
1 vote
0 answers
45 views

Setup Firmata for PC-less usage

I want to use an Arduino Uno with Firmata as a standalone datalogger for recording analog signals. I will use power banks to power the Arduino. How is it possible to setup Firmata pins once with PC ...
  • 11
1 vote
1 answer
423 views

How to work with analog readings using RPi and Firmata?

For context: I'm working on a project where I need to use sensors to figure out the current state of the environment. This process is done using an Arduino UNO and a RPi. The easiest way that I found ...
  • 113
2 votes
2 answers
2k views

Firmata: how to set a particular pin to high on boot?

I'm working on a project that use J5, so is using the standard firmata, this project is using an opto 4 channel relay, when the board is booting the pins state are set to low, so as soon as I power ...
  • 233
1 vote
1 answer
1k views

Actual baud rate of UNO R3 Firmata protocol

Probably a silly question. But the Internet is confusing me. The Firmata website says the default baud rate is 57600. But AFAIK, the baud rate set for UNO R3 is 9600(In Windows device manager, it say ...
2 votes
2 answers
981 views

Interface with mux-controlled LED rope

I'm working on using a GUI in Processing to control some LED rope from Adafruit, and using this multiplexer. I've gotten the following Arduino code working the way I want to cycle through the various ...
  • 266
1 vote
1 answer
1k views

Firmata C++ library for host?

Firmata seems to be a popular protocol for communicating between the Arduino and host computer. However, there only seems to be C/C++ libraries for the Arduino. Most Firmata libraries for the host ...
  • 1,527
3 votes
1 answer
1k views

Read/write data from 2 Arduinos simultaneously with Python

So for my project I have one Arduino Mega hooked up with a quadrature rotary encoder which is connected to the computer. An Arduino Uno is connected to a circuit I built, which in turn is connected to ...
  • 31
1 vote
1 answer
695 views

Can you save data to EEPROM using firmata?

I have a few Arduino boards connected to my computer running firmata and I want the computer to be able to differentiate between them even when I unplug them and plug them back into a different USB ...
0 votes
1 answer
2k views

Reading digital port with pullup via Firmata

I've got a weird issue, probably something I'm missing but have no clue what. Got some simple float sensors connected to D2 - D5 on a Nano. Need internal pull-up to eliminate a floating value. Wrote ...
  • 115
1 vote
2 answers
1k views

Getting Firmata to control WS2801 LEDs

I am trying to control a strip of WS2801 LEDs through an arduino uno running firmata from Python on my laptop. I've written some basic code based on adafruit's library here (from line 187): from ...
1 vote
1 answer
937 views

Issue in installing Arduino unit library and running with Firmata test application

I am trying to update the Arduino library via the library manager and I tried to download it from the link given in the firmata_test program: WARNING: Category '' in library ArduinoUnit is not ...
12 votes
1 answer
3k views

Update Dynamically Tkinter Widget Scale from Arduino Ports using python and firmata

I'm having trouble trying to get Arduino digital ports values and set these values into a Python Tkinter Widget Scale. I'm using Python and Arduino with Firmata. I'm able to access my arduino board ...
2 votes
2 answers
1k views

Example code and documentation on using Firmata communication in native Java

I have been trying for some time to get documentation on using Java and a Firmata client library for the communication between a PC and an Arduino. Please note I want to use Java only, i.e., not ...
  • 181