Giter Site home page Giter Site logo

cedvict / arduino Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hiveeyes/arduino

0.0 2.0 0.0 1.18 MB

Arduino-compatible MCU code for sensor and telemetry nodes.

Home Page: https://hiveeyes.org/docs/arduino/

License: GNU General Public License v3.0

Makefile 21.53% C++ 73.32% C 4.43% Shell 0.52% Processing 0.20%

arduino's Introduction

README


Tip

You might want to continue reading on our documentation space, all inline links will be working there.

Introduction

This is the documentation for the Hiveeyes Arduino repository of the Hiveeyes project, a beehive monitoring system. Enjoy reading!

All Arduino Core based firmware source code is living here. We support different hardware, so there are different flavors of the firmware, reflected by the directory naming convention <purpose>-<transport>-<protocol>. There are firmwares for ATmega328 and ESP8266 MCUs.

  • purpose role name, either node or gateway
  • transport name of the physical transport mechanism, e.g. rfm69, gprs or wifi.
  • protocol name of the transmission protocol, e.g. beradio, mqtt, http or any.

Most programs use Arduino-Makefile for building while there are still some based on Ino.

Setup

bash

Source code

Get source code with all dependency libraries and tools:

git clone --recursive https://github.com/hiveeyes/arduino

Toolchain

Arduino IDE

If you want to use the Arduino IDE, you have to install all necessary libraries manually. The sources of the libraries can be found in the header of each sketch (.ino). In this case, copy the desired sketch into your Arduino IDE and pick the appropriate libraries from the libraries/ folder.

Debian packages

apt-get install arduino-core

Archlinux packages

  • aur/arduino 1:1.6.8
  • community/avr-libc

Operate

For operative tasks like compiling, Arduino-Makefile is in the loop.

Compile

cd node-gprs-any
make --file Makefile-Linux.mk

After a successful build, find the firmware at bin/node-gprs-any/pro328/node-gprs-any.hex.

Upload to MCU

To build a firmware hex file, upload it to the MCU and finally start a serial port monitor, do:

cd generic

# Prepare appropriate Makefile (use Makefile-OSX.mk on OSX)
ln -s Makefile-Linux.mk Makefile

# Compile and upload to chip
make upload

# Run serial port monitor
make monitor

arduino's People

Contributors

amotl avatar einsiedlerkrebs avatar gulaschcowboy avatar thiasb avatar bee-mois avatar

Watchers

James Cloos avatar  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.