Questions tagged [firmata]
Firmata is a protocol for communicating with micro-controllers from software on a host computer
24 questions
2
votes
2
answers
768
views
How can I stop digital pins from floating at reboot?
I've got a LattePanda 3 Delta, which runs windows on its main processor and an Arduino sketch called StandardFirmata on its coprocessor. It's connected to a lock, which locks at HIGH and unlocks at ...
0
votes
1
answer
46
views
How do I install Firmata so I can access it through the IDE on a computer that doesn't have internet access?
I recently installed arduino 2.3.2 IDE on to a computer without internet access, however, the Firmata library I had been using on the original computer which was the one I transferred the arduino15 ...
1
vote
1
answer
76
views
Arduino board with StandardFirmata doesn't respond to C# and Python client
I have a Seeeduino XIAO board with Firmata running on it. I'm currently trying to write C# client to communicate with this board.
I have tried using Iot.Device.Arduino, SolidSolis.Arduino and ...
0
votes
1
answer
73
views
Diecimila with firmata standard not working
Hi would like to use an old Diecimila with home-assistant, and that seems to imply installing firmata-standard.
That fails since there is not enough space on the board.
Is there a workaround (I only ...
2
votes
1
answer
171
views
Connecting Arduino Mega 2560 to Python with PyFirmata
I am currently controlling two servos using the Arduino IDE, but now need to integrate my Arduino code into a Python script. I read about how to use PyFirmata and went through the process of uploading ...
1
vote
1
answer
514
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
346
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....
2
votes
3
answers
436
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 ...
1
vote
0
answers
177
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
359
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
2k
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
55
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 ...
1
vote
1
answer
543
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 ...
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 ...
1
vote
1
answer
2k
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
1k
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 ...
1
vote
1
answer
2k
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 ...
3
votes
1
answer
2k
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 ...
1
vote
1
answer
788
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 ...
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
1k
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 ...