PHPackages                             carica/firmata - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. carica/firmata

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

carica/firmata
==============

Firmata client library

1.1.0(6y ago)5461611[1 issues](https://github.com/ThomasWeinert/carica-firmata/issues)2MITPHPPHP &gt;=7.1

Since Mar 3Pushed 6y ago3 watchersCompare

[ Source](https://github.com/ThomasWeinert/carica-firmata)[ Packagist](https://packagist.org/packages/carica/firmata)[ Docs](https://github.com/ThomasWeinert/carica-firmata)[ RSS](/packages/carica-firmata/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (2)

Carica Firmata
==============

[](#carica-firmata)

[![Build Status](https://camo.githubusercontent.com/b2002821679596b1d956b88d6c19f153962eea825def50e034f69d57c0da3ccc/68747470733a2f2f7472617669732d63692e6f72672f54686f6d61735765696e6572742f6361726963612d6669726d6174612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ThomasWeinert/carica-firmata)[![License](https://camo.githubusercontent.com/9f1c8a56e1067556344a0166a29e663b0646a2ec24be605ab4f377b8f789a6c5/68747470733a2f2f706f7365722e707567782e6f72672f6361726963612f6669726d6174612f6c6963656e73652e737667)](https://packagist.org/packages/carica/firmata)[![Total Downloads](https://camo.githubusercontent.com/f4780b83dfd3f37434e3847a7c7d753b0dfd417185c7d7b7b7f27e7ca59c8ccb/68747470733a2f2f706f7365722e707567782e6f72672f6361726963612f6669726d6174612f646f776e6c6f6164732e737667)](https://packagist.org/packages/carica/firmata)[![Latest Stable Version](https://camo.githubusercontent.com/c2d75ddf7a19ac43a87d26985b7d5104e650da6cbf8efacbd82acba2ce418078/68747470733a2f2f706f7365722e707567782e6f72672f6361726963612f6669726d6174612f762f737461626c652e737667)](https://packagist.org/packages/carica/firmata)[![Latest Unstable Version](https://camo.githubusercontent.com/79df36890506a36f0cd50b226b64e366e0e3f88dfe9b9f04b852d1a7595c538c/68747470733a2f2f706f7365722e707567782e6f72672f6361726963612f6669726d6174612f762f756e737461626c652e737667)](https://packagist.org/packages/carica/firmata)

License: [The MIT License](http://www.opensource.org/licenses/mit-license.php)

Copyright: 2013-2018 Thomas Weinert

Carica Firmata is a PHP client library for the Firmata protocol.

***It's a learning project not a product. Use it at your own risk.***

[!\[Gitter\](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/ThomasWeinert/carica-chip)

Basics
------

[](#basics)

The repository provides a library to control an Arduino using the Firmata server sketch.

It was originally based on the [Javascript implementation](https://github.com/jgautier/firmata) by Julian Gautier.

Dependencies
------------

[](#dependencies)

Carica Firmata uses Carica Io a non blocking I/O library for PHP. At least PHP 5.4 is needed. On Windows, [Serproxy](http://www.lspace.nildram.co.uk/freeware.html) should be used to map serial ports to tcp.

Installation
------------

[](#installation)

Carica Firmata is available on [Packagist](https://packagist.org/packages/carica/firmata). Use Composer to add it as an dependency into your own projects.

Carica\\Firmata\\Pin
--------------------

[](#caricafirmatapin)

Carica Firmata provides an OOP abstraction for the pins on an Arduino. Values are stored and only send to the board if changed. The values can be changed using different properties.

- $pin-&gt;value is the original, internal value, the maximum value depends on the resolution of the mode.
- $pin-&gt;digital is a boolean value and sets the pin to low/high
- $pin-&gt;analog is a float between 0 and 1, the need value is calculated internally using the resolution of the current mode.

It is suggested to use the digital/analog properties to support different resolutions.

Carica Chip
-----------

[](#carica-chip)

Carica Chip uses this project and provides device objects like a led or a motor. Take a look at:

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~572 days

Total

2

Last Release

2468d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/236825?v=4)[Thomas Weinert](/maintainers/ThomasWeinert)[@ThomasWeinert](https://github.com/ThomasWeinert)

---

Top Contributors

[![ThomasWeinert](https://avatars.githubusercontent.com/u/236825?v=4)](https://github.com/ThomasWeinert "ThomasWeinert (218 commits)")[![iMartyn](https://avatars.githubusercontent.com/u/962908?v=4)](https://github.com/iMartyn "iMartyn (2 commits)")[![chellem](https://avatars.githubusercontent.com/u/570856?v=4)](https://github.com/chellem "chellem (1 commits)")

---

Tags

arduinofirmata

### Embed Badge

![Health badge](/badges/carica-firmata/health.svg)

```
[![Health](https://phpackages.com/badges/carica-firmata/health.svg)](https://phpackages.com/packages/carica-firmata)
```

###  Alternatives

[utopia-php/messaging

A simple, light and advanced PHP messaging library

23217.8k5](/packages/utopia-php-messaging)[stellarwp/admin-notices

A handy package for easily displaying admin notices in WordPress with simple to complex visibility conditions

12661.4k](/packages/stellarwp-admin-notices)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
