|
| 1 | +# Standard Firmata - Networking |
1 | 2 |
|
2 | | -# StandardFirmata - Ethernet |
| 3 | +Deploy Standard Firamta which uses a networking stream instead of the serial port. |
3 | 4 |
|
4 | | -This firmware provides the StandardFirmata protocol over tcp via Ethernet. The socket is available on port 5000. |
5 | 5 |
|
6 | | -Currently, the ip address is hardcoded to `192.168.2.100`. This can be changed, or DHCP can be enabled by uncommenting out the line: |
| 6 | +## Installation |
7 | 7 |
|
8 | | -``` |
9 | | -//#define DHCP 1 |
10 | | -``` |
| 8 | +1. Install [PlatformIO](http://platformio.org/) |
| 9 | +2. Build and upload to your device |
| 10 | + |
| 11 | + ``` |
| 12 | + platformio run --target upload |
| 13 | + ``` |
11 | 14 |
|
12 | | -It has been tested with an Arduino Uno and the [Ethernet Shield](http://arduino.cc/en/Main/ArduinoEthernetShield). |
13 | | - |
14 | | -See [here](http://firmata.org) find more information about Firmata. |
15 | | - |
16 | | -## How to install and use |
17 | | - |
18 | | -The full procedure is detailed in [INSTALL.md](./INSTALL.md). |
19 | | - |
20 | | -## Credits |
21 | | - |
22 | | -Started from the foundation of [Bare-Arduino-Project](https://github.com/WeAreLeka/Bare-Arduino-Project) |
23 | | - |
24 | | -Inspiration and a bit of code (EthernetStream in particular) from [ArduinoCommander-ethernet](https://github.com/4ntoine/ArduinoCommander-ethernet) |
25 | | - |
26 | | -##Copyright and License |
27 | | - |
28 | | -``` |
29 | | -The MIT License (MIT) |
30 | | -
|
31 | | -Copyright (c) 2014 Peter Schwarz |
32 | | -
|
33 | | -Permission is hereby granted, free of charge, to any person obtaining a copy |
34 | | -of this software and associated documentation files (the "Software"), to deal |
35 | | -in the Software without restriction, including without limitation the rights |
36 | | -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
37 | | -copies of the Software, and to permit persons to whom the Software is |
38 | | -furnished to do so, subject to the following conditions: |
39 | | -
|
40 | | -The above copyright notice and this permission notice shall be included in all |
41 | | -copies or substantial portions of the Software. |
42 | | -
|
43 | | -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
44 | | -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
45 | | -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
46 | | -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
47 | | -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
48 | | -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
49 | | -SOFTWARE. |
50 | | -``` |
| 15 | +## Adding additional boards |
51 | 16 |
|
| 17 | +Currently, the build supports the Arduino Uno. If you'd like to add additional board targets, |
| 18 | +see the PlatformIO [docs](http://docs.platformio.org/en/latest/platforms/index.html) and add |
| 19 | +add your board. |
0 commit comments