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
0
votes
1 answer

Outputting analog pins from A0 to A5 from Processing

I'm a newcomer to Arduino, and I'm trying to use Processing to control my Arduino Uno board relying on Firmata library. However after quick test, I can't seem to be able to light up my LED when using analog pins from A0 to A5, while it works without…
sub_o
  • 2,642
  • 5
  • 28
  • 41
0
votes
3 answers

SerialPortEventListener Implementation

I am playing with the Firmata protocol which allows you to control Arduino through a serial protocol. I am reading sensor values using SerialPortEventListener listening for DATA_AVAILABLE event. But i notice a lot of latency it takes a second for…
Hamza Yerlikaya
  • 49,047
  • 44
  • 147
  • 241
0
votes
1 answer

Trouble compiling undefined reference libfirmataplus

I've downloaded in installed libfirmataplus on my ubuntu but I can't compile with it: g++ -I/usr/local/include/firmataplus/ Servo.cpp -larduino -lfirmataplus -lfirmataplus_servo Unforunately the error doesn't come from my code ut from the library…
GrandMarquis
  • 1,913
  • 1
  • 18
  • 30
0
votes
1 answer

Firmata servo control

I am stuck on my project at the final part which is controlling a servo by reading xml feed and depending on the values it should turn several degrees. I am using a weather xml feed by yahoo which shows different wind speed attributes as speed,…
0
votes
2 answers

Processing can't find Arduino?

I'm using the Arduino library in Processing. But none of the example sketches are working. I've tried changing the serial port using Arduino.list[0] and Arduino.list[1]. If I choose any higher number it throws an error, so I assume it only sees two…
rob-gordon
  • 1,419
  • 3
  • 20
  • 38
-1
votes
1 answer

arduino reading input as "none" pyfirmata

so, i am trying to get an input from a joystick hooked upto an arduino in python and then multiplying it's input value by 1023, but every time i try to multiply the input, the arduino returns the value of x and y as None, but as soon as i get rid of…
pert
  • 65
  • 7
-1
votes
1 answer

Firmata protocol python arduino arduino

I tried to communicate between Arduino and python using Firmata. I am using Arduino mega and I want to write a blink program. At first, I Uploaded the standard Firmata program on my Arduino: and then I tried to run this python program: import…
-1
votes
1 answer

How do I install this library for C, linux (preferably to use in codeblocks but if not however else you do it)

https://github.com/jdourlens/FirmataC I am trying to install this to use on Linux mint, but I don't know how to install it to use. I have downloaded the files and included the headers and source files in a "project" in codeblocks, but it doesn't…
404 TNF
  • 19
  • 6
-1
votes
2 answers

Johnny-Five problems with Node.js

I'm having troubles trying to use Johnny-Five with my Arduino Mega. The main problem is that it requires Node.js and I'm following the really easy instructions from this link, but typing node blink.js in the terminal it throw me an error like…
-2
votes
2 answers

Exception in Tkinter callback

I wrote a code to read an analog value from my arduino and monitor the results in a simple Python application, but when I hit the button "start" in my app, this error appeared: Exception in Tkinter callback Traceback (most recent call last) and the…
Hamza Boughraira
  • 75
  • 2
  • 2
  • 7
1 2 3 4
5