Access GPIO of Arduino from RaspberryPi using Firmata & JAVA

Access GPIO of Arduino from RaspberryPi using Firmata & JAVA © MPL-2.0

Access GPIO of Arduino from RPi using Firmata & JAVA over USB (Serial).

  • 760 views
  • 0 comments
  • 2 respects

Components and supplies

Apps and online services

Eclipse

About this project

Background

Firmata is a protocol that is used to communicate with microcontrollers from any tablet/pc over the serial interface. There are implementations of Firmata for many other platforms too, along with Arduino. You can find support for Firmata if you are using any Arduino IDE released after 2008. Use of Firmata lets you access GPIO of Arduino from any host device natively without uploading the sketch each time you change the sketch. You can use Arduino as ADC for your Pi as it doesn't have native ADC pins, you can also interface a whole lot of sensors by the additional GPIO that you will get after connecting the Arduino which eliminates uses of the port expander and ADC ICs to be interfaced with Pi. In this video, I have shown a basic example of blinking the onboard LED of Arduino from Raspberry Pi by using JAVA and for this, we are going to use the firmata4j library.

Catch Me On:

Comments

Similar projects you might like

Security Access Using RFID Reader

by Aritro Mukherjee

  • 261,124 views
  • 42 comments
  • 284 respects

Access Control with Arduino

Project in progress by Gedeane Kenshima

  • 18,637 views
  • 4 comments
  • 16 respects

Iono access control

Project tutorial by Team sferalabs

  • 6,172 views
  • 3 comments
  • 14 respects

RPi GPIO Programming Using Arduino Web IDE

by WGLabz

  • 3,060 views
  • 1 comment
  • 9 respects

Home Smart Home

Project tutorial by Syed Sanoor

  • 68,543 views
  • 10 comments
  • 193 respects
Add projectSign up / Login