Skip to main content
firmata

Using firmata to share data between Arduino and Raspberry Pi

How to use firmata protocol to control Arduino Servos for showing Raspberry Pi generated data.

Raspberry Pi and Arduino connected by firmata
Raspberry Pi and Arduino connected by firmata

With this setup you can use Arduino servo as indicator of the amount of light recived by a photoresistor connected to Raspberry Pi board.

Light meter using firmata

Some resources to install and test firmata:

http://binefa.cat/blog/?p=102

In this video you can see how the Arduino light meter servo changes as Raspberry Pi photoresistor gets the data and firmata sends it to Arduino Micro via USB:

2 thoughts to “Using firmata to share data between Arduino and Raspberry Pi”

Leave a Reply

%d bloggers like this: