Questions tagged [firmata]

a protocol for communicating with micro-controllers from a host computer

Firmata is a generic protocol for host to micro-controller communications. It is frequently used to interface sensors and outputs attached to an Arduino to graphical programming systems, DAQ applications and other programming languages.

70 questions
2
votes
1 answer

Adding a delayMicroseconds function to the standard firmata for running Arduino with Processing

I'm using the standard firmata to interface with Java Processing and run an arduino project. The Arduino class used to interface processing with java does not have a method for delayMicroseconds or any other delay on the arduino board. In most…
user3339232
  • 93
  • 1
  • 3
1
vote
1 answer

Tkinter Checkbutton not updating for LED light control with PyMata

Trying to get my GUI to communicate with PyMata to turn an LED off and on based on the check button. The wiring and PyMata code is fine since I can get the LED to blink off and on again but I cant get the LED to turn off or on based on the…
Theta
  • 53
  • 7
1
vote
1 answer

"GeorgeNotFound" 's MinecraftShocker plugin if you have this error: jSSC-2.8_x86_64.dll+0xb5db, how to fix

Currently I am trying to copy "GeorgeNotFound" 's MinecraftShocker plugin from his Video (https://youtu.be/rCyJ-TFFxWA) but i am getting this error which means no Arduino is found right? I already checked the Arduino Uno is connected to "COM3" and I…
1
vote
0 answers

How to make both the GUI and the while loop containing button switch connected through Arduino Uno work Simultaneously

I wrote a code for an app which will directly compare images and give output using Pyside2. The output will be displayed in the GUI as well as in LED connected through Arduino Uno using Pyfirmata. Now, I want my program to be executed in both…
Reva S
  • 11
  • 1
1
vote
1 answer

Python: Need to call an API without interrupting loop

I have a program I wrote in Python that uses the Spotipy library to call the Spotify API to get the user's currently playing song and the tempo of the song in question. It then uses that information, a serial connection, and an Arduino to run some…
eboyce452
  • 11
  • 2
1
vote
1 answer

How to translate arduino code to python pyfirmata?

I want to translate this Arduino code, to python code using pyfirmata. How can I do that? int sw = 0; void setup() { // put your setup code here, to run once: pinMode(2, INPUT); pinMode(6, OUTPUT); } void loop() { // put your main code…
1
vote
0 answers

Failed installing firmata-party globally with npm on Mac

I've run the following command to install the library but I get always several errors which I'm trying to solve. npm install -g firmata-party i always get errors and the package doesn't get installed. I've even uninstalled nodes.js and npm but the…
matt
  • 11
  • 2
1
vote
2 answers

While loop not working immediately while reading from a Sensor without printing the read from the sensor?

I am attempting to read multiple Reflective IR Sensors continuously until each one is blocked. I am using an Arduino running Standard Firmata and Pythons Pyfirmata library. Every time I try a standard read without printing the result in a while loop…
1
vote
0 answers

Windows Remote Arduino StringMessageReceived Event

Alright, I'm tired of googling. So I am working on a project which utilizes Windows Remote Arduino. I'm just starting so I am in the "just hack it together stage." The arduino is running standard firmata and I'm calling a sysex function which…
bjbowen4
  • 11
  • 1
1
vote
1 answer

InvalidPinDefError at the moment of definition the pins

I'm trying to use pyfirmata to send and receive data between Arduino Uno R3 and my python program. At Arduino installed StandartFirmata sketch. Code is: from time import sleep import serial import pyfirmata com_port_number = str(int(input('Введите…
Lomil
  • 33
  • 4
1
vote
1 answer

Problems connecting to nodemcu via johnny-five

I'm really having trouble connecting to my ESP8266. I was working with this setup for long time now and I didn't have to flash my boards. Now after having to use a different wifi i needed to flash the board. After doing the following Updating to…
relief.melone
  • 3,042
  • 1
  • 28
  • 57
1
vote
1 answer

DHT11 + Arduino UNO + Raspberry pi3 + Windows Remote Arduino

I need to read with C# UWP App, a DHT11/DHT22 sensor to get temperature and the arduino is conected to an Arduino UNO. Can I use "digitalRead" at sensor PIN and converte the values using C# library 'sensors.dht'? Or I need to change the…
1
vote
0 answers

Johnny Five - Circuit Playground: Button 4 and Sound Sensor don't work simultaneously

I've been trying to get all of Adafruit Circuit Playground's sensors to work with the Johnny-Five node.js library and Firmata. However, when I try using its sound sensor, Button 4 stops responding. That is, in every code snippet I make, whenver I…
1
vote
0 answers

Python 3 Pyfirmata timesleep issue

I have a question regarding the Python3 time sleep() function. My set up is consisted of the Arduino UNO running Firmata firmware and a PC/laptop running python code using pyfirmata library. What I am trying to do is to analog write to a PWM pin…
Iker Hua
  • 403
  • 4
  • 14
1
vote
0 answers

Pubnub and arduino with ultrasonic sensor

I want to upload my 4 sensor readings on pubnub on a gauge chart. I am using arduino uno and ultra-sonic sensor HC-SR04. I am following this link https://www.pubnub.com/blog/2015-10-05-streaming-sensor-readings-realtime-gauge-chart/ pubnub exactly…
Maryam
  • 41
  • 1
  • 2
  • 9