Giter VIP home page Giter VIP logo

serialprotocol_eb_tester's Introduction

Satus and ToDo

Arduino Serial Protocol

ArduinoSerialProtocol is a protocol for sending data between two Arduino and/or Raspberry PI devices over serial.

Message structure

  • Message start marker: 1 byte
  • Message size: 1 byte
  • Payload (message body): variable number of bytes (max 255)
  • Checksum: 1 byte

Total message size (bytes): Payload + 3

Install Arduino Libraries

  1. Download the Repository as a .zip file.
  2. In Arduino IDE, go to Sketch> Include Library> Add .zip Library.
  3. Select the Downloaded .zip File.

Examples

Arduino Instructions

Open the arduino_app in the Arduino IDE and upload to your Arduino.

Raspberry Pi Instructions

  1. Clone this repository and navigate to the SerialProtocol/extras/raspberry_app folder.
  2. Make the file raspberry_app.cpp
  3. Run the new file. You should see the two devices exchanging a data structure with different numeric types.

Acknowledgements

SerialProtocol is inspired by Arduino-EasyTransfer. It brings a few improvements (over v2.1):

  • The start marker (header) is one byte shorter
  • A detailed error code is given in case of communication failures

License

Copyright Victor Hurdugaci. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

Contributors

Victor Hurdugaci

James Head

serialprotocol_eb_tester's People

Contributors

ekran avatar per1234 avatar victorhurdugaci avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.